Xterm output to file


Forum: Other Help Topics
Topic: Xterm output to file
started by: Juanito

Posted by Juanito on Sep. 02 2006,07:52
It seems like the answer to this should be in the forums somewhere but I've just searched for 15 minutes without success...

I would like to see all of the screen messages when using an xterm root box - how do I either increase the size of the screen buffer (so I can scroll back and look at the output) or output everything that appears on the screen to a file?

Note that I tried -sl 1000 (to get a 1000 line buffer) but this didn't seem to work.

Posted by mikshaw on Sep. 02 2006,14:52
The -sl option *should* work....not sure why it didn't.

You can output everything from the active terminal using the script command:
Code Sample
script filename

Everything printed to the terminal after this will be saved to filename.
Ctrl+d will end the script session.

Posted by Juanito on Sep. 02 2006,15:39
That did the trick - thanks
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.