1 .\" Copyright (c) 1991 The Regents of the University of California.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
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.
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
32 .\" @(#)doc-common 5.7 (Berkeley) 8/5/91
126 .\" Punctuation values (3 = closing punctuation, 4 = opening)
139 .\" This is disgusting, troff not parse ``if'' stmt properly
151 .\" Header assembly macros
156 .if !"\\$1"" .ds dT \\$1
160 . if \\$2>=1 .if \\$2<=9 \{\
161 . ds vT FreeBSD Reference Manual
162 . if "\\$2"1" .ds vT FreeBSD General Commands Manual
163 . if "\\$2"2" .ds vT FreeBSD System Calls Manual
164 . if "\\$2"3" .ds vT FreeBSD Library Functions Manual
165 . if "\\$2"4" .ds vT FreeBSD Kernel Interfaces Manual
166 . if "\\$2"5" .ds vT FreeBSD File Formats Manual
167 . if "\\$2"6" .ds vT FreeBSD Games Manual
168 . if "\\$2"7" .ds vT FreeBSD Miscellaneous Information Manual
169 . if "\\$2"8" .ds vT FreeBSD System Manager's Manual
170 . if "\\$2"9" .ds vT FreeBSD Kernel Developer's Manual
173 . if "\\$2"unass" .ds vT DRAFT
174 . if "\\$2"draft" .ds vT DRAFT
175 . if "\\$2"paper" .ds vT UNTITLED
179 . if "\\$3"USD" .ds vT FreeBSD User's Supplementary Documents
180 . if "\\$3"PS1" .ds vT FreeBSD Programmers's Supplementary Documents
181 . if "\\$3"AMD" .ds vT FreeBSD Ancestral Manual Documents
182 . if "\\$3"SMM" .ds vT FreeBSD System Manager's Manual
183 . if "\\$3"URM" .ds vT FreeBSD Reference Manual
184 . if "\\$3"PRM" .ds vT FreeBSD Programmers's Manual
185 . if "\\$3"IND" .ds vT FreeBSD Manual Master Index
186 .\" . if "\\$3"CON" .ds vT FreeBSD Contributed Software Manual
187 .\" . if "\\$3"IMP" .ds vT FreeBSD Implementation Notes
188 .\" . if "\\$3"HOW" .ds vT FreeBSD How Pocket Manual
189 . if "\\$3"LOCAL" .ds vT FreeBSD Local Manual
190 . if "\\$3"tahoe" .as vT \ (Tahoe Architecture)
191 . if "\\$3"vax" .as vT \ (VAX Architecture)
192 . if "\\$3"hp300" .as vT \ (HP300 Architecture)
193 . if "\\$3"i386" .as vT \ (i386 Architecture)
194 . if "\\*(vT"LOCAL" .ds vT \\$3
197 .\" NS Os macro - Operating System (behaviour changes after first call)
198 .\" . ds vT \f(CODRAFT\fP\ \ \-\-\ \ \\*(vT\ \ \-\-\ \ \f(CODRAFT
199 .\" . ds dD \f(CODRAFT\fP\ \ \-\-\ \ \\*(dD\ \ \-\-\ \ \f(CODRAFT
200 .\" .ds vT \s+4\f(CODRAFT\fP\s-4\ \ \-\-\ \ \\*(vT\ \ \-\-\ \ \s+4\f(CODRAFT\s-4
201 .\" .ds dD \s+4\f(CODRAFT\fP\s-4\ \ \-\-\ \ \\*(dD\ \ \-\-\ \ \s+4\f(CODRAFT\s-4
204 .if "\\$1"" .ds oS BSD
207 . if "\\$2"" .as oS \0UNIX
208 . if "\\$2"7th" .as oS \07th Edition
209 . if "\\$2"7" .as oS \07th Edition
210 . if "\\$2"III" .as oS \0System III
211 . if "\\$2"3" .as oS \0System III
212 . if "\\$2"V" .as oS \0System V
213 . if "\\$2"V.2" .as oS \0System V Release 2
214 . if "\\$2"V.3" .as oS \0System V Release 3
215 . if "\\$2"V.4" .as oS \0System V Release 4
218 . if "\\$2"3" .ds oS 3rd Berkeley Distribution
219 . if "\\$2"4" .ds oS 4th Berkeley Distribution
220 . if "\\$2"4.1" .ds oS 4.1 Berkeley Distribution
221 . if "\\$2"4.2" .ds oS 4.2 Berkeley Distribution
222 . if "\\$2"4.3" .ds oS 4.3 Berkeley Distribution
223 . if "\\$2"4.3T" .ds oS 4.3-Tahoe Berkeley Distribution
224 . if "\\$2"4.3R" .ds oS 4.3-Reno Berkeley Distribution
225 . if "\\$2"4.3t" .ds oS 4.3-Tahoe Berkeley Distribution
226 . if "\\$2"4.3r" .ds oS 4.3-Reno Berkeley Distribution
227 . if "\\$2"4.4" .ds oS 4.4BSD
228 . if "\\*(oS"Null" .tm Unknown BSD version ``\\$2'' at line \\n(c.
230 .if "\\$1"FreeBSD" \{\
231 . if "\\$2"2" .ds oS FreeBSD 2.0
233 . el .ie "\\$2"1.0" \c
234 . el .ie "\\$2"1.1" \c
235 . el .ie "\\$2"1.1.5" \c
236 . el .ie "\\$2"1.1.5.1" \c
238 . el .ie "\\$2"2.0" \c
239 . el .ie "\\$2"2.0.5" \c
240 . el .ie "\\$2"2.1" \c
241 . el .ie "\\$2"2.1.5" \c
242 . el .ie "\\$2"2.1.6" \c
243 . el .ie "\\$2"2.1.7" \c
244 . el .ie "\\$2"2.2" \c
245 . el .ie "\\$2"2.2.1" \c
246 . el .ie "\\$2"2.2.2" \c
247 . el .ie "\\$2"2.2.5" \c
248 . el .ie "\\$2"2.2.6" \c
249 . el .ie "\\$2"2.2.7" \c
250 . el .ie "\\$2"2.2.8" \c
251 . el .ie "\\$2"3.0" \c
252 . el .ie "\\$2"3.1" \c
253 . el .ie "\\$2"3.2" \c
254 . el .ie "\\$2"4.0" \c
255 . el .tm Unknown FreeBSD version ``\\$2'' at line \\n(c.
257 .if "\\*(oS"Null" \{\
259 . if !"\\$2"" .as oS \& \\$2
263 .if !"\\*(dD"" .nr gX 1
266 . ds dD \\$1 \\$2 \\$3
269 . if "\\n(mo"1" .ds dD January
270 . if "\\n(mo"2" .ds dD February
271 . if "\\n(mo"3" .ds dD March
272 . if "\\n(mo"4" .ds dD April
273 . if "\\n(mo"5" .ds dD May
274 . if "\\n(mo"6" .ds dD June
275 . if "\\n(mo"7" .ds dD July
276 . if "\\n(mo"8" .ds dD August
277 . if "\\n(mo"9" .ds dD September
278 . if "\\n(mo"10" .ds dD October
279 . if "\\n(mo"11" .ds dD November
280 . if "\\n(mo"12" .ds dD December
282 . as dD \&\ \\n(dy, \\n(_y
292 .if !\\n(cR 'sp \\n(Hmu
293 .tl @\\*(Hs\\*(hT\fP@\\*(Vs\\*(vT\fP@\\*(Hs\\*(hT\fP@
304 . tl @\\*(Hs\\*(oS\fP@\\*(Vs\\*(dD\fP@%@
309 .\" .tm IN 444 fM .k == \\n(.k and nl == \\n(nl
315 . tl @\\*(Hs\\*(oS\fP@\\*(Vs\\*(dD\fP@%@
328 .tm Not a \-mdoc command: .LP
331 .tm Not a \-mdoc command: .PP
334 .tm Not a \-mdoc command: .pp
337 \&\-\& \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
343 \&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
345 .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
350 .tm MDOC REGISTER DUMP
351 .tm Db==\\n(Db register DEBUG MODE
352 .tm L[0-9] registers - stack of list types
363 .tm O[0-9] registers - stack of indent
374 .tm aC==\\n(aC register argument counter (aV/fV)
375 .tm aJ==\\n(aJ register (for vR)
376 .tm aN==\\n(aN register
377 .tm aP==\\n(aP register argument pointer (aV)
378 .tm aT==\\n(aT register argument type
379 .tm aa==\\n(aa local register
380 .tm bK==\\n(bK register - Book Name flag
381 .tm cF==\\n(cF register save current font
382 .tm cI==\\n(cI register - column indent width
383 .tm cZ==\\n(cZ register save current font size
384 .tm dK==\\n(dK register - Date flag
385 .tm d[0-9] registers - display-type stack
396 .tm dZ==\\n(dZ register diversion count
397 .tm fD==\\n(fD register subroutine test (in synopsis only)
398 .tm fV==\\n(fV register argument counter (must set to \\n(.$ prior to
399 .tm fY==\\n(fY register - dick with old style function declarations (fortran)
400 .tm fZ==\\n(fZ register also subroutine count (in synopsis only)
401 .tm h[0-9] register horizontal tag stack (continuous if 1, break if
412 .tm iD==\\n(iD local register
413 .tm iI==\\n(iI local register (indent for inline debug mode)
414 .tm iN==\\n(iN register DEBUG MODE (inline if 1, to stderr if
415 .tm iS==\\n(iS register - indent second command line in a synopsis
416 .tm jK==\\n(jK register - [reference] Journal Name flag
417 .tm jM==\\n(jM local register
418 .tm jN==\\n(jN local register
419 .tm lC==\\n(lC register - list type stack counter
420 .tm lK==\\n(lK register count of lines read from input file
421 .tm nK==\\n(nK register - [reference] issue number flag
422 .tm nU==\\n(nU register count
423 .tm oK==\\n(oK register - [reference] optional information flag
424 .tm oM==\\n(oM register (extension possible)
425 .tm o[0-9] register offset stack (nested tags)
436 .tm oM==\\n(oM register open ended line flag
437 .tm pK==\\n(pK register - [reference] page number flag
438 .tm qK==\\n(qK register - Corporate or Foreign Author flag
439 .tm rK==\\n(rK register - [reference] report flag
440 .tm rS==\\n(rS register - Reference Start flag
441 .tm sM==\\n(sM register - default is one (space mode on)
442 .tm tK==\\n(tK register - reference title flag
443 .tm tP==\\n(tP register tag flag (for diversions)
444 .tm tX==\\n(tX register (initial class)
445 .tm tY==\\n(tY register (next possible lC value)
446 .tm t[0-9] register tag string stack (nested tags)
457 .tm uK==\\n(uK register - reference author(s) counter
458 .tm vK==\\n(vK register - reference volume flag
459 .tm v[0-9] register vertical tag break stack
470 .tm w[0-9] register tag stack (nested tags)
481 .tm xX==\\n(xX local register
482 .tm END OF REGISTER DUMP