make "emacs -nw" work