-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to John Salerno on 8/23/2006 2:04 PM: > > Thanks guys! I can now highlight and use CTRL+C, but right-clicking > doesn't work. But that's ok. Pasting, however, doesn't allow CTRL+V, but > simply right-clicking will paste! Strange behavior! :)
By default, readline (the command parsing engine of bash) gives Ctrl-V its traditional Unix semantics of treating the next character typed literally, rather than as a terminal command. To get it to mean the Windows semantics of pasting, instead, you will need to do 'stty lnext undef' to cripple the lnext terminal feature so readline doesn't try to map Ctrl-V to quoted-insert, then use ~/.inputrc or bash's bind builtin to set ctrl-v to paste-from-clipboard. Also, Ctrl-C typically has its default Unix semantics of interrupt, rather than the Windows semantics of copy region to clipboard. Or you can just use rxvt (I do), and have traditional Unix semantics of everything highlighted is automatically on the clipboard with no further keypresses, and pressing the middle mouse button pastes from the clipboard. - -- 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 iD8DBQFE7L0584KuGfSFAYARAr+KAJ0f/XD5xB2CpeYsNiMroS3n4LVrowCg0OE6 oQ1sUtrpUmnWlcnvRipRKvY= =Codg -----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/