Change terminal to xterm terminfo