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: This is just so stupid though. We've had the ability to, you know, readably send text for ages. Before pictures. It's... why.
gollark: How do you *read* that?
gollark: Why do people post long serious bits of text on, of all things, images on Instagram or whatever?
gollark: In my opinion school is mostly kind of terrible.
gollark: > resisting gives the cops no right to kill an otherwise unarmed person<@528315825803755559> I agree. I'd really expect higher standards of not arbitrarily killing people. The UK seems to have this problem... less, at least?

References

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