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

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

Re: emacs shell colors screwed up


From: Kevin Rodgers
Subject: Re: emacs shell colors screwed up
Date: Fri, 07 Aug 2009 20:51:54 -0600
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Seth Bird wrote:
I just installed emacs 22.2.1 on Jaunty via apt-get. Here is an
example of what happens:

address@hidden:~$ ls
^[[0m^[[0marc^[[0m  ^[[01;34mbqw^[[0m  ^[[0mc.arc^[[0m  ^
[[01;34mclocks^[[0m  ^[[01;34mpublic_html^[[0m  ^[[01;32mrepeat.sh^
[[0m  ^[[0mtodo^[[0m
address@hidden:~$

This happens both when I'm inside gnu screen, and outside of it.

I want to keep colors, but just obviously have them work properly :)

my .emacs file:

    (global-set-key (kbd "C-x C-b") 'buffer-menu)
    (add-hook 'shell-mode-hook '(lambda () (toggle-truncate-lines 1)))
    (setq comint-prompt-read-only t)

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

P.S. Upgrade to Emacs 22.3 or 23.1

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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