Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!uunet!mcsun!cernvax!chx400!chx400!hslrswi!aut!dhuber From: dhuber@aut.autelca.ascom.ch (Daniel Huber) Newsgroups: comp.unix.shell Subject: How to log input and output in a shell Message-ID: <1746@aut.autelca.ascom.ch> Date: 25 Apr 91 12:18:24 GMT Organization: Ascom Autelca AG, CH-3073 Guemligen Switzerland Lines: 24 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@autelca.ascom.ch Switzerland UUCP: uunet!chx400!hslrswi!aut!dhuber