unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs and ls with cygwin
Date: Tue, 13 Apr 2010 11:00:06 +0200	[thread overview]
Message-ID: <871vejviax.fsf@tux.homenetwork> (raw)
In-Reply-To: DB304C0F-B76A-4111-9472-5931AFFAA348@Web.DE

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	other threads:[~2010-04-13  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 23:33 emacs and ls with cygwin Oren Cheyette
2010-04-13  5:43 ` Dan Davison
2010-04-13  8:46   ` Peter Dyballa
2010-04-13  8:41 ` Peter Dyballa
2010-04-13  9:00   ` Thierry Volpiatto [this message]
2010-04-23  8:28 ` Paulo J. Matos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vejviax.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).