База на знаења
How to increase the scroll buffer size in PuTTY Испечати
How to increase the scroll buffer size in PuTTY
You may have noticed that PuTTY does not allow you to scroll up very far
This can become annoying when running programs that have lots of output you might need to scroll through and review
Let's look at an example
We have already logged in to one of our saved SSH sessions
One command that can sometimes produce a lot of output is ls -- the command to list a directory's contents
Type ls -l / to list the contents of the root directory. Remember -- press Enter to execute a shell command
Now, type the command shown to list the contents of all directories contained by the home directory
Scroll up
Here is the command we just typed
Above that, the output of the previous command
Scroll up a bit more
As you can see, we've reached the top of the scrollbar, and still can't see the first command we typed; it's just barely out of range
Let's increase the size of the scroll buffer. Close this session and re-open PuTTY to the configuration window
Select the session from the list, then click Load
Then, go to Window
Enter a higher value for Lines of scrollback. We'll change ours from 200 to 20000
Return to the Session category
Click Save
Finally, press Open
Now, log in normally, as seen earlier in this series
Once logged in, let's test out the new scroll buffer size
Type the command from before, several times. End each line with a shell comment as shown, thus marking each one
Watch the size of the scrollbar
Again
One more time
Now, scroll up
Here's the first command. Clearly, our change worked!
This is the end of the tutorial. You now know how to increase the scroll buffer size in PuTTY
Дали Ви помогна овој одговор?
Понудени резултати
How to start a SSH sessions from the command line
How to start a SSH session from the command line This tutorial assumes you have already opened...
How to start a SSH session from the command line This tutorial assumes you have already opened...
How to download and install PuTTY
How to download and install PuTTY This tutorial assumes you are using the Windows operating...
How to download and install PuTTY This tutorial assumes you are using the Windows operating...
How to open a PuTTY session, and exit a session
How to open a PuTTY session, and exit a session Double click the PuTTY icon to launch it This...
How to open a PuTTY session, and exit a session Double click the PuTTY icon to launch it This...
How to start PuTTY in a maximized window
How to start PuTTY in a maximized window This tutorial assumes you have located PuTTY, and...
How to start PuTTY in a maximized window This tutorial assumes you have located PuTTY, and...
How to load, save or delete server connection settings in PuTTY
How to load, save or delete server connection settings in PuTTY This tutorial assumes you have...
How to load, save or delete server connection settings in PuTTY This tutorial assumes you have...