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

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

Re: emacs and ls with cygwin


From: Thierry Volpiatto
Subject: Re: emacs and ls with cygwin
Date: Tue, 13 Apr 2010 11:00:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 13.04.2010 um 01:33 schrieb Oren Cheyette:
>
>> I'm finding that the command "ls" produces garbage output full of
>> control characters
>
>
> This is no garbage! It's ANSI Esc sequence codes to colourise GNU ls'
> output. Such switch this behaviour in ls off or use an ANSI compliant
> terminal emulation (for example via M-x term RET).
>
> I think since GNU Emacs 23.1 the *shell* buffer is able to "execute"
> these codes. Maybe you just need to activate this ability:
>
>       (ansi-color-for-comint-mode-on)

This variable was introduced, or its default value was changed, in
version 23.2 of Emacs.

It is the default now, so with last Emacs versions, no need to enable
it.

> Check the documentation!
>
> --
> Greetings
>
>   Pete
>
> If all else fails read the instructions.
>                               - Donald Knuth
>
>
>
>

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/





reply via email to

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