1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
.TH PROOF 9.1
.CT 1 writing_output
.SH NAME
proof \- troff output interpreter for 5620
.SH SYNOPSIS
.B proof
[
.BI -f fonts
]
[
.I file
]
.SH DESCRIPTION
.I Proof
reads
.IR troff (1)
intermediate language from
.I file
or standard input
and simulates the resulting pages on the screen.
If no file name is given and standard input is a terminal,
proof terminates immediately leaving a `proof layer'.
By invoking
.I proof
in a proof layer you can avoid download time.
.PP
Fonts are loaded as required.
The usual
.IR mux (9.1)
font,
.BR defont ,
is used for unknown fonts.
Option
.B -f
preloads fonts.
Names are given relative to
.F /usr/jerq/font
and are separated by commas.
The most-used fonts are
.LR -fR.10,I.10,B.10,S.10 .
.PP
After a layer's worth of text is displayed,
.I proof
pauses for a command from keyboard or mouse button 3.
The typed versions of commands are:
.TP \w'newline\ 'u
newline
Go on to next portion of text.
(Button 3 equivalent:
.LR more .)
.TP
.B q
Quit, leaving a proof layer.
.TP
.B x
Exit and restart the regular terminal program.
(Equivalent to
.L q
followed by
.LR "term mux" ;
see
.IR term (9.1)).
.TP
.BI p n
Print page
.I n.
An out-of-bounds page number means the end nearer to that number;
a missing number means page 0;
a signed number means an offset to the current page.
.PP
Button 1 gets a scroll box, which represents a full page of text.
An interior rectangle shows what part of the page is now visible.
The interior rectangle moves with the mouse, causing the layer to
scroll both vertically and horizontally.
Button 2 gets a speedometer.
The bar of the speedometer moves with the mouse
to control the rate at which new information is displayed.
.SH EXAMPLES
.TP
.L
troff -ms memo | proof
Format a memo and display it.
.TP
.L
(eqn memo | troff -ms) 2>diags | proof
Display a memo with equations.
Avoid sending diagnostics to the screen; see
.SM BUGS.
.SH FILES
.TF /usr/jerq/font/.missing
.TP
.F /usr/jerq/font/*
fonts
.TP
.F /usr/jerq/font/.missing
list of referenced but unconverted fonts
.SH SEE ALSO
.IR lp (1),
.IR font (6),
.IR reader (9.7),
.IR psi (9.1)
.br
Brian W. Kernighan,
.I A Typesetter-independent Troff
.SH BUGS
.I Proof
breaks if other messages are directed to its layer.
In particular, unredirected
.I troff
diagnostics will break the pipeline
.LR "troff | proof" .
.br
Windowing can get confused if the
.I troff
output is not approximately
sorted in ascending
.IR y -order.
.br
A proof layer imitates
.LR "term 33" ,
not
.IR mux .
Among other difficulties, it will not be reusable if downloaded
across the network.
|