Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using PuTTY to administrate a Minecraft server on a remote Linux machine. I do not own the server but I have an SSH account.
The server has a console window which can be accessed with the screen command. The problem is that the output is VERY long. And if I start the session with PuTTY I can only see a few lines. I noticed when I resize it (make it bigger) more lines are loaded and displayed. So I wondered if PuTTY is able to load the entire log or at least a few hundered more lines.
This is necessary because some things happen and if too much happened I can't see it if I log in some time later.

Notice:
I already have the alternate screen display style enabled but this does not load anything that happened above the top-most line on my screen!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can adjust the amount of backscroll Putty has in the "Window" settings. As someone who has managed server like this in the past, downloading the log to see the history is much easier to do!

Alternatively, use tail -f server.log to get a live "feed" of your server log while not in a screen session.

share|improve this answer
    
I already set it to 20000. So this is not the problem. i just want to load the past lines! –  BrainStone May 22 '13 at 11:20
    
Open ~/.screenrc and put the line defscrollback 5000 in. You'll need to restart screen for this to take effect though. You're dealing with a limitation of screen at this point. –  Nathan C May 22 '13 at 11:25
    
On the server? Or on my machine? –  BrainStone May 22 '13 at 11:28
    
On the server.. –  Nathan C May 22 '13 at 11:37
    
Does not work. As I said before I only have limited access. Might it be usefull to post the content of the sh file I use to start the screen? –  BrainStone May 22 '13 at 11:39
show 8 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.