how to capture text output during program?

Michael Steckner steckner at lri.uwo.ca
Sat May 25 03:26:32 AEST 1991


I was wondering if there is a simple way for me to capture the output
to the screen generated while I run a program which also requires
periodic user input. Use of redirects is easy, if you dont also
have to answer any questions the program might having during execution.

This would be equivalent to the MSdos Cntrl Print command which automatically
captures what ever comes across the screen and dumps it to the printer. In
this unix case, i would like to save it too a file instead.

Any tips would be greatly appreciated.

PS the output is greater than one screen long, otherwise I could just
grab what was on the screem. I am doing this on SGI personal iris.



More information about the Comp.unix.questions mailing list