Jump to content

Terminal pager

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ghettoblaster (talk | contribs) at 16:23, 15 September 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Screenshot of more, a popular terminal pager

A terminal pager, or paging program, is a computer program used to view (but not modify) the contents of a text file moving down the file one line or one screen at a time. Some, but not all, pagers allow movement up a file. A popular cross-platform terminal pager is more. More can move forwards and backwards in text files but cannot move backwards in pipes.[1] less is a more advanced pager that allows movement forward and backward, and contains extra functions such as search.[2]

Some programs incorporate their own paging function, for example bash's tab completion function.[3]

Examples

References

  1. ^ manpage of more
  2. ^ manpage of less
  3. ^ "Bash Reference Manual: Programmable Completion Builtins". gnu.org.
  4. ^ manpage of pg
  5. ^ "most(1): browse/page through text file - Linux man page". die.net.
  6. ^ "View-Mode".