Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Eric Blake <ebb9@byu.net>
Subject:  Re: Bash 3.00.16(7), paste-from-clipboard binding reset after command  execution
Date: Fri, 5 Aug 2005 16:09:42 +0000 (UTC)
Lines: 22
Message-ID:  <loom.20050805T175915-35@post.gmane.org>
References:  <20050805123732.2443.qmail@web33409.mail.mud.yahoo.com> <42F3650B.4030306@byu.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Eric Blake <ebb9 <at> byu.net> writes:

> 
> As to whether readline should be prefering your stty settings over your
> .inputrc, I will have to do more investigation.

I reported this upstream, and received this response: 
http://article.gmane.org/gmane.comp.shells.bash.bugs/8315

Basically, ~/.inputrc settings are parsed only once, while stty settings are 
ignored in readline 4.x, reparsed for every command (thus overriding 
~/.inputrc) in readline 5.0, and user-settable in the upcoming readline 5.1 
whether stty settings are reparsed or ignored for every command.  Readline 5.1 
is still in alpha, and while I have tried building it for cygwin, I have yet to 
work out all the bugs.  So until then, if you want ~/.inputrc to change the 
default meaning of a character that is also assigned to a terminal function 
(check "stty -a" for those characters), you have to make stty and ~/.inputrc 
agree on what the key will do.

--
Eric Blake



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

