fix arrow keys in xterm