From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nospam@dev.null (Alexey Pustyntsev) Newsgroups: gmane.emacs.help Subject: Re: M-x shell and escape sequences Date: Tue, 10 Apr 2007 23:43:14 +1100 Message-ID: References: <877iweaydq.fsf@newsguy.com> <45924327.1060804@gatech.edu> <87d52cfqea.fsf@Sun.COM> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1176225535 9962 80.91.229.12 (10 Apr 2007 17:18:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 17:18:55 +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 19:18:18 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 1HbFcD-0005Yn-6B for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 14:38:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbFg8-0006kX-Ib for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 08:42:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbFft-0006j4-FQ for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 08:42:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbFfn-0006gr-MT for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 08:42:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbFfn-0006gn-Gz for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 08:42:11 -0400 Original-Received: from [87.242.74.155] (helo=sycore.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HbFbq-0001wz-Go for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 08:38:07 -0400 Original-Received: by sycore.org (Postfix, from userid 8) id 88947EF42; Tue, 10 Apr 2007 16:37:55 +0400 (MSD) Original-Received: from sycore.org (d2057.ys.dialup.sakhalin.ru [87.251.96.57]) by sycore.org (Postfix) with ESMTP id B2A79EA9D for ; Tue, 10 Apr 2007 16:37:52 +0400 (MSD) Original-Received: from alexey by sycore.org with local (Exim 4.63) (envelope-from ) id 1HbFgo-0001TF-B0 for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 23:43:14 +1100 User-Agent: Gnus/5.11 Emacs/22.0.95.1 In-Reply-To: <87d52cfqea.fsf@Sun.COM> (Alexander Zhukov's message of "Tue\, 10 Apr 2007 14\:57\:33 +0400") X-detected-kernel: Linux 2.4-2.6 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:42557 Archived-At: Alexander Zhukov writes: >>>>>> 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 =E2=80=93 it is colouring fi= le, > 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) > > --=20 > Alexander Zhukov > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > Thanks a lot, guys! I put those two lines into my .emacs and the problem was solved. --=20 Rgds Alexey Today is Setting Orange, the 27th day of Discord in the YOLD 3173