Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2021 19:59:29 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        rgrimes@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, 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:  <20211022195929.4e25c1d0@ernst.home>
In-Reply-To: <202110221704.19MH4FDn075994@gndrsh.dnsmgr.net>
References:  <20211021192020.6dcb95c1@ernst.home> <202110221704.19MH4FDn075994@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Oct 2021 10:04:15 -0700 (PDT)
"Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> wrote:

> > On Thu, 21 Oct 2021 10:03:05 -0700
> > Gleb Smirnoff <glebius@freebsd.org> 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> 
> > > 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?
> > >   
> > 
> > He could be right.  I don't use vt, but syscons also has a bell setting:
> > sysctl -d hw.syscons.bell hw.syscons.bell: enable bell
> > 
> > With this set to 1 a ^G in xterm results in a beep.  After setting the
> > sysctl to 0 a ^G in xterm produces no sound at all.  
> 
> I also suspect that this kills "visual bell" which is a bright
> flash of the terminal.
> 

Yes, it does.  I use mrxvt, which is set up to use a visual bell.
With the syscons bell sysctl set to 0 there's no visual bell.

As jkim@ explained in his reply, if the console can't beep then
Xorg also can't beep/flash, irregardless of whether it's vt or
syscons.

> We need to STOP these "I dont like the 20 year old defaults,
> so I am going to change them to what I like and use"  It is NOT
> forward progress on making a better system, it is tilting at
> defaults, very long established defaults, that should probably
> just be left alone.
> 
> I dont like a lot of the defaults on a lot of OS's, I tweak them
> to my needs.  FreeBSD keeps tweaking things such that I have to
> tweak my tweaks to keep things as I see fit.  THAT IS A POLA VIOLATION!
> 

-- 
Gary Jennejohn



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