update for emacs no terminal