Xterm modifications