lotus



previous page: 118. How Do I Format Man Pages without man or groff?
  
page up: Linux FAQ
  
next page: 120. How To Get Email to Work

119. How To Scroll Backwards in Text Mode




Description

This article is from the Frequently Asked Questions for Linux, the Free/Open Source UNIX-like operating system kernel that runs on many modern computer systems. Maintained by David C. Merrill with numerous contributions by others. (v1.0).

119. How To Scroll Backwards in Text Mode

A: With the default US keymap, you can use Shift with the PgUp and PgDn keys. (The gray ones, not the ones on the numeric keypad.) With other keymaps, look in /usr/lib/keytables. You can remap the ScrollUp and ScrollDown keys to be whatever you like.

The screen program, http://vector.co.jp/vpack/browse/person/an010455.html provides a searchable scrollback buffer and the ability to take "snapshots" of text-mode screens.

Recent kernels that have the VGA Console driver can use dramatically more memory for scrollback, provided that the video card can actually handle 64 kb of video memory. Add the line:

 #define VGA_CAN_DO_64B                                                      

to the start of the file drivers/video/vgacon.c. This feature may become a standard setting in future kernels. If the video frame buffer is also enabled in the kernel, this setting may not affect buffering.

In older kernels, the amount of scrollback is fixed, because it is implemented using the video memory to store the scrollback text. You may be able to get more scrollback in each virtual console by reducing the total number of VC's. See linux/tty.h.

[Chris Karakas]

 

Continue to:















TOP
previous page: 118. How Do I Format Man Pages without man or groff?
  
page up: Linux FAQ
  
next page: 120. How To Get Email to Work