From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.help Subject: Re: those strange characters Date: Tue, 26 Jul 2005 14:57:10 +0000 (UTC) Message-ID: References: <42e53fc4_1@news.iprimus.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122390199 13842 80.91.229.2 (26 Jul 2005 15:03:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2005 15:03:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 26 17:03:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DxQve-00086d-AD for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2005 17:01:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxQxz-0005qV-U9 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jul 2005 11:03:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DxQxW-0005j3-6a for help-gnu-emacs@gnu.org; Tue, 26 Jul 2005 11:03:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DxQxT-0005hp-HN for help-gnu-emacs@gnu.org; Tue, 26 Jul 2005 11:03:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxQxT-0005gW-FK for help-gnu-emacs@gnu.org; Tue, 26 Jul 2005 11:03:03 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DxR4o-0002eQ-2h for help-gnu-emacs@gnu.org; Tue, 26 Jul 2005 11:10:38 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DxQsu-0007ge-T9 for help-gnu-emacs@gnu.org; Tue, 26 Jul 2005 16:58:20 +0200 Original-Received: from vproxy01.bmwgroup.com ([192.109.190.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 16:58:20 +0200 Original-Received: from eclig by vproxy01.bmwgroup.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 16:58:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 192.109.190.88 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) 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:28199 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28199 Baloff bi.edu.gr> writes: > I did > $script somefile > $ls > $exit > $cat somefile > shows the output of $ls > > in emacs, C-x C-f somefile > the output of $ls, each item is listed between ^[[0m group of charactres > on both sided of each item. > > so if I have an item like myFile, it would look ^[[0mmyFile^[[0m Go to the said buffer. Type "M-:" (`eval-expression'). At the prompt type (ansi-color-apply-on-region (point-min) (point-max)) You might need to type "M-x load-library RET ansi-color RET" before.