[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x shell and escape sequences
From: |
Alexey Pustyntsev |
Subject: |
Re: M-x shell and escape sequences |
Date: |
Tue, 10 Apr 2007 23:43:14 +1100 |
User-agent: |
Gnus/5.11 Emacs/22.0.95.1 |
Alexander Zhukov <zuav@yandex.ru> writes:
>>>>>> 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
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
Thanks a lot, guys!
I put those two lines into my .emacs and the problem was solved.
--
Rgds
Alexey
Today is Setting Orange, the 27th day of Discord in the YOLD 3173