delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/05/13:13:32

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
Message-ID: <20050805171322.5632.qmail@web33401.mail.mud.yahoo.com>
Date: Fri, 5 Aug 2005 10:13:22 -0700 (PDT)
From: zango <z_a_n_g_o AT yahoo DOT com>
Subject: Re: Bash 3.00.16(7), paste-from-clipboard binding reset after command execution
To: cygwin AT cygwin DOT com
In-Reply-To: <20050805170701.15395.qmail@web8410.mail.in.yahoo.com>
MIME-Version: 1.0

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>According to zango on 8/5/2005 6:37 AM:
>> I am seeing the same problem. I had a working
cygwin
>> installation. I downloaded a new package which
>> wouldn't work with the existing bash shell. So, I
>> updated the core libraries/bash and Control-V -
mapped
>> to "paste-from-clipboard" in my .inputrc stopped
>> working. "bind -p" now shows \C-v is mapped to
Quoted
>> Insert.
>> bind -f ~/.inputrc doesn't work either :(
>
>It has everything to do with your stty settings.  ^v
is normally mapped to
>lnext (literal next-character) on terminals, and
readline 5.0 apparently
>tries to honor your stty settings (where lnext is a
perfect match to the
>readline function quoted-insert) in preference to
your .inputrc.
>Meanwhile, emacs likes ^q as quoted-insert, although
terminals usually
>default ^q to start, start overrides lnext if both
are given the same
>character, and stop (usually ^s) without start will
let you hang a
>terminal.  So, try "stty lnext ^q stop undef start
undef" and see if that
>helps with your desired setting for ^v.
>
>As to whether readline should be prefering your stty
settings over your
>.inputrc, I will have to do more investigation.
>
>- --
>Life is short - so eat dessert first!
>
>Eric Blake             ebb9 AT byu DOT net
>volunteer cygwin bash/readline maintainer

Thanks Eric,

Now, I've added 
"stty lnext ^q stop undef start undef"
to my .bashrc and C-v works once again! :) 

Regards,
girish



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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