unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alexander Zhukov <zuav@yandex.ru>
To: help-gnu-emacs@gnu.org
Subject: Re: M-x shell and escape sequences
Date: Tue, 10 Apr 2007 14:57:33 +0400	[thread overview]
Message-ID: <87d52cfqea.fsf@Sun.COM> (raw)
In-Reply-To: mailman.1900.1176195872.7795.help-gnu-emacs@gnu.org

>>>>> Peter Dyballa (PD) writes:

 PD> Am 10.04.2007 um 08:05 schrieb Alexey Pustyntsev:

 >> Do you think that display is normal or should I change anything?

 PD> The display is normal outside GNU Emacs – it is colouring file,
 PD> directory, sym-link, and other special files' names. Turn that off
 PD> in GNU Emacs (a file ~/.emacs_<your shell's name> could do this in
 PD> that shell's syntax), or make ls to be aliased to a form that does
 PD> emit these ANSI escape sequences.

Or you can try to use ansi-color-for-comint-mode. I have these two lines
in my .emacs:

(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

-- 
Alexander Zhukov

  parent reply	other threads:[~2007-04-10 10:57 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
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 [this message]
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=87d52cfqea.fsf@Sun.COM \
    --to=zuav@yandex.ru \
    --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).