improve xterm copy/pasting