From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1GzBak-0008Pg-RK for garchives@archives.gentoo.org; Tue, 26 Dec 2006 12:39:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBQCbWEV019114; Tue, 26 Dec 2006 12:37:32 GMT Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBQCZUY3028425 for ; Tue, 26 Dec 2006 12:35:32 GMT Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 3319F7BE17; Tue, 26 Dec 2006 07:35:22 -0500 (EST) Date: Tue, 26 Dec 2006 07:35:21 -0500 From: David Relson To: gentoo-user@lists.gentoo.org Cc: reader@newsguy.com Subject: Re: [gentoo-user] Re: emacs shell color question Message-ID: <20061226073521.0a6a6bf4@osage.osagesoftware.com> In-Reply-To: <87bqlre2hy.fsf@newsguy.com> References: <20061224130013.2365e2f6@osage.osagesoftware.com> <87odps31f4.fsf@newsguy.com> <20061225083051.116889e0@osage.osagesoftware.com> <87bqlre2hy.fsf@newsguy.com> Organization: Osage Software Systems, Inc. X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.6; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: b26057c0-3557-421e-b4bd-6beedd9fd043 X-Archives-Hash: 0b13f9c2109447b642d4b33f66576df1 On Mon, 25 Dec 2006 21:54:01 -0600 reader@newsguy.com wrote: > David Relson writes: > > > On Mon, 25 Dec 2006 01:00:31 -0600 > > reader@newsguy.com wrote: > > > >> David Relson writes: > >> > >> > G'day, > >> > > >> > I habitually run emacs shell sessions. When I forget the --color > >> > options, for example for the ls and emerge commands, the shell > >> > session displays the ascii escape sequences which is pretty ugly. > >> > Is there an option for telling emacs to handle escape sequences? > >> > >> Does the problem persist if you use `eshell' instead of shell? > >> (M-x eshell ) > > There is an ansi mode that is made to hand escape sequences but that > should not be necessary. All recent emacs just work. > > That makes me think it is something in your environment. > > To get expert help I suggest you post on gnu.emacs.help Or on > gmane.emacs.help (same list). Eureka! A search for "ansi" at gmane suggested using ansi-term instead of shell. That gave me color but previous line editing and such were different, which I'm not sure I like :-< So I looked in /usr/share/emacs/... for ansi-term and found ansi-color.el. Comments at the beginning tell how to turn on color within a shell. This looks like what I want! Thank you muchly. David -- gentoo-user@gentoo.org mailing list