Jump to content

Terminal pager

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by CodeTalker (talk | contribs) at 01:45, 12 February 2024 (Reverted 1 edit by 2601:B011:2AD:A00:4935:E583:48FB:B1E4 (talk): Rvv). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Screenshot of more, a popular terminal pager

A terminal pager, paging program or simply pager 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.[1] A popular cross-platform terminal pager is more, which can move forwards and backwards in text files but cannot move backwards in pipes.[2] less is a more advanced pager that allows movement forward and backward, and contains extra functions such as search.[3]

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

Examples

[edit]

References

[edit]
  1. ^ "Debian: An overview of file paging applications".
  2. ^ manpage of more
  3. ^ manpage of less
  4. ^ "Bash Reference Manual: Programmable Completion Builtins". gnu.org.
  5. ^ "PG" from linuxmanpages.com at the Wayback Machine (archived 3 September 2014)
  6. ^ "most(1): browse/page through text file - Linux man page". die.net.
  7. ^ "View-Mode".