emacs terminfo for remote sessions