I asked vim mailing list for how to document shell activity in non-emacs-environment.
The answer was $ script -a savefile .... Control-D $ col -b <savefile >cleanedfile $ vi cleanedfile Color-ls needs to be disabled, too. Now I can document shell activity without learning emacs. So I have 2 approach to this: "M-x shell" and "script+col -b" Osamu On Fri, Mar 09, 2001 at 08:07:37PM +0000, Colin Watson wrote: > Osamu Aoki <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + Fingerprint: 814E BD64 3288 40E7 E88E 3D92 C3F8 EA94 D5DE 453D + + http://www.aokiconsulting.com/pc/ Cupertino, CA USA +

