[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi/emacs: Loging shell command and output



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.

Cheers,

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: