Subject: Re: bell in libedit
To: Jaromír Dolecek <dolecek@ics.muni.cz>
From: Chris G. Demetriou <cgd@sibyte.com>
List: source-changes
Date: 01/03/2001 12:46:14
dolecek@ics.muni.cz (Jaromír Dolecek) writes:
> matthew green wrote:
> >    
> >    Modified Files:
> >    	basesrc/lib/libedit: term.c
> >    
> >    Log Message:
> >    term_beep(): if terminal supports both visual and ordinary bell, 'ring' both
> > 
> > 
> > are you sure this is the right thing to do?  i *definately* don't want libedit
> > to flash my screen as well as ringing the bell...
> 
> I definitely don't want just the visual bell, on the other end and I think
> that 'ringing' both is the right thing. I was always wandering why
> libedit doesn't ring sound bell and just flashes screen.
> 
> Also, readline uses ordinary bell only, so there is change in functionality
> if one uses editline with readline compatibility.

Why use both?  i.e. if user has selected visual bell on their terminal
(if it supports it) it should be used via control-G, else why not just
give them the real bell.

Use of the 'vb' termcap attribute is going to cause additional
problems along the lines of those outlined in PR# 11882, as long as
'vb' continues to be broken...


cgd