summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-24 04:41:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-24 04:41:33 -0500
commit897b8d7490840def6a675c8eacc8c32bd07e2b1d (patch)
treebfe9af1f22b40498588a2a4934b26657514829f8
parent97c3b70fdcfdac27b163f3ce2965cb16c6c2cf69 (diff)
emacs-shells: (formatting) promote each shell name to a proper heading
-rw-r--r--public/emacs-shells.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/public/emacs-shells.md b/public/emacs-shells.md
index 55bb846..92c4726 100644
--- a/public/emacs-shells.md
+++ b/public/emacs-shells.md
@@ -13,9 +13,12 @@ can be hard to keep them straight. What's the difference between
`M-x term` and `M-x ansi-term`?
Here's a good breakdown of the different bundled shells and terminals
-for Emacs, from dumbest to most Emacs-y
+for Emacs, from dumbest to most Emacs-y.
-**term-mode**: Your VT100-esque terminal emulator; it does what most
+term-mode
+---------
+
+Your VT100-esque terminal emulator; it does what most
terminal programs do. Ncurses-things work OK, but dumping large
amounts of text can be slow. By default it asks you which shell to
run, defaulting to the environmental variable `$SHELL` (`/bin/bash` for
@@ -45,7 +48,10 @@ or
; The default 'term-escape-char' is "C-c" and "C-f"
M-x ansi-term
-**shell-mode**: The name is a misnomer; shell-mode is a terminal
+shell-mode
+----------
+
+The name is a misnomer; shell-mode is a terminal
emulator, not a shell; it's called that because it is used for running
a shell (bash/zsh...). The idea of this mode is to use an external
shell, but make it Emacs-y. History is not handled by the shell, but
@@ -59,7 +65,10 @@ will of course not work. This mode is activated with:
M-x shell
-**eshell-mode**: This is a shell+terminal, entirely written in Emacs
+eshell-mode
+-----------
+
+This is a shell+terminal, entirely written in Emacs
lisp. (Interestingly, it doesn't set `$SHELL`, so that will be whatever
it was when you launched Emacs). This won't even be running zsh or
bash, it will be running "esh", part of Emacs.