[Top][All Lists]

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

Re: Junk characters in Emacs shell buffer

From: Johan Bockgård
Subject: Re: Junk characters in Emacs shell buffer
Date: Sun, 04 May 2003 04:17:51 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (usg-unix-v)

Craig Jennings <address@hidden> writes:

> Whenever I switch to the shell in Emacs and list files, I see junk
> characters before the file names. I'm a bit of a Unix newbie and am
> guessing that this has to do with colors that Emacs isn't
> interpreting correctly.

Yes, I think so.

> [0m[01;34mCVS[0m [...]

Try adding

(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

to your .emacs file.

The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners. -- Ernst Jan Plugge

reply via email to

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