From nobody Fri Oct 22 17:17:39 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8DB031812E9D; Fri, 22 Oct 2021 17:17:40 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HbWJ422Gjz4r0v; Fri, 22 Oct 2021 17:17:40 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.16.1/8.16.1) with ESMTPS id 19MHHdlW005958 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 22 Oct 2021 10:17:39 -0700 (PDT) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.16.1/8.16.1/Submit) id 19MHHdP8005957; Fri, 22 Oct 2021 10:17:39 -0700 (PDT) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Fri, 22 Oct 2021 10:17:39 -0700 From: Gleb Smirnoff To: Jung-uk Kim Cc: gljennjohn@gmail.com, Slawa Olhovchenkov , Emmanuel Vadot , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 225639e7db68 - main - vt: Disable bell by default Message-ID: References: <202110190738.19J7cFtw067994@gitrepo.freebsd.org> <20211019112132.GC80160@zxy.spb.ru> <20211019133700.77c0ca7ac488eb99df50551b@bidouilliste.com> <20211020095206.GA77338@zxy.spb.ru> <20211020134237.17596440e1fabda5d40f6985@bidouilliste.com> <20211021080214.GB77338@zxy.spb.ru> <20211021192020.6dcb95c1@ernst.home> <23455738-85b6-604d-de67-157474811248@FreeBSD.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23455738-85b6-604d-de67-157474811248@FreeBSD.org> X-Rspamd-Queue-Id: 4HbWJ422Gjz4r0v X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Oct 21, 2021 at 01:56:32PM -0400, Jung-uk Kim wrote: J> >> S> This is completly disable speaker bell. J> >> J> >> Are you sure? I haven't yet upgraded my desktop to this point, so can't test. J> >> How is that possible that vt(4) affects X11? J> > J> > He could be right. I don't use vt, but syscons also has a bell setting: J> > sysctl -d hw.syscons.bell hw.syscons.bell: enable bell J> > J> > With this set to 1 a ^G in xterm results in a beep. After setting the J> > sysctl to 0 a ^G in xterm produces no sound at all. J> J> FYI, Xorg server beeps via xf86OSRingBell(), i.e., J> J> https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/os-support/bsd/bsd_bell.c#L61 J> J> IOW, if console cannot beep, xterm does not beep. Oh! Thanks for explanation! -- Gleb Smirnoff