~ hermogeneshebert /.screenrc

leave the ctrl-a to emacs and bash. share the paste buffer with X
# changes the escape sequence so that i doesn't conflict
# with a well known emacs keybinding

escape ^Oo

# copies region, writes to the screen-exchange file, and synchronize the
# paste buffer with the X selection.

bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel -n < /tmp/screen-exchange'"

# This is obvious

startup_message off