delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/19/08:26:32

X-Spam-Check-By: sourceware.org
Message-ID: <45FE8F6E.6040507@byu.net>
Date: Mon, 19 Mar 2007 07:26:06 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash still wants to beep during tab completion
References: <etm0i5$mt0$1 AT sea DOT gmane DOT org> <45FE89E6 DOT 7080205 AT byu DOT net>
In-Reply-To: <45FE89E6.7080205@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 3/19/2007 7:02 AM:
> Thanks for the report, and I'm still investigating.  But it appears you
> are using cmd.com based on $TERM=cygwin.  And in the readline source code,
> even if visible bells are requested, readline falls back on an audible
> bell if it can't figure out how to do a visible alert on your terminal.
> Therefore, my guess is that the cygwin termcap/terminfo entry lacks
> whatever string causes a visible bell (and more likely, the cygwin tty
> code lacks support for visible alerts altogether).

Sure enough:

$ infocmp -d cygwin xterm | grep flash
        flash: NULL, '\E[?5h$<100/>\E[?5l'.

ie. there is currently no visible alert support in the cygwin terminfo, so
if you don't use rxvt or xterm, 'set bell-style visible' is currently
synonymous with 'set bell-style audible', and there's nothing I can do
about it in readline.  Patches to cygwin1.dll and to the cygwin terminfo
entry are welcome, but I won't be writing them.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/o9t84KuGfSFAYARApRIAJ9HDYJvgXkRpIHy2JgVXThcDul1RwCfTfGg
396Q2PLsdQZRU5vSnENDdC8=
=iTVb
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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