3 .\" Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002
4 .\" Free Software Foundation, Inc.
5 .\" Written by James Clark (jjc@jclark.com)
7 .\" This file is part of groff.
9 .\" groff is free software; you can redistribute it and/or modify it under
10 .\" the terms of the GNU General Public License as published by the Free
11 .\" Software Foundation; either version 2, or (at your option) any later
14 .\" groff is distributed in the hope that it will be useful, but WITHOUT ANY
15 .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 .\" You should have received a copy of the GNU General Public License along
20 .\" with groff; see the file COPYING. If not, write to the Free Software
21 .\" Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 .\" -rcR=1 => Create a single, very long page instead of multiple pages.
24 .\" Useful for online display. Default in nroff mode.
25 .\" Desactivate with -rcR=0.
26 .\" -rC1 => Number pages continuously, rather than start each at 1.
27 .\" -rD1 => Double-sided printing, ie different odd and even page footers.
28 .\" -rPnnn => Number first page nnn.
29 .\" -rSxx => Use size `xx'pt (either 10, 11, or 12) for document rather
30 .\" than the default size of 10pt.
31 .\" -rXnnn => Number pages after nnn as nnna, nnnb, nnnc, ...
33 .\" The file man.local is loaded at the end. Put local additions there.
34 .\" If you need to add things to TH, use `.am TH'.
37 .if !\n(.g .ab These man macros work only with groff.
44 .if (\n[.x]\n[.y]\n[.Y] < 1171) \
45 . ab You need GNU troff version 1.17.1 or higher to run this version of man!
50 .\" we must use consecutive page numbers when using postscript to generate
51 .\" html images, and we must not reset the page number at the beginning
52 .\" (the `ps4html' register is automatically added to the command line by
53 .\" the pre-html preprocessor)
62 .if '\*[.T]'html' .nr an-html 1
63 .if \n[an-html] .nr C 1
67 . nr an-margin \\n[IN]
70 .\" .TH title section extra1 extra2 extra3
77 . de an-init \" We have to do it like this to get multiple man pages right.
81 . ie (\\n[.$] > 3) .ds an-extra2 "\\$4
82 . el .ds an-extra2 \"Sun Release 4.0
83 . ie (\\n[.$] > 4) .ds an-extra3 "\\$5
84 . el .ds an-extra3 \"System Programmer's Manual
90 . nr PS 10z \" default point size
97 . \" use sizes similar to LaTeX
99 . ie (\\n[S] == 11) \{\
106 . if (\\n[S] == 12) \{\
120 . nr SN 3n \" the indentation of sub-sub-headings relative to sub-headings
123 . nr an-prevailing-indent \\n[IN]
126 . nr an-no-space-flag 0
135 . wh -.5i an-p-footer
137 . if (\\n[nl] > 0) \{\
138 . ie \\n[C] .bp (\\n[%] + 1)
144 .\" BSD compatibility macros: .AT and .UC
147 . ds an-extra2 "7th Edition
148 . if "\\$1"3" .ds an-extra2 "7th Edition
149 . if "\\$1"4" .ds an-extra2 "System III
151 . ie "\\$2"" .ds an-extra2 "System V
152 . el .ds an-extra2 "System V Release \\$2
157 . ds an-extra2 "3rd Berkeley Distribution
158 . if "\\$1"3" .ds an-extra2 "3rd Berkeley Distribution
159 . if "\\$1"4" .ds an-extra2 "4th Berkeley Distribution
160 . if "\\$1"5" .ds an-extra2 "4.2 Berkeley Distribution
161 . if "\\$1"6" .ds an-extra2 "4.3 Berkeley Distribution
162 . if "\\$1"7" .ds an-extra2 "4.4 Berkeley Distribution
166 . ta T .5i \" This sets tabs every .5 inches
170 . ie \\n[.$] .nr PD (v;\\$1)
171 . el .nr PD (.4v >? \n[.V])
185 . tl '\\*[an-title](\\*[an-section])'\\*[an-extra3]'\\*[an-title](\\*[an-section])'
206 . ie \\n[an-html] \{\
213 . if (\\n[%] > \\n[X]) \{\
214 . nr an-page-letter (\\n[%] - \\n[X])
215 . ds an-page-string \\n[X]\\n[an-page-letter]
220 . ds an-page-string "\\*[an-title](\\*[an-section])
222 . ds an-page-string \\n[%]
226 . if o .tl '\\*[an-extra2]'\\*[an-extra1]'\\*[an-page-string]'
227 . if e .tl '\\*[an-page-string]'\\*[an-extra1]'\\*[an-extra2]'
230 . tl '\\*[an-extra2]'\\*[an-extra1]'\\*[an-page-string]'
243 .if \n[cR] .em an-end
249 . nr an-prevailing-indent \\n[IN]
253 . HTML-TAG ".NH \\n[an-level]"
255 . nr an-no-space-flag 1
259 . if !\\n[cR] .ne (2v + 1u)
267 . nr an-prevailing-indent \\n[IN]
272 . nr an-no-space-flag 1
276 . if !\\n[cR] .ne (2v + 1u)
307 . if \\n[.$] .nr an-prevailing-indent (n;\\$1)
309 . if !\\n[an-div?] .di an-div
310 . ie \\n[an-html] .in \\n[an-margin]u
313 . ll -\\n[an-margin]u
322 . if \\n[an-break-flag] \{\
326 . if \\n[an-no-space-flag] \{\
328 . nr an-no-space-flag 0
330 . if \\n[an-div?] .an-do-tag
338 . ie (\\n[dl] + \\n[an-tag-sep] > \\n[an-prevailing-indent]) \{\
340 . if !\\n[cR] .ne (2v + 1u)
343 . in (\\n[an-margin]u + \\n[an-prevailing-indent]u)
346 . in (\\n[an-margin]u + \\n[an-prevailing-indent]u)
347 . ti -\\n[an-prevailing-indent]u
349 . if !\\n[cR] .ne (1v + 1u)
350 \\*[an-div]\\h'|\\n[an-prevailing-indent]u'\c
361 . nr an-prevailing-indent \\n[IN]
373 . if !\\n[cR] .ne (1v + 1u)
374 . in (\\n[an-margin]u + \\n[an-prevailing-indent]u)
377 . ie (\\n[.$] - 1) .TP "\\$2"
388 . if !\\n[cR] .ne (1v + 1u)
389 . if \\n[.$] .nr an-prevailing-indent (n;\\$1)
390 . in (\\n[an-margin]u + \\n[an-prevailing-indent]u)
394 .ds an-empty \" this is referenced to avoid looping on eg .RB ( \\ )
398 . ds an-result \&\\$1
400 . while (\\n[.$] >= 2) \{\
401 . as an-result \,\f[I]\\$1\f[R]\/\\$2\\*[an-empty]
404 . if \\n[.$] .as an-result \,\f[I]\\$1\f[R]
411 . ds an-result \&\f[I]\\$1\f[R]
413 . while (\\n[.$] >= 2) \{\
414 . as an-result \/\\$1\f[I]\,\\$2\f[R]
417 . if \\n[.$] .as an-result \/\\$1
424 . ds an-result \&\f[I]\\$1
426 . while (\\n[.$] >= 2) \{\
427 . as an-result \/\f[B]\\$1\f[I]\,\\$2\\*[an-empty]
430 . if \\n[.$] .as an-result \/\f[B]\\$1
438 . ds an-result \&\f[B]\\$1
440 . while (\\n[.$] >= 2) \{\
441 . as an-result \,\f[I]\\$1\f[B]\/\\$2\\*[an-empty]
444 . if \\n[.$] .as an-result \,\f[I]\\$1
452 . while (\\n[.$] >= 2) \{\
453 . as an-result \f[R]\\$1\f[B]\\$2\\*[an-empty]
456 . if \\n[.$] .as an-result \f[R]\\$1
463 . while (\\n[.$] >= 2) \{\
464 . as an-result \f[B]\\$1\f[R]\\$2\\*[an-empty]
467 . if \\n[.$] .as an-result \f[B]\\$1
474 . nr an-saved-margin\\n[an-level] \\n[an-margin]
475 . nr an-saved-prevailing-indent\\n[an-level] \\n[an-prevailing-indent]
476 . ie \\n[.$] .nr an-margin +(n;\\$1)
477 . el .nr an-margin +\\n[an-prevailing-indent]
479 . nr an-prevailing-indent \\n[IN]
485 . ie \\n[.$] .nr an-level ((;\\$1) <? \\n[an-level])
487 . nr an-level (1 >? \\n[an-level])
488 . nr an-margin \\n[an-saved-margin\\n[an-level]]
489 . nr an-prevailing-indent \\n[an-saved-prevailing-indent\\n[an-level]]
507 .\" dummy equation delimiters
513 .\" these strings must work in compatibility mode also
516 .ie c\[rg] .ds R \(rg
518 .ie c\[tm] .ds Tm \(tm
523 .if !\n[an-html] .hy 14
525 .\" Load local modifications.
530 .\" end of an-old.tmac