Re: vi/emacs: Loging shell command and output
Looks like emacs can do it. How about _vim_?
I got following messagei from Eric Hanchrow:
Osamu> I can use ... Control-U Meta-! in emacs to record shell
Osamu> output but they do not record shell prompt nor shell
Osamu> command itself.
"M-x shell" Runs a shell within Emacs. Everything you type, and
everything the shell types, is saved in an Emacs buffer. You may
write that buffer to a file at any time
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.
--
+ 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: