Annotation of src/share/tmac/doc-ditroff, 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-ditroff 5.8 (Berkeley) 8/5/91
33: .\"
34: .\" tmac.mdoc-ditroff
35: .\" %beginstrip%
36: .\"
37: .ds aD \fI\s10
38: .ds aR \f(CO\s10
39: .ds cM \f(CB\s10
40: .ds dF \fR\s10
41: .ds eM \fI\s10
42: .ds eR \fC\s10
43: .ds eV \fC\s10
44: .ds fA \f(CO\s10
45: .ds fD \f(CB\s10
46: .ds fL \f(CB\s10
47: .ds fN \f(CB\s10
48: .ds fP \fP\s0
49: .ds fS \s0
50: .ds fT \f(CO\s10
51: .ds Hs \fR\s10
52: .ds iC \f(CB\s10
53: .ds lI \fC
54: .ds lP \fR\|(\|\fP\s10
55: .ds lp \fR(\fP\s10
56: .ds rP \fR\|)\|\fP\s10
57: .ds rp \fR)\fP\s10
58: .ds lB \fR\^[\^\fP\s10
59: .ds rB \fR\^]\fP\s10
60: .ds mL \fB\s10
61: .ds nM \f(CB\s10
62: .ds nO \fR\s10
63: .ds nT \s0
64: .ds pA \fC\s10
65: .ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
66: .ds rA \fR\s10
67: .ds rT \f(CO\s10
68: .ds sH \fB\s10
69: .ds sP \s0
70: .ds sY \fB\s10
71: .ds sX \fR\s10
72: .ds tF \fR
73: .ds tN \s9
74: .ds vA \fI\s10
75: .ds Vs \fR\s10
76: .ds vT \f(CB\s10
77: .ds xR \fC\s10
78: .tr *\(**
79: .nr sI \w\fC,u*5
80: .nr Ti \n(sIu
81: .nr Pp .5v
82: .ds lS \0
83: .nr lS \w'\0'u
84: .nr dI 6n
85: .de pL
86: .nr Hm .5i
87: .nr Fm .5i
88: .nr ll 6.5i
89: .ll 6.5i
90: .nr lt 6.5i
91: .lt 6.5i
92: .nr po 1i
93: .po 1.i
94: .nr dV .5v
95: ..
96: .ds <= \(<=
97: .ds >= \(>=
98: .ds Lq \&``
99: .ds Rq \&''
100: .ds ua \(ua
101: .ds aa \(aa
102: .ds ga \(ga
103: .ds sR \&'
104: .ds sL \&`
105: .ds q \&"
106: .\" Math stuff
107: .ds Pi \(*p
108: .ds Ne \(!=
109: .ds Le \(<=
110: .ds Ge \(>=
111: .ds Lt <
112: .ds Gt >
113: .ds Pm \(+-
114: .ds If \(if
115: .ds Na \fINaN\fP
116: .ds Ba \fR\&|\fP
117: .\"
118: .nr gX 0
119: .de hK
120: .ds hT \\*(dT
121: .if !"\\*(cH"Null" \{\
122: . ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
123: . el .as hT \\|(\\|\\*(cH\\|)
124: .\}
125: .if "\\*(cH"Null" \{\
126: . if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
127: .\}
128: .wh 0 hM
129: .wh -1.25i fM
130: .\" .tm Here is gX == \\n(gX
131: .ie \\n(gX==1 \{\
132: . rm n1
133: . if \\n(.g .br
134: . if !\\n(.g .bp
135: .\}
136: .el \{\
137: . if \\n(.g .br
138: . if !\\n(.g 'bp
139: .\}
140: .nr % 1
141: .nr gX 0
142: .em lM
143: ..
144: .\"
145: .nr fW \w\fC0
146: .de sW
147: .nr sW \w\fC\\$1
148: .ie \\n(sW>=\\n(fW \{\
149: . ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
150: . el .nr sW \\n(sW/\\n(fW
151: .\}
152: .el \{\
153: . ie \\n(sW>0 .nr sW 1
154: . el .nr sW 0
155: .\}
156: ..
157: .\"
158: .de aW
159: .nr sW \w\fC\\*(A\\$1
160: .ie \\n(sW>=\\n(fW \{\
161: . ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
162: . el .nr sW \\n(sW/\\n(fW
163: .\}
164: .el \{\
165: . ie \\n(sW>0 .nr sW 1
166: . el .nr sW 0
167: .\}
168: ..
169: .\" NS Ql macro - Quoted literal define
170: .de Ql
171: .if \\n(aC==0 \{\
172: . ds mN Ql
173: . ds A1 \\$1
174: . ds A2 \\$2
175: . ds A3 \\$3
176: . ds A4 \\$4
177: . ds A5 \\$5
178: . ds A6 \\$6
179: . ds A7 \\$7
180: . ds A8 \\$8
181: . nr fV \\n(.$
182: . fV
183: .\}
184: .nr aP \\n(aP+1
185: .aW \\n(aP
186: .nr aP \\n(aP-1
187: .if \\n(sW>2 .Li
188: .if \\n(sW<=2 \{\
189: .\" Db on
190: . if (\\n(aP>0) \{\
191: . ds A\\n(aP Li
192: . nr aP \\n(aP -1
193: . \}
194: . if (\\n(aP==0) \{\
195: . rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
196: . rm S1 S2 S3 S4 S5 S6 S7 S8 S9
197: . rn A8 A9
198: . rn A7 A8
199: . rn A6 A7
200: . rn A5 A6
201: . rn A4 A5
202: . rn A3 A4
203: . rn A2 A3
204: . rn A1 A2
205: . ds A1 Li
206: . nr fV \\n(aC+1
207: . nr aC 0
208: . fV
209: . \}
210: . ds qL \&\\*(sL
211: . ds qR \&\\*(sR
212: . En
213: .\" Db off
214: .\}
215: ..
216: .\" NS Sh macro - Section Headers
217: .\" NS nS register - Section Header SYNOPSIS flag
218: .\" NS nF register - Section Header FILES flag
219: .\" NS nA register - Section Header SEE ALSO flag
220: .\" NS nT register - Section Header STANDARDS flag
221: .de Sh
222: .nr nS 0
223: .nr sE 0
224: .nr iS 0
225: 'ad
226: .ie "\\$1"NAME" \{\
227: . hK
228: ' in 0
229: .\}
230: .el \{\
231: . nr nS 0
232: . nr nA 0
233: . nr nF 0
234: . nr nT 0
235: . nr nY 0
236: . nr oT 0
237: . if "\\$1"SYNOPSIS" \{\
238: . na
239: . nr nS 1
240: . \}
241: . if "\\$1"DESCRIPTION" \{\
242: . nr fY 0
243: . nr fZ 0
244: . nr fB 0
245: . nr Fb 0
246: . ds Fb
247: . \}
248: . if "\\$1"SEE" \{\
249: . nr nA 1
250: . na
251: . \}
252: . if "\\$1"FILES" .nr nF 1
253: . if "\\$1"STANDARDS" .nr nT 1
254: . if "\\$1"AUTHORS" .nr nY 1
255: . if "\\$1"SEE" .nr sE 1
256: . in 0
257: . nr aN 0
258: .\}
259: .pL
260: 'sp
261: .ns
262: .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
263: .if !\\n(cR .ne 3
264: 'fi
265: \&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
266: \&\fP\s0\&
267: .in \\n(.iu+\\n(Tiu
268: .ns
269: ..