Fix shortcuts for xterm use