Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2021 10:17:39 -0700
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        gljennjohn@gmail.com, Slawa Olhovchenkov <slw@zxy.spb.ru>, Emmanuel Vadot <manu@bidouilliste.com>, 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:  <YXLyMzmzCXUi/1zf@FreeBSD.org>
In-Reply-To: <23455738-85b6-604d-de67-157474811248@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> <YXBNqdMe2y1bJj43@FreeBSD.org> <20211021080214.GB77338@zxy.spb.ru> <YXGdSdBWvHzHqK4J@FreeBSD.org> <20211021192020.6dcb95c1@ernst.home> <23455738-85b6-604d-de67-157474811248@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YXLyMzmzCXUi/1zf>