Proper set of TERM
Set emacs as EDITOR