help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x shell and escape sequences


From: Alexander Zhukov
Subject: Re: M-x shell and escape sequences
Date: Tue, 10 Apr 2007 14:57:33 +0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

>>>>> Peter Dyballa (PD) writes:

 PD> Am 10.04.2007 um 08:05 schrieb Alexey Pustyntsev:

 >> Do you think that display is normal or should I change anything?

 PD> The display is normal outside GNU Emacs – it is colouring file,
 PD> directory, sym-link, and other special files' names. Turn that off
 PD> in GNU Emacs (a file ~/.emacs_<your shell's name> could do this in
 PD> that shell's syntax), or make ls to be aliased to a form that does
 PD> emit these ANSI escape sequences.

Or you can try to use ansi-color-for-comint-mode. I have these two lines
in my .emacs:

(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

-- 
Alexander Zhukov


reply via email to

[Prev in Thread] Current Thread [Next in Thread]