[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with M-x term
From: |
Tim X |
Subject: |
Re: help with M-x term |
Date: |
Tue, 18 Jul 2006 18:34:35 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
"Sergei" <sergio.pokrovskij@gmail.com> writes:
> Tim X wrote:
>
> [...]
>
>> Yes, I've seen solutions of this style before. Its certainly one
>> solution. In fact, under Debian, the default .bashrc has
>
>> # enable color support of ls and also add handy aliases
>> if [ "$TERM" != "dumb" ]; then
>> eval `dircolors -b`
>> alias ls='ls --color=auto'
>> alias dir='ls --color=auto --format=vertical'
>> alias vdir='ls --color=auto --format=longx
>> fi
>
>> Which means ls colours are not used within M-x shell as it sets TERM
>> to dumb. This approach is I think more general in that it will
>> prevent ls colours from being used in any dumb terminal, not just
>> emacs' shell.
>
> Maybe that's true. But actually there are more colored thing than the
> directories.
>
> So far I was unable to solve the color problem with the perl debugger
> :(
>
Have you tried the various commands/settings for ansi-color in comint
mode? I'm assuming the perl debugger uses ansi escape sequences
(despite having done a number of years of perl, it was over 7 years
ago and I never got around to using the perl debugger.
Tim
--
tcross (at) rapttech dot com dot au
- Re: help with M-x term, (continued)
- Message not available
Re: help with M-x term, Kevin Rodgers, 2006/07/13