blob: 01e8e351212c5a4611134057303305d261a12797 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH PROOF 1
2.SH NAME
3proof \- troff output interpreter
4.SH SYNOPSIS
5.B proof
6[
7.BI -m mag
8]
9[
10.BI -/ nview
11]
12[
13.B -F
14.I dir
15]
16[
17.B -d
18]
19[
20.I file
21]
22.SH DESCRIPTION
23.I Proof
24reads
25.IR troff (1)
26intermediate language from
27.I file
28or standard input
29and simulates the resulting pages on the screen.
30.PP
31After a page of text is displayed,
32.I proof
33pauses for a command from the keyboard.
34The typed commands are:
35.TP \w'newline\ \ \ 'u
36newline
37Go on to next page of text.
38.TP
39.B -
40Go back to the previous page.
41.TP
42.B q
43Quit.
44.TP
45.BI p n
46Print page
47.IR n .
48An out-of-bounds page number means the end nearer to that number;
49a missing number means the current page;
50a signed number means an offset to the current page.
51.TP
52.I n
53Same as
54.BI p n\f1.
55.TP
56.B c
57Clear the screen, then wait for another command.
58.TP
59.BI m mag
60Change the magnification at which the output is printed.
61Normally it is printed with magnification .9;
62.IR mag "=.5"
63shrinks it to half size;
64.IR mag "=2"
65doubles the size.
66.TP
67.BI x val
68Move everything
69.I val
70screen pixels to the right (left, if
71.I val
72is negative).
73.TP
74.BI y val
75Move everything
76.I val
77screen pixels down (up, if
78.I val
79is negative).
80.TP
81.BI / nview
82Split the window into
83.I nview
84pieces. The current page goes into the rightmost, bottommost piece,
85and previous pages are shown in the other pieces.
86.TP
87.BI "-F " dir
88Use
89.I dir
90for fonts instead of
91.BR /lib/font/bit .
92.TP
93.B d
94Toggle the debug flag.
95.PD
96.PP
97These commands are also available, under slightly different form,
98from a menu on button 3. The
99.B pan
100menu item allows arbitrary positioning of the page:
101after selecting
102.BR pan ,
103press the mouse button again and hold it down while moving
104the page to the desired location. The page will be redisplayed
105in its entirety when the button is released.
106Mouse button 1 also pans, without the need for selecting from a menu.
107.PP
108The
109.BR m ,
110.BR x ,
111.BR y ,
112.BR F ,
113.BR / ,
114and
115.B d
116commands are also available as command line options.
117.SH FILES
118.TF /lib/font/bit/MAP
119.TP
120.B /lib/font/bit/*
121fonts
122.TP
123.B /lib/font/bit/MAP
124how to convert troff output fonts and character names
125into screen fonts and character numbers
126.SH SOURCE
127.B /usr/local/plan9/src/cmd/proof
128.SH SEE ALSO
129.IR lp (1),
130.IR gs (1),
131.IR page (1)
132.br
133J. F. Ossanna and B. W. Kernighan,
134``Troff User's Manual''