On Mon, May 04, 2015 at 09:27:17PM -0400, Jake wrote:
> i have also tried the above sans the ctrl-c since highlighting text in an
> xterm typically puts it in the paste buffer, which also does not work. when
> pasting into the target, it will paste the last item that was in the paste
> buffer when copying from a gui application.
>
> is there a workaround for this? i would like to stick with using a vanilla
> xterm if possible. i also recall there being a (very old) bug in xterm that
> may be related to xterm having incorrect paste buffer handling.
I think you want the selectToClipboard resource for that, or if you only want
to set it when needed: Hold ctrl, press and hold the middle mouse button
(left+right at the same time if you don't have a middle mouse button), move
the mouse over "select to clipboard" in the "VT options" menu that opens,
release the mouse. (If you get another menu, the left and right button were
pressed with a too big time interval in between.)