[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: those strange characters
From: |
Emilio Lopes |
Subject: |
Re: those strange characters |
Date: |
Tue, 26 Jul 2005 14:57:10 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Baloff <vddr2u <at> 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.