Re: vi/emacs: Loging shell command and output
True. less -r is good one. (8 bit clean/damb, I use it for reading
Japanese too)
I also found that "export term=xterm" stops autocolor-ls to producing
escape sequences. Recorded text after this is printable.
Thanks.
Osamu
On Fri, Mar 09, 2001 at 08:07:37PM +0000, Colin Watson wrote:
> Osamu Aoki <debian@aokiconsulting.com> wrote:
> >Nice thing about this is that this set terminal w/o color support so my
> >aliased color "ls" can print without escape sequence. "script"
> >suggested by others was good but it also recorded all these color escape
> >sequences.
>
> Try reading script's output file with 'less -r', and the escape
> sequences will be rendered back into colour.
--
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ Fingerprint: 814E BD64 3288 40E7 E88E 3D92 C3F8 EA94 D5DE 453D +
+ http://www.aokiconsulting.com/pc/ Cupertino, CA USA +
Reply to: