From: Richard M. Stallman Date: Sun, 11 Nov 2001 20:09:34 +0000 (+0000) Subject: (Shell Options): Add brief mention of ansi-color. X-Git-Tag: ttn-vms-21-2-B4~18659 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=172171629f8bc115b1d87c4fe389053a19222790;p=emacs.git (Shell Options): Add brief mention of ansi-color. --- diff --git a/man/misc.texi b/man/misc.texi index ec1f53c95ee..7441c7c3db8 100644 --- a/man/misc.texi +++ b/man/misc.texi @@ -959,6 +959,13 @@ directory stack if they are not already on it (@code{shell-pushd-dunique}). The values you choose should match the underlying shell, of course. + If you want Shell mode to handle color output from shell commands, +you can enable ANSI Color mode. Here is how to do this: + +@example +(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) +@end example + @node Terminal emulator @subsection Emacs Terminal Emulator @findex term