How to log input and output in a shell

Daniel Huber dhuber at aut.autelca.ascom.ch
Thu Apr 25 22:18:24 AEST 1991


How can I log any input or output from a shell into a file?

I tried 

sh | tee foo

but I just got the output in this file.

I would like to have ANY input and ANY output logged in the file
"foo". Even the prompt...
And it should be possible to log a vi session too.

"WYSIWYG" explaines what I would like to have. Just everything what
appears on the screen should appear in the file too.

Anybody could give me a hint?

Daniel

-- 
Daniel Huber AD-KT2.6   VOICE: +41 31 52 96 64 FAX: +41 31 52 97 51
Ascom Autelca AG        Network Engineer, Network,Mail and News Manager
CH-3073 Guemligen       EMAIL:  dhuber at autelca.ascom.ch
Switzerland             UUCP:   uunet!chx400!hslrswi!aut!dhuber



More information about the Comp.unix.shell mailing list