Re: git: 225639e7db68 - main - vt: Disable bell by default

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Fri, 22 Oct 2021 17:17:39 UTC
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