rxvt {shift,ctrl}+insert

Noah Levitt nlevitt at gmail.com
Wed Dec 15 21:28:27 CET 2004


Hello,

Here is a patch that makes ctrl+insert copy the selection to the
clipboard and makes shift+insert paste the contents of the clipboard.
This conforms better to current deskstop standards. See
http://freedesktop.org/wiki/Standards_2fClipboardsWiki:

 • explicit cut/copy commands should always set CLIPBOARD to the
currently-selected data (i.e. conceptually copy PRIMARY to CLIPBOARD)
 • explicit paste commands should paste CLIPBOARD, not PRIMARY

Selecting text still puts it in PRIMARY, of course, and middle-click
still pastes PRIMARY. Ctrl+ins and shift+ins are explicit commands, so
they should deal with CLIPBOARD.

Noah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy-paste.diff
Type: text/x-patch
Size: 10230 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20041215/04a2de63/attachment.bin>


More information about the rxvt-unicode mailing list