pg(1): import from trinity/src

This commit is contained in:
dtb
2024-04-21 06:21:15 -06:00
parent 8d9ac33566
commit e26d8e0e1b
3 changed files with 86 additions and 2 deletions

24
docs/pg.1 Normal file
View File

@@ -0,0 +1,24 @@
.TH P 1
.SH NAME
pg \(en paginate
.SH DESCRIPTION
Pg prints standard input to standard output, pausing every 22 lines and waiting
for a line feed from the tty before continuing.
.SH DIAGNOSTICS
Pg returns an unsuccessful exit code if the tty couldn't be opened or if pg was
invoked incorrectly (with any arguments).
.SH RATIONALE
Plan 9 from Bell Labs had p(1), a similar "cooked"-mode paginator (as opposed
to "raw" mode, which a vast majority of paginators use).
.SH SEE ALSO
more(1)