From 897b8d7490840def6a675c8eacc8c32bd07e2b1d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 24 Nov 2013 04:41:33 -0500 Subject: emacs-shells: (formatting) promote each shell name to a proper heading --- public/emacs-shells.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'public/emacs-shells.md') 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. -- cgit v1.2.3