Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.unix.questions Subject: Re: how to capture text output during program? Message-ID: Date: 26 May 91 02:22:39 GMT References: <9105241726.AA16913@?lri.uwo.ca> Sender: news@bu.edu Organization: What do you mean 'That *can't* be done????' Lines: 22 In-reply-to: steckner@lri.uwo.ca's message of 24 May 91 17:26:32 GMT >>>>> On 24 May 91 17:26:32 GMT, steckner@lri.uwo.ca (Michael Steckner) said: Michael> I was wondering if there is a simple way for me to capture the output Michael> to the screen generated while I run a program which also requires Michael> periodic user input. Use of redirects is easy, if you dont also Michael> have to answer any questions the program might having during execution Try using script(1) It scarfs most everything, including control characters. You might want to look for something called 'unscript' as well, which cleans up the control characters as best as it can. jc -- -- James Cameron (jc@raven.bu.edu) Signal Processing and Interpretation Lab. Boston, Mass (617) 353-2879 ------------------------------------------------------------------------------ "But to risk we must, for the greatest hazard in life is to risk nothing. For the man or woman who risks nothing, has nothing, does nothing, is nothing." (Quote from the eulogy for the late Christa McAuliffe.)