unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Oren Cheyette <ocheyette@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs and ls with cygwin
Date: Tue, 13 Apr 2010 10:41:03 +0200	[thread overview]
Message-ID: <DB304C0F-B76A-4111-9472-5931AFFAA348@Web.DE> (raw)
In-Reply-To: <582494.51170.qm@web82108.mail.mud.yahoo.com>


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)

Check the documentation!

--
Greetings

   Pete

If all else fails read the instructions.
				- Donald Knuth





  parent reply	other threads:[~2010-04-13  8:41 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 [this message]
2010-04-13  9:00   ` Thierry Volpiatto
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=DB304C0F-B76A-4111-9472-5931AFFAA348@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ocheyette@gmail.com \
    /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).