Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Xterm output to file, Xterm output to file and/or large buffer< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 02 2006,07:52 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 02 2006,14:52 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 02 2006,15:39 QUOTE

That did the trick - thanks
Back to top
Profile PM 
2 replies since Sep. 02 2006,07:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Xterm output to file

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code