[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422521: xterm: please add support for SunPaste and XF86Paste keys



Package: xterm
Version: 225-1
Severity: wishlist
Tags: patch

Pleasee consider applying attached patch, which adds XF86Paste and
SunPaste keysyms as alternates for Shift+Insert to include the current
selection.

Hochachtungsvoll,
	Bernhard R. Link
diff -r -u o/xterm-225/charproc.c xterm-225/charproc.c
--- o/xterm-225/charproc.c	2007-03-21 00:59:25.000000000 +0100
+++ xterm-225/charproc.c	2007-05-06 18:32:53.000000000 +0200
@@ -219,6 +219,8 @@
            Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
          Shift <KeyPress> Select:select-cursor-start() select-cursor-end(SELECT, CUT_BUFFER0) \n\
          Shift <KeyPress> Insert:insert-selection(SELECT, CUT_BUFFER0) \n\
+         <KeyPress> XF86Paste:insert-selection(SELECT, CUT_BUFFER0) \n\
+         <KeyPress> SunPaste:insert-selection(SELECT, CUT_BUFFER0) \n\
 "
 #if OPT_SHIFT_FONTS
 "\
diff -r -u o/xterm-225/xterm.man xterm-225/xterm.man
--- o/xterm-225/xterm.man	2007-03-24 01:05:57.000000000 +0100
+++ xterm-225/xterm.man	2007-05-06 18:33:28.000000000 +0200
@@ -4347,6 +4347,8 @@
          Shift <KeyPress> Select:select-cursor-start() \\\&
                                  select-cursor-end(SELECT, CUT_BUFFER0) \\n\\\&
          Shift <KeyPress> Insert:insert-selection(SELECT, CUT_BUFFER0) \\n\\\&
+         <KeyPress> XF86Paste:insert-selection(SELECT, CUT_BUFFER0) \\n\\\&
+         <KeyPress> SunPaste:insert-selection(SELECT, CUT_BUFFER0) \\n\\\&
     Shift~Ctrl <KeyPress> KP_Add:larger-vt-font() \\n\\\&
     Shift Ctrl <KeyPress> KP_Add:smaller-vt-font() \\n\\\&
     Shift <KeyPress> KP_Subtract:smaller-vt-font() \\n\\\&

Reply to: