Web lists-archives.com

problem with paste-from-clipboard




Hi folks,

I have problem with "paste-from-clipboard" in cygwin. In ~/.inputrc file I have just this line:
"\e[2~": paste-from-clipboard

I start cygwin terminal (as C:\cyg64\bin\bash.exe --login -i), from another (say, GUI) place I copy
some text into clipboard and I try to include it with Insert key to cygwin terminal. Nothing happend.

I tried run `sed -n l` to check that my Insert key gives right keystroke:
$> sed -n l
\033[2~$
So it looks like keystroke is mapped good.

I included another line in ~/.inputrc just to verify, that  ~/.inputrc is sourced:
"\e[3~": end-of-line
and now when I hit Delete key, cursor is moved at the end of line. So looks like ~/.inputrc is
sourced and works.

But I can't include from clipboard.

In terminal definition I have checked Quick edit mode and Insert mode.

Does someone know what I'm doing wrong?

My system: Win7 64 Professional, English.

Ladislav

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple