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 1GzMf5-0003uM-Vy for garchives@archives.gentoo.org; Wed, 27 Dec 2006 00:28:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBR0Qi8N030433; Wed, 27 Dec 2006 00:26:44 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 kBR0OaGd010845 for ; Wed, 27 Dec 2006 00:24:37 GMT Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 9303E7BD8D; Tue, 26 Dec 2006 19:24:35 -0500 (EST) Date: Tue, 26 Dec 2006 19:24:34 -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: <20061226192434.365758be@osage.osagesoftware.com> In-Reply-To: <87wt4e8xl1.fsf@newsguy.com> References: <20061224130013.2365e2f6@osage.osagesoftware.com> <87odps31f4.fsf@newsguy.com> <20061225083051.116889e0@osage.osagesoftware.com> <87bqlre2hy.fsf@newsguy.com> <20061226073521.0a6a6bf4@osage.osagesoftware.com> <87wt4e8xl1.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: 5bfb3f46-4257-427f-ad8a-07081b1b4b44 X-Archives-Hash: f1334d9c543d220fd7d08de0c254cb81 On Tue, 26 Dec 2006 09:51:22 -0600 reader@newsguy.com wrote: ...[snip]... > > Good, however you should not really need to use ansi-mode. > I do not, and don't have the trouble you mentioned. > > In normal shell-mode (M-x shell) I do see the escape sequences you > mention but not in eshell (M-x eshell). > > I think, if you post on gmane.emacs.help with what you are > experiencing someone will be able to help you identify, what in your > OS setup is causing the problem. > > I did notice one thread where the user ended up discovering somekind > of alias to ls that was causing his problem. > > http://thread.gmane.org/gmane.emacs.help/39496/focus=39505 > > Typing `alias' in an xterm might reveal something. Here I see: > alias ls='ls --color=auto' > as the only reference to ls. > > Posting there with your exact problem would probably be best. I generally have ls aliased to 'ls --color=none' and that works fine. In my post I used ls as a simple example of a program that can/does use escape sequences. Other programs that use escape sequences are emerge and runscript (used in starting services). Alias 'emerge --color' suppresses ansi color sequences for direct invocations of emerge (because the alias is used for that). I also use 'eix-sync' which runs emerge. In _this_ instance, ansi escape sequences are _not_ suppressed and I do find them annoying. Now that I'm home from work, I have the time to experiment :-> -- gentoo-user@gentoo.org mailing list