use emacs -nw for editor