Run Emacs in Terminal vs GUI
You can start emacs in terminal by emacs -nw
.
GUI can do several things that's impossible in terminal.
- GUI can display images. [see Emacs: View Image File]
- GUI allows more possibilities of keybinding. For example, the ▤ Menu key, or Ctrl with Shift. Also, GUI emacs can distinguish Return vs Ctrl+m. [see Emacs: Key Notation <return> vs RET] Terminal can't distinguish Ctrl with shifted letter keys. And, Tab key and Ctrl+i are connected. Return key and Ctrl+m are connected. Escape key and Ctrl+[ are connected. Some other keys won't work neither. For example: if you set your number pad keys to do lots commands.
- GUI deals with font better, especially if you use a lot math symbols or Chinese. [see Emacs: Unicode Tutorial]
- GUI allows more colors. (it's better for programing language highlight and find/replace hilight.)
- GUI allows mouse. Sometimes it's nice to scroll or drag to resize split panes, or click link in emacs documentation such as reading
info
. [see Emacs: View Info Page] - GUI allows control of multiple windows (“emacs frames”) more easily.
I can't really think of any real advantage of running emacs in terminal, except it is simpler. It works fine though. I used emacs in terminal exclusively from 1999 to 2005.
See also: