On Sat, Feb 18, 2012 at 06:23:05PM +0100, Philipp Haselwarter wrote:
is it possible to copy a text selection to the X clipboard? Right now
I'm copying text and piping it into xsel, which works but is a bit
cumbersome, some kind of wrapper or macro would be handy.
"writebuf" can write the contents of the paste buffer to a specified
file.
With xsel, xclip, xcb and friends and maybe a shell script which runs
several 'screen -X' commands in a row and a key bound to executing
that shell script should be possible. Maybe screen's eval command can
also help.