From nobody Thu Oct 21 18:58:31 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 A68CD17F1473; Thu, 21 Oct 2021 18:59:17 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HZxbn3WmCz4Wtd; Thu, 21 Oct 2021 18:59:17 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from [192.168.0.30] (unknown [176.120.247.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: wulf) by smtp.freebsd.org (Postfix) with ESMTPSA id 693FB2857D; Thu, 21 Oct 2021 18:59:16 +0000 (UTC) (envelope-from wulf@FreeBSD.org) To: Gleb Smirnoff , Slawa Olhovchenkov Cc: Emmanuel Vadot , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org 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> From: Vladimir Kondratyev Subject: Re: git: 225639e7db68 - main - vt: Disable bell by default Message-ID: <99e7aecf-9ab7-8b8f-ff30-b5fce3e031c2@FreeBSD.org> Date: Thu, 21 Oct 2021 21:58:31 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-ThisMailContainsUnwantedMimeParts: N On 21.10.2021 20:03, Gleb Smirnoff wrote: > On Thu, Oct 21, 2021 at 11:02:14AM +0300, Slawa Olhovchenkov wrote: > S> > laptops. If somebody is using vt(4) instead of X on a laptop, then= > S>=20 > S> This change disable bell in X11 too. > S> This is completly disable speaker bell. > > Are you sure? I haven't yet upgraded my desktop to this point, so can't= test. > How is that possible that vt(4) affects X11? > pre-evdev X11 got keyboard input from tty subsystem and post-evdev X11 still affected by it. We have local X11 patch which disables bell on ttyv8, otherwise you'll hear annoying sound as soon as tty buffer get filled up. But you have to have custom X11 build to hear bell under X11 --=20 WBR Vladimir Kondratyev