Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[games.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. 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-syms    8.1 (Berkeley) 06/08/93
33 .\" $FreeBSD: src/contrib/groff/tmac/doc-syms,v 1.24.2.11 2001/12/24 09:12:59 ru Exp $
34 .\" $DragonFly: src/contrib/groff/tmac/Attic/doc-syms,v 1.2 2003/06/17 04:24:02 dillon Exp $
35 .\"
36 .\"     %beginstrip%
37 .
38 .
39 .eo
40 .
41 .\" NS Ux user macro
42 .\" NS   print UNIX
43 .\" NS
44 .\" NS modifies:
45 .\" NS   doc-arg-ptr
46 .\" NS   doc-curr-font
47 .\" NS   doc-curr-size
48 .\" NS   doc-macro-name
49 .\" NS
50 .\" NS local variable:
51 .\" NS   doc-str-Ux
52 .\" NS
53 .\" NS width register `Ux' defined in doc-common
54 .
55 .de Ux
56 .  nr doc-curr-font \n[.f]
57 .  nr doc-curr-size \n[.ps]
58 .  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
59 .
60 .  if !\n[doc-arg-limit] \
61 .    if \n[.$] \{\
62 .      ds doc-macro-name Ux
63 .      doc-parse-args \$@
64 .    \}
65 .
66 .  \" replace current argument with result
67 .  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
68 .  nr doc-type\n[doc-arg-ptr] 2
69 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
70 .
71 .  \" recompute space vector for remaining arguments
72 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
73 .  nr doc-arg-limit \n[doc-arg-ptr]
74 .  if \n[doc-num-args] \
75 .    doc-parse-space-vector
76 .
77 .  doc-print-recursive
78 ..
79 .
80 .
81 .\" NS Bx user macro
82 .\" NS   print BSD (fix smaller nroff version)
83 .\" NS
84 .\" NS modifies:
85 .\" NS   doc-arg-ptr
86 .\" NS   doc-curr-font
87 .\" NS   doc-curr-size
88 .\" NS   doc-macro-name
89 .\" NS
90 .\" NS local variable:
91 .\" NS   doc-str-Bx
92 .\" NS   doc-str-Bx1
93 .\" NS   doc-str-Bx-XXX
94 .\" NS
95 .\" NS width register `Bx' defined in doc-common
96 .
97 .ds doc-str-Bx-Reno  \-Reno
98 .ds doc-str-Bx-reno  \-Reno
99 .ds doc-str-Bx-Tahoe \-Tahoe
100 .ds doc-str-Bx-tahoe \-Tahoe
101 .ds doc-str-Bx-Lite  \-Lite
102 .ds doc-str-Bx-lite  \-Lite
103 .ds doc-str-Bx-Lite2 \-Lite2
104 .ds doc-str-Bx-lite2 \-Lite2
105 .
106 .de Bx
107 .  nr doc-curr-font \n[.f]
108 .  nr doc-curr-size \n[.ps]
109 .  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
110 .
111 .  \" default value if no argument
112 .  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
113 .
114 .  if !\n[doc-arg-limit] \
115 .    if \n[.$] \{\
116 .      ds doc-macro-name Bx
117 .      doc-parse-args \$@
118 .    \}
119 .
120 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
121 .    nr doc-arg-ptr +1
122 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
123 .      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
124 .        as doc-str-Bx1 " (currently in alpha test)
125 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
126 .        as doc-str-Bx1 " (currently in beta test)
127 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
128 .        as doc-str-Bx1 " (currently under development)
129 .      el \{\
130 .        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
131 .        as doc-str-Bx1 BSD\*[doc-str-Bx]
132 .
133 .        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
134 .          nr doc-arg-ptr +1
135 .          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
136 .            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
137 .              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
138 .                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
139 .              el \
140 .                nr doc-arg-ptr -1
141 .            \}
142 .            el \
143 .              nr doc-arg-ptr -1
144 .          \}
145 .          el \
146 .            nr doc-arg-ptr -1
147 .    \}\}\}\}\}
148 .    el \
149 .      nr doc-arg-ptr -1
150 .  \}
151 .
152 .  \" replace current argument with result
153 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
154 .  nr doc-type\n[doc-arg-ptr] 2
155 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
156 .
157 .  \" recompute space vector for remaining arguments
158 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
159 .  nr doc-arg-limit \n[doc-arg-ptr]
160 .  if \n[doc-num-args] \
161 .    doc-parse-space-vector
162 .
163 .  doc-print-recursive
164 ..
165 .
166 .
167 .\" NS Ud user macro (not parsed, not callable)
168 .\" NS   print "currently under development" (HISTORY section)
169 .\" NS
170 .\" NS width register `Ud' defined in doc-common
171 .
172 .de Ud
173 .  nop \&currently under development.
174 ..
175 .
176 .
177 .\" NS At user macro
178 .\" NS   print AT&T UNIX
179 .\" NS
180 .\" NS modifies:
181 .\" NS   doc-arg-ptr
182 .\" NS   doc-curr-font
183 .\" NS   doc-curr-size
184 .\" NS   doc-macro-name
185 .\" NS
186 .\" NS local variable:
187 .\" NS   doc-str-At
188 .\" NS   doc-str-At1
189 .\" NS   doc-str-At-XXX
190 .\" NS
191 .\" NS width register `At' defined in doc-common
192 .
193 .ds doc-str-At-32v \&Version\~32V
194 .as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
195 .ds doc-str-At-v1  \&Version\~1
196 .as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
197 .ds doc-str-At-v2  \&Version\~2
198 .as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
199 .ds doc-str-At-v3  \&Version\~3
200 .as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
201 .ds doc-str-At-v4  \&Version\~4
202 .as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
203 .ds doc-str-At-v5  \&Version\~5
204 .as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
205 .ds doc-str-At-v6  \&Version\~6
206 .as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
207 .ds doc-str-At-v7  \&Version\~7
208 .as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
209 .ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
210 .as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
211 .ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.1
212 .as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
213 .ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.2
214 .as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
215 .ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.4
216 .as doc-str-At-V.4 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
217 .
218 .de At
219 .  nr doc-curr-font \n[.f]
220 .  nr doc-curr-size \n[.ps]
221 .  ds doc-str-At \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
222 .
223 .  \" default value if no argument
224 .  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
225 .
226 .  if !\n[doc-arg-limit] \
227 .    if \n[.$] \{\
228 .      ds doc-macro-name At
229 .      doc-parse-args \$@
230 .    \}
231 .
232 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
233 .    nr doc-arg-ptr +1
234 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
235 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
236 .        ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
237 .          ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
238 .        el \{\
239 .          tmc mdoc warning: .At: Unknown AT&T UNIX version
240 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
241 .          nr doc-arg-ptr -1
242 .      \}\}
243 .      el \
244 .        nr doc-arg-ptr -1
245 .    \}
246 .    el \
247 .      nr doc-arg-ptr -1
248 .  \}
249 .
250 .  \" replace current argument with result
251 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
252 .  nr doc-type\n[doc-arg-ptr] 2
253 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
254 .
255 .  \" recompute space vector for remaining arguments
256 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
257 .  nr doc-arg-limit \n[doc-arg-ptr]
258 .  if \n[doc-num-args] \
259 .    doc-parse-space-vector
260 .
261 .  doc-print-recursive
262 ..
263 .
264 .
265 .\" NS Fx user macro
266 .\" NS   print FreeBSD
267 .\" NS
268 .\" NS modifies:
269 .\" NS   doc-arg-ptr
270 .\" NS   doc-curr-font
271 .\" NS   doc-curr-size
272 .\" NS   doc-macro-name
273 .\" NS
274 .\" NS local variable:
275 .\" NS   doc-str-Fx
276 .\" NS   doc-str-Fx1
277 .\" NS
278 .\" NS width register `Fx' defined in doc-common
279 .
280 .\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
281 .
282 .de Fx
283 .  nr doc-curr-font \n[.f]
284 .  nr doc-curr-size \n[.ps]
285 .  ds doc-str-Fx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
286 .
287 .  \" default value if no argument
288 .  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
289 .
290 .  if !\n[doc-arg-limit] \
291 .    if \n[.$] \{\
292 .      ds doc-macro-name Fx
293 .      doc-parse-args \$@
294 .    \}
295 .
296 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
297 .    nr doc-arg-ptr +1
298 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
299 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
300 .        ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
301 .          as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
302 .        el \{\
303 .          tmc mdoc warning: .Fx: Unknown FreeBSD version
304 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
305 .          as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
306 .      \}\}
307 .      el \
308 .        as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
309 .    \}
310 .    el \
311 .      nr doc-arg-ptr -1
312 .  \}
313 .
314 .  \" replace current argument with result
315 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
316 .  nr doc-type\n[doc-arg-ptr] 2
317 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
318 .
319 .  \" recompute space vector for remaining arguments
320 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
321 .  nr doc-arg-limit \n[doc-arg-ptr]
322 .  if \n[doc-num-args] \
323 .    doc-parse-space-vector
324 .
325 .  doc-print-recursive
326 ..
327 .
328 .
329 .\" NS Nx user macro
330 .\" NS   print NetBSD
331 .\" NS
332 .\" NS modifies:
333 .\" NS   doc-arg-ptr
334 .\" NS   doc-curr-font
335 .\" NS   doc-curr-size
336 .\" NS   doc-macro-name
337 .\" NS
338 .\" NS local variable:
339 .\" NS   doc-str-Nx
340 .\" NS   doc-str-Nx1
341 .\" NS
342 .\" NS width register `Nx' defined in doc-common
343 .
344 .\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
345 .
346 .de Nx
347 .  nr doc-curr-font \n[.f]
348 .  nr doc-curr-size \n[.ps]
349 .  ds doc-str-Nx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
350 .
351 .  \" default value if no argument
352 .  ds doc-str-Nx1 \*[doc-Tn-font-size]\%N\s[\n[doc-curr-size]u]et
353 .  as doc-str-Nx1 \*[doc-Tn-font-size]BSD\*[doc-str-Nx]
354 .
355 .  if !\n[doc-arg-limit] \
356 .    if \n[.$] \{\
357 .      ds doc-macro-name Nx
358 .      doc-parse-args \$@
359 .    \}
360 .
361 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
362 .    nr doc-arg-ptr +1
363 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
364 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
365 .        ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
366 .          as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
367 .        el \{\
368 .          tmc mdoc warning: .Nx: Unknown NetBSD version
369 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
370 .          as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
371 .      \}\}
372 .      el \
373 .        as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
374 .    \}
375 .    el \
376 .      nr doc-arg-ptr -1
377 .  \}
378 .
379 .  \" replace current argument with result
380 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
381 .  nr doc-type\n[doc-arg-ptr] 2
382 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
383 .
384 .  \" recompute space vector for remaining arguments
385 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
386 .  nr doc-arg-limit \n[doc-arg-ptr]
387 .  if \n[doc-num-args] \
388 .    doc-parse-space-vector
389 .
390 .  doc-print-recursive
391 ..
392 .
393 .
394 .\" NS Ox user macro
395 .\" NS   print OpenBSD
396 .\" NS
397 .\" NS modifies:
398 .\" NS   doc-arg-ptr
399 .\" NS   doc-curr-font
400 .\" NS   doc-curr-size
401 .\" NS   doc-macro-name
402 .\" NS
403 .\" NS local variable:
404 .\" NS   doc-str-Ox
405 .\" NS   doc-str-Ox1
406 .\" NS
407 .\" NS width register `Ox' defined in doc-common
408 .
409 .de Ox
410 .  nr doc-curr-font \n[.f]
411 .  nr doc-curr-size \n[.ps]
412 .  ds doc-str-Ox \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
413 .
414 .  \" default value if no argument
415 .  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
416 .
417 .  if !\n[doc-arg-limit] \
418 .    if \n[.$] \{\
419 .      ds doc-macro-name Ox
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 .      as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
427 .    el \
428 .      nr doc-arg-ptr -1
429 .  \}
430 .
431 .  \" replace current argument with result
432 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
433 .  nr doc-type\n[doc-arg-ptr] 2
434 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
435 .
436 .  \" recompute space vector for remaining arguments
437 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
438 .  nr doc-arg-limit \n[doc-arg-ptr]
439 .  if \n[doc-num-args] \
440 .    doc-parse-space-vector
441 .
442 .  doc-print-recursive
443 ..
444 .
445 .
446 .\" NS Bsx user macro
447 .\" NS   print BSD/OS
448 .\" NS
449 .\" NS modifies:
450 .\" NS   doc-arg-ptr
451 .\" NS   doc-curr-font
452 .\" NS   doc-curr-size
453 .\" NS   doc-macro-name
454 .\" NS
455 .\" NS local variable:
456 .\" NS   doc-str-Bsx
457 .\" NS   doc-str-Bsx1
458 .\" NS
459 .\" NS width register `Bsx' defined in doc-common
460 .
461 .de Bsx
462 .  nr doc-curr-font \n[.f]
463 .  nr doc-curr-size \n[.ps]
464 .  ds doc-str-Bsx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
465 .
466 .  \" default value if no argument
467 .  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
468 .
469 .  if !\n[doc-arg-limit] \
470 .    if \n[.$] \{\
471 .      ds doc-macro-name Bsx
472 .      doc-parse-args \$@
473 .    \}
474 .
475 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
476 .    nr doc-arg-ptr +1
477 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
478 .      as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
479 .    el \
480 .      nr doc-arg-ptr -1
481 .  \}
482 .
483 .  \" replace current argument with result
484 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
485 .  nr doc-type\n[doc-arg-ptr] 2
486 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
487 .
488 .  \" recompute space vector for remaining arguments
489 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
490 .  nr doc-arg-limit \n[doc-arg-ptr]
491 .  if \n[doc-num-args] \
492 .    doc-parse-space-vector
493 .
494 .  doc-print-recursive
495 ..
496 .
497 .
498 .\" The Bt macro should go away now
499 .
500 .\" NS Bt user macro (not parsed, not callable)
501 .\" NS   print "is currently in beta test." (HISTORY section)
502 .\" NS
503 .\" NS width register `Bt' defined in doc-common
504 .
505 .de Bt
506 .  nop \&is currently in beta test.
507 ..
508 .
509 .
510 .\" NS Px user macro
511 .\" NS   print POSIX
512 .
513 .ds Px \*[doc-Tn-font-size]\%POSIX
514 .
515 .
516 .\" NS Ai user macro
517 .\" NS   print ANSI
518 .
519 .ds Ai \*[doc-Tn-font-size]\%ANSI
520 .
521 .
522 .\" NS St user macro
523 .\" NS   standards (posix, ansi - formal standard names)
524 .\" NS
525 .\" NS modifies:
526 .\" NS   doc-arg-ptr
527 .\" NS   doc-curr-font
528 .\" NS   doc-curr-size
529 .\" NS   doc-macro-name
530 .\" NS
531 .\" NS local variable:
532 .\" NS   doc-reg-St
533 .\" NS   doc-str-St
534 .\" NS   doc-str-St1
535 .\" NS   doc-str-St-XXX
536 .\" NS
537 .\" NS width register `St' defined in doc-common
538 .
539 .\" ANSI/ISO C
540 .ds doc-str-St--ansiC-89       \*[Ai] \*[doc-str-St]X\^3.159-1989
541 .as doc-str-St--ansiC-89       " (\*[Lq]\)\*[Ai]\~C\*[doc-str-St]\*[Rq])
542 .als doc-str-St--ansiC doc-str-St--ansiC-89
543 .ds doc-str-St--isoC           \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1990
544 .as doc-str-St--isoC           " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^89\*[doc-str-St]\*[Rq])
545 .ds doc-str-St--isoC-99        \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
546 .as doc-str-St--isoC-99        " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
547 .
548 .\" POSIX Part 1: System API
549 .ds doc-str-St--p1003.1        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
550 .as doc-str-St--p1003.1        " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
551 .ds doc-str-St--p1003.1-88     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1988
552 .as doc-str-St--p1003.1-88     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
553 .ds doc-str-St--p1003.1-90     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1990
554 .as doc-str-St--p1003.1-90     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
555 .als doc-str-St--iso9945-1-90 doc-str-St--p1003.1-90
556 .ds doc-str-St--p1003.1b-93    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b-1993
557 .as doc-str-St--p1003.1b-93    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
558 .ds doc-str-St--p1003.1c-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1c-1995
559 .as doc-str-St--p1003.1c-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
560 .ds doc-str-St--p1003.1i-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1i-1995
561 .as doc-str-St--p1003.1i-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
562 .ds doc-str-St--p1003.1-96     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1996
563 .as doc-str-St--p1003.1-96     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
564 .als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96
565 .ds doc-str-St--p1003.1g-2000  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g-2000
566 .as doc-str-St--p1003.1g-2000  " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
567 .ds doc-str-St--p1003.1-2001   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2001
568 .as doc-str-St--p1003.1-2001   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
569 .
570 .\" POSIX Part 2: Shell and Utilities
571 .ds doc-str-St--p1003.2        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
572 .as doc-str-St--p1003.2        " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
573 .ds doc-str-St--p1003.2-92     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
574 .as doc-str-St--p1003.2-92     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
575 .ds doc-str-St--p1003.2a-92    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2a-1992
576 .as doc-str-St--p1003.2a-92    " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
577 .ds doc-str-St--iso9945-2-93   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-2:1993
578 .as doc-str-St--iso9945-2-93   " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
579 .
580 .\" X/Open
581 .ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
582 .as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
583 .ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
584 .as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
585 .ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5
586 .as doc-str-St--xbd5           " (\*[Lq]\*[doc-Tn-font-size]XBD\*[doc-str-St]\^5\*[Rq])
587 .ds doc-str-St--xcu5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Commands and Utilities Issue\~5
588 .as doc-str-St--xcu5           " (\*[Lq]\*[doc-Tn-font-size]XCU\*[doc-str-St]\^5\*[Rq])
589 .ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4.2
590 .as doc-str-St--xcurses4.2     " (\*[Lq]\*[doc-Tn-font-size]XCURSES\*[doc-str-St]\^4.2\*[Rq])
591 .ds doc-str-St--xns5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5
592 .as doc-str-St--xns5           " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5\*[Rq])
593 .ds doc-str-St--xns5.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5.2
594 .as doc-str-St--xns5.2         " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5.2\*[Rq])
595 .ds doc-str-St--xpg3           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
596 .as doc-str-St--xpg3           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
597 .ds doc-str-St--xpg4           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
598 .as doc-str-St--xpg4           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
599 .ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4.2
600 .as doc-str-St--xpg4.2         " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
601 .ds doc-str-St--xsh5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
602 .as doc-str-St--xsh5           " (\*[Lq]\*[doc-Tn-font-size]XSH\*[doc-str-St]\^5\*[Rq])
603 .
604 .\" Miscellaneous
605 .ds doc-str-St--ieee754        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
606 .ds doc-str-St--iso8802-3      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 8802-3:1989
607 .
608 .de St
609 .  if !\n[doc-arg-limit] \{\
610 .    ie \n[.$] \{\
611 .      ds doc-macro-name St
612 .      doc-parse-args \$@
613 .    \}
614 .    el \
615 .      doc-St-usage
616 .  \}
617 .
618 .  if !\n[doc-arg-limit] \
619 .    return
620 .
621 .  nr doc-arg-ptr +1
622 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
623 .    nr doc-curr-font \n[.f]
624 .    nr doc-curr-size \n[.ps]
625 .    ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
626 .
627 .    ds doc-str-St1
628 .    ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
629 .      ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
630 .        ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
631 .      el \{\
632 .        tmc "mdoc warning: .St: Unknown standard abbreviation
633 .        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
634 .        tm1 "              Please refer to the groff_mdoc(7) manpage for a
635 .        tm1 "              list of available standard abbreviations.
636 .    \}\}
637 .    el \
638 .      doc-St-usage
639 .
640 .    \" replacing argument with result
641 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
642 .
643 .    doc-print-recursive
644 .  \}
645 .  el \{\
646 .    doc-St-usage
647 .    doc-reset-args
648 .  \}
649 ..
650 .
651 .
652 .\" NS doc-St-usage macro
653 .
654 .de doc-St-usage
655 .  tm1 "Usage: .St standard (#\n[.c])
656 .  tm1 "       Please refer to the groff_mdoc(7) manpage for a list of
657 .  tm1 "       available standard abbreviations.
658 ..
659 .
660 .
661 .\" NS Lb user macro
662 .\" NS   formal library names for LIBRARY sections
663 .\" NS
664 .\" NS modifies:
665 .\" NS   doc-arg-ptr
666 .\" NS   doc-curr-font
667 .\" NS   doc-curr-size
668 .\" NS   doc-macro-name
669 .\" NS
670 .\" NS local variable:
671 .\" NS   doc-reg-Lb
672 .\" NS   doc-str-Lb
673 .\" NS   doc-str-Lb-XXX
674 .\" NS
675 .\" NS width register `Lb' defined in doc-common
676 .
677 .ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
678 .ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
679 .ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
680 .ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
681 .ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
682 .ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
683 .ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
684 .ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
685 .ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
686 .ds doc-str-Lb-libm        Math Library (libm, \-lm)
687 .ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
688 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
689 .ds doc-str-Lb-libposix    \*[Px] Compatibility Library (libposix, \-lposix)
690 .ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
691 .ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
692 .ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
693 .ds doc-str-Lb-libz        Compression Library (libz, \-lz)
694 .
695 .de Lb
696 .  if !\n[doc-arg-limit] \{\
697 .    ie \n[.$] \{\
698 .      ds doc-macro-name Lb
699 .      doc-parse-args \$@
700 .    \}
701 .    el \
702 .      tm Usage: .Lb library_name ... (#\n[.c])
703 .  \}
704 .
705 .  if !\n[doc-arg-limit] \
706 .    return
707 .
708 .  nr doc-arg-ptr +1
709 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
710 .    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
711 .      ds doc-str-Lb "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
712 .    el \{\
713 .      tmc "mdoc warning: .Lb: no description for library
714 .      tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
715 .      ds doc-str-Lb library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
716 .    \}
717 .
718 .    \" replacing argument with result
719 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb]
720 .
721 .    doc-print-recursive
722 .  \}
723 .  el \{\
724 .    tm Usage: .Lb library_name ... (#\n[.c])
725 .    doc-reset-args
726 .  \}
727 ..
728 .
729 .
730 .ec
731 .
732 .\" EOF