Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <42F3650B.4030306@byu.net> Date: Fri, 05 Aug 2005 07:09:31 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: zango CC: cygwin AT cygwin DOT com Subject: Re: Bash 3.00.16(7), paste-from-clipboard binding reset after command execution References: <20050805123732 DOT 2443 DOT qmail AT web33409 DOT mail DOT mud DOT yahoo DOT com> In-Reply-To: <20050805123732.2443.qmail@web33409.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC82UL84KuGfSFAYARAoRgAKDCBcADgLTDVSc7U3wOR0j75/63NACfbWCU ttaTTp95EiKdAK4HiIQmYO4= =dv19 -----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/