pagers

From NetBSD Wiki

Jump to: navigation, search

Pagers are applications that can (by default) accept input text on stdin and present this text in pages at a time, so the user can see all of another program's output when it would otherwise scroll by too fast to view it. Historically terminals did not have scrollback buffers like xterms and wscons terminals do nowadays, so this functionality was essential. Today, pagers are still useful if a tool has more output than the scollback buffer can store, or if the user wants to be able to browse long output more comfortably.

Well-behaved applications that use a pager by default (like man) look at the environment variable PAGER to determine where to send their output to, so it is useful to set this in your favorite shell's startup files. The default pager in NetBSD is more. You might want to change this to less, since it has more functionality than more, odd as it sounds.

See also

  • more, the canonical pager
  • less, a more feature-rich pager
Personal tools