On Thu, 03 Sep 2009, Patrick Gen-Paul wrote: > I'm pretty sure that a bit like mutt, gnu/screen supports piping its > commands to an external application, but I'm don't see at a glance > how this could be implemented.
You can use screen bindkey. Adding the following into ~/.screenrc, the xsel serves the same purpose as the xclip and you may also change the option to use clipboard instead of x selection. -- 8< -- # set the second mark, write to the screen-exchange # file, and use xsel to synchronize the paste buffer # with the X selection. bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel < /tmp/screen-exchange'" bindkey < eval "stuff ' '" "exec sh -c 'xsel -o > /tmp/screen-exchange'" readbuf -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3