[Top][All Lists]

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

Re: bad font in shell mode

From: Brad from MA
Subject: Re: bad font in shell mode
Date: Sun, 15 Mar 2009 07:41:09 -0700 (PDT)

Thanks Andy, that did the trick.  

I also added some configuration to change the colors to be more high
contrast (it defaulted to a neon-green, which was hard to see).  So in the
interests of helping others, here is my final .emacs shell-mode

(setq ansi-color-names-vector ; better contrast colors
      ["black" "red4" "green4" "yellow4"
       "blue3" "magenta4" "cyan4" "white"])

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

Thanks to all who responded,

Andy Stewart-5 wrote:
> Brad from MA <address@hidden> 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
> Regards,
>   -- Andy

View this message in context:
Sent from the Emacs - Help mailing list archive at

reply via email to

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