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 17:05:22 +1100 Message-ID: References: <877iweaydq.fsf@newsguy.com> <45924327.1060804@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176194472 28628 80.91.229.12 (10 Apr 2007 08:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 08:41:12 +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 10:40:27 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 1Hb9Qb-0007ar-R2 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 08:02:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hb9UU-0005O4-N0 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 02:06:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hb9Ta-0004ja-SC for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 02:05:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hb9TU-0004YQ-Jc for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 02:05:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hb9TU-0004YH-9T for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 02:05:04 -0400 Original-Received: from [87.242.74.155] (helo=sycore.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hb9PT-00020n-HS for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 02:00:56 -0400 Original-Received: by sycore.org (Postfix, from userid 8) id 01989ED54; Tue, 10 Apr 2007 10:00:33 +0400 (MSD) Original-Received: from sycore.org (d0092.ys.dialup.sakhalin.ru [195.72.251.92]) by sycore.org (Postfix) with ESMTP id 4C487ECBC for ; Tue, 10 Apr 2007 10:00:31 +0400 (MSD) Original-Received: from alexey by sycore.org with local (Exim 4.63) (envelope-from ) id 1Hb9Tm-0003cn-FI for help-gnu-emacs@gnu.org; Tue, 10 Apr 2007 17:05:22 +1100 User-Agent: Gnus/5.11 Emacs/22.0.95.1 In-Reply-To: <45924327.1060804@gatech.edu> (Matthew Flaschen's message of "Wed\, 27 Dec 2006 04\:55\:51 -0500") 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:42547 Archived-At: Matthew Flaschen writes: > reader@newsguy.com wrote: >> Should I be able to run M-x shell (not eshell) then `ls' and not see >> escape sequences? >> > On a related note, how do I get the clear command to work? In eshell, > it shows escape sequences and does nothing; in shell, it just does nothing. > > Thanks, > > Matt Flaschen Hi all! My question is different but I think it fits this thread nicely. The trouble I've run into is that typing M-x shell results in something like this: .... -rw-r--r-- 1 woof users 733 Mar 31 23:37 ^[[0marticle-1.xsl^[[0m -rw-r--r-- 1 woof users 2254 Apr 1 03:03 ^[[0marticle-2.html^[[0m -rw-r--r-- 1 woof users 1897 Apr 1 03:02 ^[[0marticle-2.xsl^[[0m -rw-r--r-- 1 woof users 1895 Apr 1 03:01 ^[[0marticle-2.xsl~^[[0m .... I have not touched anything, that's how my emacs-22.0.95 executes the command by default. I've looked through nodes 41.3 - 41.8 of the info (Shell Mode) but nothing seems to deal with the problem. Do you think that display is normal or should I change anything? I would be pleased to hear your comments. -- Rgds Alexey