Questions tagged [pager]

96 questions
26
votes
2 answers

What is a pager?

I saw "pager" in several places: less is a terminal pager program on Unix option -P for man Specify which output pager to use. What is a pager? How is it related to and different from a terminal? Thanks.
Tim
  • 101,790
6
votes
1 answer

Is there a pager that stops on form feeds?

Is there a pager that stops on form feeds? When I'm reading RFCs, I can read them like this: $ less -z57 rfc748.txt This will keep the pager lined up with the pages, but this is a bit of a hack, and when I do a search I'd prefer it to line up the…
2
votes
1 answer

How does a command decide when to invoke a pager?

Some shell commands that produce large outputs, such as git diff, seem to cleverly throw up a pager when the output is too long, but not do so if it happens to be small. How does this work? Does each individual program have its own code to measure…
Haterind
  • 169