Bug#588785: #588785 xterm: consider supporting freedesktop.org style clipboard behavior
Thomas Dickey <dickey@his.com> writes:
> I do see a difference. It was actually copying to primary based on
> this line in the default translations:
Hmm. I am not quite sure how to change the defaults without rebuilding
xterm but when "appres XTerm" shows
...
*VT100.font6: 10x20
XTerm*VT100.Translations: #override\n\
Shift Ctrl <KeyPress> v:insert-selection(CLIPBOARD)\n\
Shift<Btn1Down>:select-start()\n\
Shift<Btn1Motion>:select-extend()\n\
Shift Ctrl <KeyPress> c:select-end(CLIPBOARD)\n\
<BtnUp>:ignore() \n
*ptyInitialErase: true
...
steps 1 and 2 indeed seem to do what I asked. However, there's a side
effect: after that it seems that the terminal ignores all keyboard
input. This includes normal characters and also ctrl-shift-v that
would be needed in step 3.
(There's also the issue that one can't move the mouse between steps 1
or 2 but let's not worry about that yet.)
Reply to: