[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad font in shell mode
From: |
Andy Stewart |
Subject: |
Re: bad font in shell mode |
Date: |
Sun, 15 Mar 2009 11:30:19 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Brad from MA <brad.l.miller@gmail.com> writes:
> Hi,
> When I enter shell mode (M-x shell), I get a bunch of extraneous
> characters printing out. Instead of the bash command prompt '/home/user>'
> it comes out as:
>
> ^[[1;32m/home/user^[[1;00m>
>
> Any idea how to fix this?
>
> Thanks,
> Brad
YOu need add
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
for fix above problem.
You can try to use multi-shell.el, at
http://www.emacswiki.org/cgi-bin/emacs/multi-shell.el
Regards,
-- Andy