www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/07/12:30:50

From: "Ingo Ruhnke" <grumbel AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to get a visual bell for bash and man ?
Date: Mon, 6 Apr 1998 23:59:47 +0200
Organization: Telemedia News Server
Lines: 45
Message-ID: <352a5109.0@news2.cityweb.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980405154846 DOT 5976S-100000 AT is>
NNTP-Posting-Host: demdwu38.bertelsmann.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote
>
>On Fri, 3 Apr 1998, Ingo Ruhnke wrote:
>
>> To get a visual bell for bash I should add the
>> following line to my _inputrc file:
>>
>> set bell-style visible
>>
>> But this don't work (I get a normal bell),
>
>Which version of Bash is that?  I don't see such an option in
>v1.14.7.


"bash -version" says:
        GNU bash, version 1.14.7(1) r3 w/multibyte extension

the bash man page says this:

   bell-style (audible)
        Controls what happens when readline wants to  ring  the
        terminal  bell.   If  set to none, readline never rings
        the bell.  If set to visible, readline uses  a  visible
        bell  if one is available.  If set to audible, readline
        attempts to ring the terminal's bell.

It looks like, that there is no visible-bell available, because it
works with "set bell-style none".

But in the "_inputrc" file which is distributed with "bsh1147b.zip"
are the following lines:

       set bell-style on
       set visible-stats on

Why is bell-style set to "on" and not to "visible", "audible" or "none"?
And what is this visible-stats? I couldn't find any documentation on that?

Thanks

Ingo



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019