From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell Date: Thu, 03 Dec 2009 12:25:07 -0500 Message-ID: References: <3f2beab60912030117n4005a75w42481261c854c655@mail.gmail.com> Reply-To: Glenn Morris , 5113@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259863415 21565 80.91.229.12 (3 Dec 2009 18:03:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 18:03:35 +0000 (UTC) Cc: 5113@emacsbugs.donarmstrong.com To: Praveen A Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 19:03:28 2009 Return-path: Envelope-to: geb-bug-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 1NGG1W-0007B2-33 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 19:03:26 +0100 Original-Received: from localhost ([127.0.0.1]:51255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGG1V-0002rn-Sc for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 13:03:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGFm7-0006XJ-Kr for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 12:47:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGFm3-0006S1-OX for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 12:47:31 -0500 Original-Received: from [199.232.76.173] (port=58382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGFm3-0006Rp-ET for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 12:47:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51758) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGFm2-0007Wq-RL for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 12:47:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB3HlOwi001451; Thu, 3 Dec 2009 09:47:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB3HU4jp032350; Thu, 3 Dec 2009 09:30:04 -0800 Resent-Date: Thu, 3 Dec 2009 09:30:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 03 Dec 2009 17:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5113 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5113-submit@emacsbugs.donarmstrong.com id=B5113.125986111332002 (code B ref 5113); Thu, 03 Dec 2009 17:30:04 +0000 Original-Received: (at 5113) by emacsbugs.donarmstrong.com; 3 Dec 2009 17:25:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB3HPBae031967 for <5113@emacsbugs.donarmstrong.com>; Thu, 3 Dec 2009 09:25:12 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NGFQS-0000ij-VP; Thu, 03 Dec 2009 12:25:09 -0500 X-Spook: clandestine Baranyi espionage Albright Bin Laden ISEC JPL X-Ran: gJLnyXqgDdo{v5]_aMPucFtt35x?AxHEb81]]J3kxH4c (Praveen A.'s message of "Thu, 3 Dec 2009 14:47:12 +0530") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 03 Dec 2009 12:47:31 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33177 Archived-At: Praveen A wrote: > It seems that when 'ls' is invoked with --color, it output some > escape sequences (e.g. ESC [ 0) that are not handled by shell-mode. The Emacs manual and FAQ suggest (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)