/usr/share/doc/kbd
NameSizeModeActions
ANSI-dvorak.gif38080644editdlrm
AUTHORS7410644editdlrm
ChangeLog165810644editdlrm
COPYING19940644editdlrm
dvorak-l.xmodmap23330644editdlrm
dvorak-r.xmodmap23380644editdlrm
dvorak.diffs14070644editdlrm
dvorak.txt11640644editdlrm
dvorak.xmodmap21570644editdlrm
font-formats-1.html54820644editdlrm
font-formats-2.html14790644editdlrm
font-formats-3.html70070644editdlrm
font-formats-4.html21980644editdlrm
font-formats-5.html5170644editdlrm
font-formats.html13170644editdlrm
kbd.FAQ-1.html41840644editdlrm
kbd.FAQ-2.html29950644editdlrm
kbd.FAQ-3.html21060644editdlrm
kbd.FAQ-4.html78610644editdlrm
kbd.FAQ-5.html172710644editdlrm
kbd.FAQ-6.html27450644editdlrm
kbd.FAQ-7.html57100644editdlrm
kbd.FAQ-8.html94120644editdlrm
kbd.FAQ-9.html26060644editdlrm
kbd.FAQ-10.html26440644editdlrm
kbd.FAQ-11.html22480644editdlrm
kbd.FAQ-12.html82110644editdlrm
kbd.FAQ-13.html44930644editdlrm
kbd.FAQ-14.html34740644editdlrm
kbd.FAQ-15.html69180644editdlrm
kbd.FAQ-16.html30190644editdlrm
kbd.FAQ-17.html17150644editdlrm
kbd.FAQ-18.html25220644editdlrm
kbd.FAQ-19.html13490644editdlrm
kbd.FAQ-20.html17240644editdlrm
kbd.FAQ-21.html17110644editdlrm
kbd.FAQ-22.html24330644editdlrm
kbd.FAQ-23.html9650644editdlrm
kbd.FAQ.html52280644editdlrm
README8300644editdlrm
utfdemo42500644editdlrm
utflist256980644editdlrm
Edit: /usr/share/doc/kbd/kbd.FAQ-18.html (2522B)
The Linux keyboard and console HOWTO: Scrolling Next Previous Contents

18. Scrolling

There are two ways to get a screen to scroll. The first, called `hard scrolling', is to leave the text in video memory as it is, but change the viewing origin. This is very fast. The second, called `soft scrolling', involves moving all screen text up or down. This is much slower. The kernel console driver will write text starting at the top of the video memory, continuing to the bottom, then copy the bottom part to the top again, and continue, all the time using hard scrolling to show the right part on the screen. You can scroll back until the top op the video memory by using Shift-PageUp (the grey PageUp) and scroll down again using Shift-PageDown (the grey PageDown), assuming a default keymap. The amount of scrollback is thus limited to the amount of video memory you happen to have and you cannot increase this amount. If you need more scrollback, use some program that buffers the text, like less or screen - by using a buffer on disk you can go back to what you did last week. (One can set the amount of scrollback for xterm by adding a line like XTerm*saveLines: 2500 in .Xresources.)

Upon changing virtual consoles, the screen content of the old VT is copied to kernel memory, and the screen content of the new VT is copied from kernel memory to video memory. Only the visible screen is copied, not all of video memory, so switching consoles means losing the scrollback information.

Sometimes, hard scrolling is undesirable, for example when the hardware does not have the possibility to change viewing origin. The first example was a Braille machine that would render the top of video memory in Braille. There is a kernel boot-time option no-scroll to tell the console driver not to use hard scrolling. See bootparam(7).


Next Previous Contents