unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: M-x shell and escape sequences
Date: Wed, 27 Dec 2006 10:31:07 +0200	[thread overview]
Message-ID: <upsa52110.fsf@gnu.org> (raw)
In-Reply-To: <877iweaydq.fsf@newsguy.com> (reader@newsguy.com)

> From: reader@newsguy.com
> Date: Tue, 26 Dec 2006 20:03:29 -0600
> 
> Using M-x eshell `ls' behaves as ecpected and displays the colors.

It's a different `ls', the one built into Eshell (at least by default,
unless you changed some options).

> Should I be able to run M-x shell (not eshell) then `ls' and not see
> escape sequences?

Yes, but it's your setup: make sure `ls' is invoked with --colors=auto
option, not with --colors=always.

Alternatively, use ansi-colors.el.

  reply	other threads:[~2006-12-27  8:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-27  2:03 M-x shell and escape sequences reader
2006-12-27  8:31 ` Eli Zaretskii [this message]
2006-12-27  9:55 ` Matthew Flaschen
2007-04-10  6:05   ` Alexey Pustyntsev
2007-04-10  8:57     ` Peter Dyballa
2007-04-10  9:12     ` Alexey Pustyntsev
     [not found]     ` <mailman.1900.1176195872.7795.help-gnu-emacs@gnu.org>
2007-04-10 10:57       ` Alexander Zhukov
2007-04-10 12:43         ` Alexey Pustyntsev
2006-12-27 10:16 ` Michaël Cadilhac
     [not found] <mailman.2387.1167185031.2155.help-gnu-emacs@gnu.org>
2006-12-29 14:17 ` kruhft

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=upsa52110.fsf@gnu.org \
    --to=eliz@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).