Screen
Copy buffer to clipboard
I should probably prefer an improved set of keys to navigate the screen and copy parts of it...
But for the moment:
https://stackoverflow.com/questions/16111548/how-to-copy-the-gnu-screen-copy-buffer-to-clipboard 1) use screen 2) set this in your "screen .rc file": bindkey -m ' ' eval 'stuff \040' 'writebuf' 'exec sh -c "/usr/bin/pbcopy < /tmp/screen-exchange"'