-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE - so that others can find this information. I'm just sending this to cygwin, instead of bug-bash, since this has been discussed before in the bug-bash archives but is new to cygwin due to the recent bash upgrade to 3.1.
According to Kirill Yarosh on 4/18/2006 2:42 AM: > From: [EMAIL PROTECTED] > To: bug-bash@gnu.org > Subject: paste-from-clipboard dosen't works on Cygwin platform > > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: cygwin > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' > -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' > -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. -I/tmp/bash-3.1 > -I/tmp/bash-3.1/include -I/tmp/bash-3.1/lib -O2 > uname output: CYGWIN_NT-5.0 kirill-pc 1.5.19(0.150/4/2) 2006-01-20 13:28 > i686 Cygwin > Machine Type: i686-pc-cygwin > > Bash Version: 3.1 > Patch Level: 17 > Release Status: release > > Description: > keyboard function paste-from-clipboard lost a bound to a key > > Repeat-By: > I have a following line in the my .inputrc file: > "\C-v": paste-from-clipboard > > After Bash has started the key is unbound: > $ bind -p | grep -i clip > # paste-from-clipboard (not bound) > > After "\C-x\C-r" keyboard sequence (re-read-init-file) > it is bind the key to the function but only till next <RETURN> will > typed. After any command or empty > <RETURN> it is come to be unbound. > > > Fix: > This is expected behavior. By default, terminals use Ctrl-V as the quoting character (see 'stty -a' and 'stty --help'). Readline 5.1 (and thus bash 3.1) added a new feature, bind-tty-special-characters, defaulted to on, which overrides key bindings in ~/.inputrc with those specified by the terminal. The solution, then, is to either turn this readline feature off (add "set bind-tty-special-characters off" to ~/.inputrc), or to tell your terminal to not bind Ctrl-V (add "stty lnext undef" to your ~/.bash_profile). If you like emacs bindings, where Ctrl-Q is the quoting character instead of Ctrl-V, you could do "stty lnext ^Q stop undef" instead. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEROVz84KuGfSFAYARAiG4AJ4swvS+kn0sRZ8dihgg5Khkj1UgjQCfdVuN 826uyKEpnlYywPBUAYBlfAU= =+2bI -----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/