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]

Screenshot of more, a popular terminal pager

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

Examples

gollark: I dislike China, but that doesn't mean I have something against individual Chinese people.
gollark: ... yes?
gollark: You can dislike a country without disliking its majority ethnic group, you know?
gollark: I mean, there are natural resources in lots of countries.
gollark: That seems like more of a side thing than something entirely required for operation.

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.