Annotation of src/share/tmac/doc-nroff, Revision 1.1.1.1
1.1 deraadt 1: .\" Copyright (c) 1991 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms, with or without
5: .\" modification, are permitted provided that the following conditions
6: .\" are met:
7: .\" 1. Redistributions of source code must retain the above copyright
8: .\" notice, this list of conditions and the following disclaimer.
9: .\" 2. Redistributions in binary form must reproduce the above copyright
10: .\" notice, this list of conditions and the following disclaimer in the
11: .\" documentation and/or other materials provided with the distribution.
12: .\" 3. All advertising materials mentioning features or use of this software
13: .\" must display the following acknowledgement:
14: .\" This product includes software developed by the University of
15: .\" California, Berkeley and its contributors.
16: .\" 4. Neither the name of the University nor the names of its contributors
17: .\" may be used to endorse or promote products derived from this software
18: .\" without specific prior written permission.
19: .\"
20: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30: .\" SUCH DAMAGE.
31: .\"
32: .\" @(#)doc-nroff 5.6 (Berkeley) 8/5/91
33: .\"
34: .\" tmac.mdoc-nroff
35: .\" %beginstrip%
36: .\"
37: .ds aD \fI
38: .ds aR \fI
39: .ds cM \fB
40: .ds dF \fR
41: .ds eM \fI
42: .ds eR \fR
43: .ds eV \fR
44: .ds fA \fI
45: .ds fD \fB
46: .ds fL \fB
47: .ds fN \fB
48: .ds fP \fP
49: .ds fS
50: .ds fT \fI
51: .ds Hs \fR
52: .ds iC \fB
53: .ds lI \fR
54: .ds lP \fR\|(\fP
55: .ds rP \fR\|)\fP
56: .ds lp \fR\|(\fP
57: .ds rp \fR\|)\fP
58: .ds lB \fR\|[\|\fP
59: .ds rB \fR\|]\fP
60: .ds mL \fB
61: .ds nM \fB
62: .ds nO \fR
63: .ds pA \fI
64: .ds Pu {\ .\ ,\ ;\ :\ (\ )\ [\ ]}
65: .ds rA \fR
66: .ds rT \fI
67: .ds sH \fB
68: .ds sP
69: .ds sY \fB
70: .ds sX \fI
71: .ds tF \fR
72: .ds tN
73: .ds vA \fI
74: .ds Vs \fR
75: .ds vT \fB
76: .ds xR \fR
77: .\" MISCELLANEOUS
78: .nr sI .5i
79: .nr Ti .5i
80: .nr cR 1
81: .nr Pp 1v
82: .ds lS \0\0
83: .nr lS \w'\0\0'u
84: .nr dI 6n
85: .\"
86: .de pL
87: .ie \\n(cR .nr Hm 0
88: .el .nr Hm .5i
89: .nr Fm .5i
90: .nr ll 78n
91: .ll 78n
92: .nr lt 78n
93: .lt 78n
94: .nr po 0i
95: .po 0i
96: .nr dV 1v
97: .ad l
98: .na
99: ..
100: .ds <= \&<\&=
101: .ds >= \&>\&=
102: .ds Rq ''
103: .ds Lq ``
104: .ds ua ^
105: .ds aa \'
106: .ds ga \`
107: .ds sL `
108: .ds sR '
109: .ds q \&"
110: .\" Math stuff
111: .ds Pi pi
112: .ds Ne !=
113: .ds Le <=
114: .ds Ge >=
115: .ds Lt <
116: .ds Gt >
117: .ds Pm +-
118: .ds If infinity
119: .ds Na \fINaN\fP
120: .ds Ba \fR\&|\fP
121:
122: .\"
123: .de hK
124: .nr % 1
125: .ds hT \\*(dT
126: .if !"\\*(cH"Null" \{\
127: . ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
128: . el .as hT \\|(\\|\\*(cH\\|)
129: .\}
130: .if "\\*(cH"Null" .if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
131: .ie \\n(cR \{\
132: . hM
133: . wh -1v fM
134: .\}
135: .el \{\
136: . wh 0 hM
137: . wh -1.167i fM
138: .\}
139: .if \\n(nl==0:\\n(nl==-1 'bp
140: .em lM
141: ..
142: .nr fW \w'0'
143: .de sW
144: .nr sW \w\\$1
145: .ie \\n(sW>=\\n(fW \{\
146: . ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
147: . el .nr sW \\n(sW/\\n(fW
148: .\}
149: .el .nr sW 0
150: ..
151: .de aW
152: .nr sW \w\\*(A\\$1
153: .ie \\n(sW>=\\n(fW \{\
154: . ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
155: . el .nr sW \\n(sW/\\n(fW
156: .\}
157: .el .nr sW 0
158: ..
159: .\" NS Ql macro - Quoted literal define
160: .de Ql
161: .if \\n(aC==0 \{\
162: . ds mN Ql
163: . ds A1 \\$1
164: . ds A2 \\$2
165: . ds A3 \\$3
166: . ds A4 \\$4
167: . ds A5 \\$5
168: . ds A6 \\$6
169: . ds A7 \\$7
170: . ds A8 \\$8
171: . ds A9 \\$9
172: . nr fV \\n(.$
173: . fV
174: .\}
175: .ds qL \&\\*(sL
176: .ds qR \&\\*(sR
177: .En \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
178: ..
179: .\" NS Sh macro - Section Headers
180: .\" NS nS register - Section Header SYNOPSIS flag
181: .\" NS nF register - Section Header FILES flag
182: .\" NS nA register - Section Header SEE ALSO flag
183: .\" NS nT register - Section Header STANDARDS flag
184: .de Sh
185: .nr nS 0
186: .nr sE 0
187: .nr iS 0
188: .ie "\\$1"NAME" \{\
189: . hK
190: ' in 0
191: .\}
192: .el \{\
193: . nr nS 0
194: . nr nA 0
195: . nr nF 0
196: . nr nT 0
197: . nr nY 0
198: . nr aN 0
199: . nr oT 0
200: . if "\\$1"SEE" .nr nA 1
201: . if "\\$1"FILES" .nr nF 1
202: . if "\\$1"STANDARDS" .nr nT 1
203: . if "\\$1"SYNOPSIS" .nr nS 1
204: . if "\\$1"DESCRIPTION" \{\
205: . rr fB
206: . rr Fb
207: . ds Fb
208: . nr fY 0
209: . nr fZ 0
210: . \}
211: . if "\\$1"AUTHORS" .nr nY 1
212: . in 0
213: .\}
214: .pL
215: 'sp
216: .ns
217: .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
218: .if !\\n(cR .ne 3
219: 'fi
220: \&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
221: \&\fP\s0\&
222: .in \\n(.iu+\\n(Tiu
223: .if "\\$1"SEE" .nr sE 1
224: .ns
225: ..