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

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

Re: M-x shell gives garbage ...


From: Benjamin Riefenstahl
Subject: Re: M-x shell gives garbage ...
Date: 13 Mar 2003 12:18:49 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Peter,


Peter Wu <peterwu@hotmail.com> writes:
> When I switch to that mode and type 'ls', it gives me the output in
> garbage.

It's probably the effect of the --color option of GNU ls.  You can
disable that option, it is probably set in some alias overload for
ls.  Or you can enable colors in shell mode with

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


Hope this helps, benny


reply via email to

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