added copy/paste and scrollback options for xterm