set terminal to xterm for ncurses apps