delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/16/09:56:26

From: ericblake AT comcast DOT net (Eric Blake)
To: cygwin AT cygwin DOT com
Subject: Re: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt
Date: Wed, 16 Nov 2005 14:56:18 +0000
Message-Id: <111620051456.8159.437B4891000F34BD00001FDF22069984990A050E040D0C079D0A@comcast.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

> Now, interestingly enough, a lone 'B' in .inputrc doesn't produce any key
> binding that could be found in the "bind" output (with all the flags I
> tried).  How would I figure out that 'B' is bound to "nothing", but bound
> nonetheless[*]?

bind -p lists all bindings, and every character that does not do a
special function should at least do self-insert.  If a key combination
is not bound, then it will not show up in bind -p.  Therefore, the
fact that bind -p | grep '"B"' failed to produce output is a good
indication that 'B' is not bound, and it can be rectified by:
bind B:self-insert
(where you use the key sequence [ctrl-v][shift-B] to actually
put B in the command line). 

> 	Igor
> P.S. This is a non-Cygwin-specific readline question, and perhaps
> off-topic for this list.

True, but I couldn't resist answering.

--
Eric Blake
volunteer cygwin readline maintainer



--
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