From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Zhukov Newsgroups: gmane.emacs.help Subject: Re: M-x shell and escape sequences Date: Tue, 10 Apr 2007 14:57:33 +0400 Organization: Sun Microsystems Message-ID: <87d52cfqea.fsf@Sun.COM> References: <877iweaydq.fsf@newsguy.com> <45924327.1060804@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1176211757 25727 80.91.229.12 (10 Apr 2007 13:29:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 13:29:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 15:28:34 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HbEeB-0003pT-Hm for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 13:36:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbEi6-0004Ws-Al for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 07:40:30 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.sun.com!news.sun.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 10 Apr 2007 05:57:34 -0500 X-Comment-To: Peter Dyballa Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:+gNNRuhx6qJt21dghKxYE8TrT70= Cache-Post-Path: news1nwk!unknown@d-espb04-124-243.russia.sun.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Lines: 20 Original-NNTP-Posting-Host: 192.18.43.225 Original-X-Trace: sv3-kaxPi6lyQtr8aag0uy/y2zc0Qx7GYqnmHw4K0J+oBJWwdCREAYWlg71kcwg+xUPycdw+QVlxnxysI77!w5XuBQ8XkJboCfV8R+Ci4WFio6rc7qP8D55ac0HpFCY+s86bWR50EA== Original-X-Complaints-To: abuse@sun.com X-DMCA-Complaints-To: abuse@sun.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Original-Xref: shelby.stanford.edu gnu.emacs.help:146950 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42553 Archived-At: >>>>> 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_ 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