blob: 2a1de08411fe06c4a5d56cb53cacc1095b1165b3 [file] [log] [blame]
proof \- troff output interpreter
.B proof
.BI -m mag
.BI -/ nview
.B -F
.I dir
.B -d
.I file
.I Proof
.IR troff (1)
intermediate language from
.I file
or standard input
and simulates the resulting pages on the screen.
After a page of text is displayed,
.I proof
pauses for a command from the keyboard.
The typed commands are:
.TP \w'newline\ \ \ 'u
Go on to next page of text.
.B -
Go back to the previous page.
.B q
.BI p n
Print page
.IR n .
An out-of-bounds page number means the end nearer to that number;
a missing number means the current page;
a signed number means an offset to the current page.
.I n
Same as
.BI p n\f1.
.B c
Clear the screen, then wait for another command.
.BI m mag
Change the magnification at which the output is printed.
Normally it is printed with magnification .9;
.IR mag "=.5"
shrinks it to half size;
.IR mag "=2"
doubles the size.
.BI x val
Move everything
.I val
screen pixels to the right (left, if
.I val
is negative).
.BI y val
Move everything
.I val
screen pixels down (up, if
.I val
is negative).
.BI / nview
Split the window into
.I nview
pieces. The current page goes into the rightmost, bottommost piece,
and previous pages are shown in the other pieces.
.BI "-F " dir
.I dir
for fonts instead of
.BR /lib/font/bit .
.B d
Toggle the debug flag.
These commands are also available, under slightly different form,
from a menu on button 3. The
.B pan
menu item allows arbitrary positioning of the page:
after selecting
.BR pan ,
press the mouse button again and hold it down while moving
the page to the desired location. The page will be redisplayed
in its entirety when the button is released.
Mouse button 1 also pans, without the need for selecting from a menu.
.BR m ,
.BR x ,
.BR y ,
.BR F ,
.BR / ,
.B d
commands are also available as command line options.
.B \*9/font/*
.B \*9/font/MAP
how to convert troff output fonts and character names
into screen fonts and character numbers
.B \*9/src/cmd/proof
.IR lp (1),
.IR gs (1),
.IR page (1)
J. F. Ossanna and B. W. Kernighan,
``Troff User's Manual''