fix emacs for linux terminal window