134 lines · 2.2 KB · Text
RawDownload
.TH PROOF 1.SH NAMEproof \- troff output interpreter.SH SYNOPSIS.B proof[.BI -m mag][.BI -/ nview][.B -F.I dir][.B -d][.I file].SH DESCRIPTION.I Proofreads.IR troff (1)intermediate language from.I fileor standard inputand simulates the resulting pages on the screen..PPAfter a page of text is displayed,.I proofpauses for a command from the keyboard.The typed commands are:.TP \w'newline\ \ \ 'unewlineGo on to next page of text..TP.B -Go back to the previous page..TP.B qQuit..TP.BI p nPrint 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..TP.I nSame as.BI p n\f1..TP.B cClear the screen, then wait for another command..TP.BI m magChange 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..TP.BI x valMove everything.I valscreen pixels to the right (left, if.I valis negative)..TP.BI y valMove everything.I valscreen pixels down (up, if.I valis negative)..TP.BI / nviewSplit the window into.I nviewpieces.  The current page goes into the rightmost, bottommost piece,and previous pages are shown in the other pieces..TP.BI "-F " dirUse.I dirfor fonts instead of.BR /lib/font/bit ..TP.B dToggle the debug flag..PD.PPThese commands are also available, under slightly different form,from a menu on button 3.  The.B panmenu item allows arbitrary positioning of the page:after selecting.BR pan ,press the mouse button again and hold it down while movingthe page to the desired location.  The page will be redisplayedin its entirety when the button is released.Mouse button 1 also pans, without the need for selecting from a menu..PPThe.BR m ,.BR x ,.BR y ,.BR F ,.BR / ,and.B dcommands are also available as command line options..SH FILES.TF \fL/lib/font/bit/MAP.TP.B /lib/font/bit/*fonts.TP.B /lib/font/bit/MAPhow to convert troff output fonts and character namesinto screen fonts and character numbers.SH SOURCE.B /sys/src/cmd/proof.SH SEE ALSO.IR lp (1), .IR gs (1),.IR page (1).brJ. F. Ossanna and B. W. Kernighan,``Troff User's Manual''