Remove no longer needed catman periodic via 'make upgrade'.
[dragonfly.git] / contrib / groff / tmac / doc-syms
1 .\" Copyright (c) 1991, 1993
2 .\"     The Regents of the University of California.  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. [Deleted.  See
13 .\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
14 .\" 4. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     @(#)doc-syms    8.1 (Berkeley) 06/08/93
31 .\"
32 .\"     %beginstrip%
33 .
34 .
35 .eo
36 .
37 .\" NS Ux user macro
38 .\" NS   print UNIX
39 .\" NS
40 .\" NS modifies:
41 .\" NS   doc-arg-ptr
42 .\" NS   doc-curr-font
43 .\" NS   doc-curr-size
44 .\" NS   doc-macro-name
45 .\" NS
46 .\" NS local variable:
47 .\" NS   doc-str-Ux
48 .\" NS
49 .\" NS width register `Ux' defined in doc-common
50 .
51 .de Ux
52 .  nr doc-curr-font \n[.f]
53 .  nr doc-curr-size \n[.ps]
54 .  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
55 .
56 .  if !\n[doc-arg-limit] \
57 .    if \n[.$] \{\
58 .      ds doc-macro-name Ux
59 .      doc-parse-args \$@
60 .    \}
61 .
62 .  \" replace current argument with result
63 .  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
64 .  nr doc-type\n[doc-arg-ptr] 2
65 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
66 .
67 .  \" recompute space vector for remaining arguments
68 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
69 .  nr doc-arg-limit \n[doc-arg-ptr]
70 .  if \n[doc-num-args] \
71 .    doc-parse-space-vector
72 .
73 .  doc-print-recursive
74 ..
75 .
76 .
77 .\" NS Bx user macro
78 .\" NS   print BSD (fix smaller nroff version)
79 .\" NS
80 .\" NS modifies:
81 .\" NS   doc-arg-ptr
82 .\" NS   doc-curr-font
83 .\" NS   doc-curr-size
84 .\" NS   doc-macro-name
85 .\" NS
86 .\" NS local variable:
87 .\" NS   doc-str-Bx
88 .\" NS   doc-str-Bx1
89 .\" NS   doc-str-Bx-XXX
90 .\" NS
91 .\" NS width register `Bx' defined in doc-common
92 .
93 .ds doc-str-Bx-Reno  \-Reno
94 .ds doc-str-Bx-reno  \-Reno
95 .ds doc-str-Bx-Tahoe \-Tahoe
96 .ds doc-str-Bx-tahoe \-Tahoe
97 .ds doc-str-Bx-Lite  \-Lite
98 .ds doc-str-Bx-lite  \-Lite
99 .ds doc-str-Bx-Lite2 \-Lite2
100 .ds doc-str-Bx-lite2 \-Lite2
101 .
102 .de Bx
103 .  nr doc-curr-font \n[.f]
104 .  nr doc-curr-size \n[.ps]
105 .  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
106 .
107 .  \" default value if no argument
108 .  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
109 .
110 .  if !\n[doc-arg-limit] \
111 .    if \n[.$] \{\
112 .      ds doc-macro-name Bx
113 .      doc-parse-args \$@
114 .    \}
115 .
116 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
117 .    nr doc-arg-ptr +1
118 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
119 .      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
120 .        as doc-str-Bx1 " (currently in alpha test)
121 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
122 .        as doc-str-Bx1 " (currently in beta test)
123 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
124 .        as doc-str-Bx1 " (currently under development)
125 .      el \{\
126 .        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
127 .        as doc-str-Bx1 BSD\*[doc-str-Bx]
128 .
129 .        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
130 .          nr doc-arg-ptr +1
131 .          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
132 .            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
133 .              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
134 .                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
135 .              el \
136 .                nr doc-arg-ptr -1
137 .            \}
138 .            el \
139 .              nr doc-arg-ptr -1
140 .          \}
141 .          el \
142 .            nr doc-arg-ptr -1
143 .    \}\}\}\}\}
144 .    el \
145 .      nr doc-arg-ptr -1
146 .  \}
147 .
148 .  \" replace current argument with result
149 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
150 .  nr doc-type\n[doc-arg-ptr] 2
151 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
152 .
153 .  \" recompute space vector for remaining arguments
154 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
155 .  nr doc-arg-limit \n[doc-arg-ptr]
156 .  if \n[doc-num-args] \
157 .    doc-parse-space-vector
158 .
159 .  doc-print-recursive
160 ..
161 .
162 .
163 .\" NS Ud user macro (not parsed, not callable)
164 .\" NS   print "currently under development" (HISTORY section)
165 .\" NS
166 .\" NS width register `Ud' defined in doc-common
167 .
168 .de Ud
169 .  nop \&currently under development.
170 ..
171 .
172 .
173 .\" NS At user macro
174 .\" NS   print AT&T UNIX
175 .\" NS
176 .\" NS modifies:
177 .\" NS   doc-arg-ptr
178 .\" NS   doc-curr-font
179 .\" NS   doc-curr-size
180 .\" NS   doc-macro-name
181 .\" NS
182 .\" NS local variable:
183 .\" NS   doc-str-At
184 .\" NS   doc-str-At1
185 .\" NS   doc-str-At-XXX
186 .\" NS
187 .\" NS width register `At' defined in doc-common
188 .
189 .ds doc-str-At-32v \&Version\~32V
190 .as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
191 .ds doc-str-At-v1  \&Version\~1
192 .as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
193 .ds doc-str-At-v2  \&Version\~2
194 .as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
195 .ds doc-str-At-v3  \&Version\~3
196 .as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
197 .ds doc-str-At-v4  \&Version\~4
198 .as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
199 .ds doc-str-At-v5  \&Version\~5
200 .as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
201 .ds doc-str-At-v6  \&Version\~6
202 .as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
203 .ds doc-str-At-v7  \&Version\~7
204 .as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
205 .ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
206 .as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
207 .ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~1
208 .as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
209 .ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~2
210 .as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
211 .ds doc-str-At-V.3 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~3
212 .as doc-str-At-V.3 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
213 .ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~4
214 .as doc-str-At-V.4 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
215 .
216 .de At
217 .  nr doc-curr-font \n[.f]
218 .  nr doc-curr-size \n[.ps]
219 .  ds doc-str-At \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
220 .
221 .  \" default value if no argument
222 .  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
223 .
224 .  if !\n[doc-arg-limit] \
225 .    if \n[.$] \{\
226 .      ds doc-macro-name At
227 .      doc-parse-args \$@
228 .    \}
229 .
230 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
231 .    nr doc-arg-ptr +1
232 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
233 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
234 .        ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
235 .          ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
236 .        el \{\
237 .          tmc mdoc warning: .At: Unknown AT&T UNIX version
238 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
239 .          nr doc-arg-ptr -1
240 .      \}\}
241 .      el \
242 .        nr doc-arg-ptr -1
243 .    \}
244 .    el \
245 .      nr doc-arg-ptr -1
246 .  \}
247 .
248 .  \" replace current argument with result
249 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
250 .  nr doc-type\n[doc-arg-ptr] 2
251 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
252 .
253 .  \" recompute space vector for remaining arguments
254 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
255 .  nr doc-arg-limit \n[doc-arg-ptr]
256 .  if \n[doc-num-args] \
257 .    doc-parse-space-vector
258 .
259 .  doc-print-recursive
260 ..
261 .
262 .
263 .\" NS Dx user macro
264 .\" NS   print DragonFly
265 .\" NS
266 .\" NS modifies:
267 .\" NS   doc-arg-ptr
268 .\" NS   doc-curr-font
269 .\" NS   doc-curr-size
270 .\" NS   doc-macro-name
271 .\" NS
272 .\" NS local variable:
273 .\" NS   doc-str-Dx
274 .\" NS   doc-str-Dx1
275 .\" NS
276 .\" NS width register `Dx' defined in doc-common
277 .
278 .\" we use the doc-operating-system-DragonFly-* strings defined in doc-common
279 .
280 .de Dx
281 .  nr doc-curr-font \n[.f]
282 .  nr doc-curr-size \n[.ps]
283 .  ds doc-str-Dx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
284 .
285 .  \" default value if no argument
286 .  ds doc-str-Dx1 \*[doc-Tn-font-size]\%DragonFly\*[doc-str-Dx]
287 .
288 .  if !\n[doc-arg-limit] \
289 .    if \n[.$] \{\
290 .      ds doc-macro-name Dx
291 .      doc-parse-args \$@
292 .    \}
293 .
294 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
295 .    nr doc-arg-ptr +1
296 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
297 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
298 .        ie d doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]] \
299 .          as doc-str-Dx1 \~\*[doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]]]
300 .        el \{\
301 .          tmc mdoc warning: .Dx: Unknown DragonFly version
302 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
303 .          as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
304 .      \}\}
305 .      el \
306 .        as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
307 .    \}
308 .    el \
309 .      nr doc-arg-ptr -1
310 .  \}
311 .
312 .  \" replace current argument with result
313 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Dx1]
314 .  nr doc-type\n[doc-arg-ptr] 2
315 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
316 .
317 .  \" recompute space vector for remaining arguments
318 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
319 .  nr doc-arg-limit \n[doc-arg-ptr]
320 .  if \n[doc-num-args] \
321 .    doc-parse-space-vector
322 .
323 .  doc-print-recursive
324 ..
325 .
326 .
327 .\" NS Fx user macro
328 .\" NS   print FreeBSD
329 .\" NS
330 .\" NS modifies:
331 .\" NS   doc-arg-ptr
332 .\" NS   doc-curr-font
333 .\" NS   doc-curr-size
334 .\" NS   doc-macro-name
335 .\" NS
336 .\" NS local variable:
337 .\" NS   doc-str-Fx
338 .\" NS   doc-str-Fx1
339 .\" NS
340 .\" NS width register `Fx' defined in doc-common
341 .
342 .\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
343 .
344 .de Fx
345 .  nr doc-curr-font \n[.f]
346 .  nr doc-curr-size \n[.ps]
347 .  ds doc-str-Fx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
348 .
349 .  \" default value if no argument
350 .  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
351 .
352 .  if !\n[doc-arg-limit] \
353 .    if \n[.$] \{\
354 .      ds doc-macro-name Fx
355 .      doc-parse-args \$@
356 .    \}
357 .
358 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
359 .    nr doc-arg-ptr +1
360 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
361 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
362 .        ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
363 .          as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
364 .        el \{\
365 .          tmc mdoc warning: .Fx: Unknown FreeBSD version
366 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
367 .          as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
368 .      \}\}
369 .      el \
370 .        as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
371 .    \}
372 .    el \
373 .      nr doc-arg-ptr -1
374 .  \}
375 .
376 .  \" replace current argument with result
377 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
378 .  nr doc-type\n[doc-arg-ptr] 2
379 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
380 .
381 .  \" recompute space vector for remaining arguments
382 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
383 .  nr doc-arg-limit \n[doc-arg-ptr]
384 .  if \n[doc-num-args] \
385 .    doc-parse-space-vector
386 .
387 .  doc-print-recursive
388 ..
389 .
390 .
391 .\" NS Nx user macro
392 .\" NS   print NetBSD
393 .\" NS
394 .\" NS modifies:
395 .\" NS   doc-arg-ptr
396 .\" NS   doc-curr-font
397 .\" NS   doc-curr-size
398 .\" NS   doc-macro-name
399 .\" NS
400 .\" NS local variable:
401 .\" NS   doc-str-Nx
402 .\" NS   doc-str-Nx1
403 .\" NS
404 .\" NS width register `Nx' defined in doc-common
405 .
406 .\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
407 .
408 .de Nx
409 .  nr doc-curr-font \n[.f]
410 .  nr doc-curr-size \n[.ps]
411 .  ds doc-str-Nx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
412 .
413 .  \" default value if no argument
414 .  ds doc-str-Nx1 \*[doc-Tn-font-size]\%N\s[\n[doc-curr-size]u]et
415 .  as doc-str-Nx1 \*[doc-Tn-font-size]BSD\*[doc-str-Nx]
416 .
417 .  if !\n[doc-arg-limit] \
418 .    if \n[.$] \{\
419 .      ds doc-macro-name Nx
420 .      doc-parse-args \$@
421 .    \}
422 .
423 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
424 .    nr doc-arg-ptr +1
425 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
426 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
427 .        ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
428 .          as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
429 .        el \{\
430 .          tmc mdoc warning: .Nx: Unknown NetBSD version
431 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
432 .          as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
433 .      \}\}
434 .      el \
435 .        as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
436 .    \}
437 .    el \
438 .      nr doc-arg-ptr -1
439 .  \}
440 .
441 .  \" replace current argument with result
442 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
443 .  nr doc-type\n[doc-arg-ptr] 2
444 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
445 .
446 .  \" recompute space vector for remaining arguments
447 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
448 .  nr doc-arg-limit \n[doc-arg-ptr]
449 .  if \n[doc-num-args] \
450 .    doc-parse-space-vector
451 .
452 .  doc-print-recursive
453 ..
454 .
455 .
456 .\" NS Ox user macro
457 .\" NS   print OpenBSD
458 .\" NS
459 .\" NS modifies:
460 .\" NS   doc-arg-ptr
461 .\" NS   doc-curr-font
462 .\" NS   doc-curr-size
463 .\" NS   doc-macro-name
464 .\" NS
465 .\" NS local variable:
466 .\" NS   doc-str-Ox
467 .\" NS   doc-str-Ox1
468 .\" NS
469 .\" NS width register `Ox' defined in doc-common
470 .
471 .de Ox
472 .  nr doc-curr-font \n[.f]
473 .  nr doc-curr-size \n[.ps]
474 .  ds doc-str-Ox \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
475 .
476 .  \" default value if no argument
477 .  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
478 .
479 .  if !\n[doc-arg-limit] \
480 .    if \n[.$] \{\
481 .      ds doc-macro-name Ox
482 .      doc-parse-args \$@
483 .    \}
484 .
485 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
486 .    nr doc-arg-ptr +1
487 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
488 .      as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
489 .    el \
490 .      nr doc-arg-ptr -1
491 .  \}
492 .
493 .  \" replace current argument with result
494 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
495 .  nr doc-type\n[doc-arg-ptr] 2
496 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
497 .
498 .  \" recompute space vector for remaining arguments
499 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
500 .  nr doc-arg-limit \n[doc-arg-ptr]
501 .  if \n[doc-num-args] \
502 .    doc-parse-space-vector
503 .
504 .  doc-print-recursive
505 ..
506 .
507 .
508 .\" NS Bsx user macro
509 .\" NS   print BSD/OS
510 .\" NS
511 .\" NS modifies:
512 .\" NS   doc-arg-ptr
513 .\" NS   doc-curr-font
514 .\" NS   doc-curr-size
515 .\" NS   doc-macro-name
516 .\" NS
517 .\" NS local variable:
518 .\" NS   doc-str-Bsx
519 .\" NS   doc-str-Bsx1
520 .\" NS
521 .\" NS width register `Bsx' defined in doc-common
522 .
523 .de Bsx
524 .  nr doc-curr-font \n[.f]
525 .  nr doc-curr-size \n[.ps]
526 .  ds doc-str-Bsx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
527 .
528 .  \" default value if no argument
529 .  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
530 .
531 .  if !\n[doc-arg-limit] \
532 .    if \n[.$] \{\
533 .      ds doc-macro-name Bsx
534 .      doc-parse-args \$@
535 .    \}
536 .
537 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
538 .    nr doc-arg-ptr +1
539 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
540 .      as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
541 .    el \
542 .      nr doc-arg-ptr -1
543 .  \}
544 .
545 .  \" replace current argument with result
546 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
547 .  nr doc-type\n[doc-arg-ptr] 2
548 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
549 .
550 .  \" recompute space vector for remaining arguments
551 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
552 .  nr doc-arg-limit \n[doc-arg-ptr]
553 .  if \n[doc-num-args] \
554 .    doc-parse-space-vector
555 .
556 .  doc-print-recursive
557 ..
558 .
559 .
560 .\" The Bt macro should go away now
561 .
562 .\" NS Bt user macro (not parsed, not callable)
563 .\" NS   print "is currently in beta test." (HISTORY section)
564 .\" NS
565 .\" NS width register `Bt' defined in doc-common
566 .
567 .de Bt
568 .  nop \&is currently in beta test.
569 ..
570 .
571 .
572 .\" NS Px user macro
573 .\" NS   print POSIX
574 .
575 .ds Px \*[doc-Tn-font-size]\%POSIX
576 .
577 .
578 .\" NS Ai user macro
579 .\" NS   print ANSI
580 .
581 .ds Ai \*[doc-Tn-font-size]\%ANSI
582 .
583 .
584 .\" NS St user macro
585 .\" NS   standards (posix, ansi - formal standard names)
586 .\" NS
587 .\" NS modifies:
588 .\" NS   doc-arg-ptr
589 .\" NS   doc-curr-font
590 .\" NS   doc-curr-size
591 .\" NS   doc-macro-name
592 .\" NS
593 .\" NS local variable:
594 .\" NS   doc-reg-St
595 .\" NS   doc-str-St
596 .\" NS   doc-str-St1
597 .\" NS   doc-str-St-XXX
598 .\" NS
599 .\" NS width register `St' defined in doc-common
600 .
601 .\" ANSI/ISO C
602 .ds doc-str-St--ansiC-89       \*[Ai] \*[doc-str-St]X\^3.159-1989
603 .as doc-str-St--ansiC-89       " (\*[Lq]\)\*[Ai]\~C89\*[doc-str-St]\*[Rq])
604 .als doc-str-St--ansiC doc-str-St--ansiC-89
605 .ds doc-str-St--isoC           \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1990
606 .as doc-str-St--isoC           " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St]\*[Rq])
607 .als doc-str-St--isoC-90 doc-str-St--isoC
608 .ds doc-str-St--isoC-99        \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
609 .as doc-str-St--isoC-99        " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
610 .ds doc-str-St--isoC-amd1       \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/AMD1:1995
611 .as doc-str-St--isoC-amd1       " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Amendment 1\*[Rq])
612 .ds doc-str-St--isoC-tcor1      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/TCOR1:1994
613 .as doc-str-St--isoC-tcor1      " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 1\*[Rq])
614 .ds doc-str-St--isoC-tcor2      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/TCOR2:1995
615 .as doc-str-St--isoC-tcor2      " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 2\*[Rq])
616 .
617 .\" POSIX Part 1: System API
618 .ds doc-str-St--p1003.1        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
619 .as doc-str-St--p1003.1        " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
620 .ds doc-str-St--p1003.1-88     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1988
621 .as doc-str-St--p1003.1-88     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
622 .ds doc-str-St--p1003.1-90     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1990
623 .as doc-str-St--p1003.1-90     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
624 .als doc-str-St--iso9945-1-90 doc-str-St--p1003.1-90
625 .ds doc-str-St--p1003.1b-93    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b-1993
626 .as doc-str-St--p1003.1b-93    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
627 .ds doc-str-St--p1003.1c-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1c-1995
628 .as doc-str-St--p1003.1c-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
629 .ds doc-str-St--p1003.1i-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1i-1995
630 .as doc-str-St--p1003.1i-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
631 .ds doc-str-St--p1003.1-96     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1996
632 .as doc-str-St--p1003.1-96     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
633 .als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96
634 .ds doc-str-St--p1003.1g-2000  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g-2000
635 .as doc-str-St--p1003.1g-2000  " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
636 .ds doc-str-St--p1003.1-2001   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2001
637 .as doc-str-St--p1003.1-2001   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
638 .ds doc-str-St--p1003.1-2004   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2004
639 .as doc-str-St--p1003.1-2004   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
640 .
641 .\" POSIX Part 2: Shell and Utilities
642 .ds doc-str-St--p1003.2        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
643 .as doc-str-St--p1003.2        " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
644 .ds doc-str-St--p1003.2-92     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
645 .as doc-str-St--p1003.2-92     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
646 .ds doc-str-St--p1003.2a-92    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2a-1992
647 .as doc-str-St--p1003.2a-92    " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
648 .ds doc-str-St--iso9945-2-93   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-2:1993
649 .as doc-str-St--iso9945-2-93   " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
650 .
651 .\" X/Open
652 .ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
653 .as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
654 .ds doc-str-St--susv3          Version\~3 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
655 .as doc-str-St--susv3          " (\*[Lq]\*[doc-Tn-font-size]SUSv3\*[doc-str-St]\*[Rq])
656 .ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
657 .as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
658 .ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5
659 .as doc-str-St--xbd5           " (\*[Lq]\*[doc-Tn-font-size]XBD\*[doc-str-St]\^5\*[Rq])
660 .ds doc-str-St--xcu5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Commands and Utilities Issue\~5
661 .as doc-str-St--xcu5           " (\*[Lq]\*[doc-Tn-font-size]XCU\*[doc-str-St]\^5\*[Rq])
662 .ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4, Version\~2
663 .as doc-str-St--xcurses4.2     " (\*[Lq]\*[doc-Tn-font-size]XCURSES\*[doc-str-St]\^4.2\*[Rq])
664 .ds doc-str-St--xns5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5
665 .as doc-str-St--xns5           " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5\*[Rq])
666 .ds doc-str-St--xns5.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5.2
667 .as doc-str-St--xns5.2         " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5.2\*[Rq])
668 .ds doc-str-St--xpg3           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
669 .as doc-str-St--xpg3           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
670 .ds doc-str-St--xpg4           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
671 .as doc-str-St--xpg4           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
672 .ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4, Version\~2
673 .as doc-str-St--xpg4.2         " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
674 .ds doc-str-St--xsh5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
675 .as doc-str-St--xsh5           " (\*[Lq]\*[doc-Tn-font-size]XSH\*[doc-str-St]\^5\*[Rq])
676 .
677 .\" Miscellaneous
678 .ds doc-str-St--ieee754        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
679 .ds doc-str-St--ieee1275-94     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1275-1994
680 .as doc-str-St--ieee1275-94     " (\*[Lq]\*[doc-Tn-font-size]Open Firmware\*[doc-str-St]\*[Rq])
681 .ds doc-str-St--iso8802-3      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 8802-3:1989
682 .
683 .de St
684 .  if !\n[doc-arg-limit] \{\
685 .    ie \n[.$] \{\
686 .      ds doc-macro-name St
687 .      doc-parse-args \$@
688 .    \}
689 .    el \
690 .      doc-St-usage
691 .  \}
692 .
693 .  if !\n[doc-arg-limit] \
694 .    return
695 .
696 .  nr doc-arg-ptr +1
697 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
698 .    nr doc-curr-font \n[.f]
699 .    nr doc-curr-size \n[.ps]
700 .    ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
701 .
702 .    ds doc-str-St1
703 .    ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
704 .      ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
705 .        ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
706 .      el \{\
707 .        tmc "mdoc warning: .St: Unknown standard abbreviation
708 .        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
709 .        tm1 "              Please refer to the groff_mdoc(7) manpage for a
710 .        tm1 "              list of available standard abbreviations.
711 .    \}\}
712 .    el \
713 .      doc-St-usage
714 .
715 .    \" replacing argument with result
716 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
717 .
718 .    doc-print-recursive
719 .  \}
720 .  el \{\
721 .    doc-St-usage
722 .    doc-reset-args
723 .  \}
724 ..
725 .
726 .
727 .\" NS doc-St-usage macro
728 .
729 .de doc-St-usage
730 .  tm1 "Usage: .St standard (#\n[.c])
731 .  tm1 "       Please refer to the groff_mdoc(7) manpage for a list of
732 .  tm1 "       available standard abbreviations.
733 ..
734 .
735 .
736 .\" NS Lb user macro
737 .\" NS   formal library names for LIBRARY sections
738 .\" NS
739 .\" NS modifies:
740 .\" NS   doc-arg-ptr
741 .\" NS   doc-curr-font
742 .\" NS   doc-curr-size
743 .\" NS   doc-macro-name
744 .\" NS
745 .\" NS local variable:
746 .\" NS   doc-reg-Lb
747 .\" NS   doc-str-Lb
748 .\" NS   doc-str-Lb1
749 .\" NS   doc-str-Lb-XXX
750 .\" NS
751 .\" NS width register `Lb' defined in doc-common
752 .
753 .ds doc-str-Lb-libarm      ARM Architecture Library (libarm, \-larm)
754 .ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
755 .ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
756 .ds doc-str-Lb-libcdk      Curses Development Kit Library (libcdk, \-lcdk)
757 .ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
758 .ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
759 .ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
760 .ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
761 .ds doc-str-Lb-libevent    Event Notification Library (libevent, \-levent)
762 .ds doc-str-Lb-libform     Curses Form Library (libform, \-lform)
763 .ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
764 .ds doc-str-Lb-libintl     Internationalized Message Handling Library (libintl, \-lintl)
765 .ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
766 .ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
767 .ds doc-str-Lb-libm        Math Library (libm, \-lm)
768 .ds doc-str-Lb-libm68k     m68k Architecture Library (libm68k, \-lm68k)
769 .ds doc-str-Lb-libmagic    Magic Number Recognition Library (libmagic, \-lmagic)
770 .ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
771 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
772 .ds doc-str-Lb-libpam      Pluggable Authentication Module Library (libpam, \-lpam)
773 .ds doc-str-Lb-libpcap     Packet Capture Library (libpcap, \-lpcap)
774 .ds doc-str-Lb-libpci      PCI Bus Access Library (libpci, \-lpci)
775 .ds doc-str-Lb-libpmc      Performance Counters Library (libpmc, \-lpmc)
776 .ds doc-str-Lb-libposix    \*[Px] \*[doc-str-Lb]Compatibility Library (libposix, \-lposix)
777 .ds doc-str-Lb-libpthread  \*[Px] \*[doc-str-Lb]Threads Library (libpthread, \-lpthread)
778 .ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
779 .ds doc-str-Lb-librt       \*[Px] \*[doc-str-Lb]Real-time Library (librt, \-lrt)
780 .ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
781 .ds doc-str-Lb-libusbhid   USB Human Interface Devices Library (libusbhid, \-lusbhid)
782 .ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
783 .ds doc-str-Lb-libx86_64   x86_64 Architecture Library (libx86_64, \-lx86_64)
784 .ds doc-str-Lb-libz        Compression Library (libz, \-lz)
785 .
786 .de Lb
787 .  if !\n[doc-arg-limit] \{\
788 .    ie \n[.$] \{\
789 .      ds doc-macro-name Lb
790 .      doc-parse-args \$@
791 .    \}
792 .    el \
793 .      tm Usage: .Lb library_name ... (#\n[.c])
794 .  \}
795 .
796 .  if !\n[doc-arg-limit] \
797 .    return
798 .
799 .  nr doc-arg-ptr +1
800 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
801 .    nr doc-curr-font \n[.f]
802 .    nr doc-curr-size \n[.ps]
803 .    ds doc-str-Lb \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
804 .
805 .    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
806 .      ds doc-str-Lb1 "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
807 .    el \{\
808 .      tmc "mdoc warning: .Lb: no description for library
809 .      tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
810 .      ds doc-str-Lb1 library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
811 .    \}
812 .
813 .    \" replacing argument with result
814 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb1]
815 .
816 .    if \n[doc-in-library-section] \
817 .      br
818 .    doc-print-recursive
819 .    if \n[doc-in-library-section] \
820 .      br
821 .  \}
822 .  el \{\
823 .    tm Usage: .Lb library_name ... (#\n[.c])
824 .    doc-reset-args
825 .  \}
826 ..
827 .
828 .
829 .ec
830 .
831 .\" EOF