Make emacs work better in console mode.