On Sun, 29 Aug 2010, Timo Juhani Lindfors wrote:
[Sorry for resending, I mistyped the bugs.debian.org address...]
Thomas Dickey <dic...@his.com> writes:
Shift Ctrl <KeyPress> c:select-end(CLIPBOARD)\n
That should work...
With
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
step 2 fails: clipboard contents does not change at all.
Are you getting different behavior?
Just to check, I tested this in a slightly different way, to ensure that I
had exactly these translations (by capturing the result from "appres
XTerm", and editing that, using XENVIRONMENT environment variable on the
resulting file):
*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
...and it seems to work. If you did not invoke the select-end, and
started selecting again with the mouse, then that would discard the
selection.
I compiled xterm with (--enable-trace) debugging traces to check if I
might see anything odd, e.g., events passing into the keyboard input from
an incomplete coverage of the translations, and don't see any of that.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100829170951.a28...@mail101.his.com