123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648 |
- .\"
- .\" tmac.an - macros for manual pages
- .\"
- .\" Sccsid @(#)an 2.11 (gritter) 3/18/07
- .\"
- .\" from Unix 7th Edition /usr/lib/tmac/tmac.an
- .\"
- .\" Changes by Gunnar Ritter, Freiburg i. Br., Germany, August 2002
- .\"
- .\" Changes by Carsten Kunze, 2015-2016
- .\"
- .\" Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
- .\"
- .\" Redistribution and use in source and binary forms, with or without
- .\" modification, are permitted provided that the following conditions
- .\" are met:
- .\" Redistributions of source code and documentation must retain the
- .\" above copyright notice, this list of conditions and the following
- .\" disclaimer.
- .\" Redistributions in binary form must reproduce the above copyright
- .\" notice, this list of conditions and the following disclaimer in the
- .\" documentation and/or other materials provided with the distribution.
- .\" All advertising materials mentioning features or use of this software
- .\" must display the following acknowledgement:
- .\" This product includes software developed or owned by Caldera
- .\" International, Inc.
- .\" Neither the name of Caldera International, Inc. nor the names of
- .\" other contributors may be used to endorse or promote products
- .\" derived from this software without specific prior written permission.
- .\"
- .\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
- .\" INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
- .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- .\" ARE DISCLAIMED. IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE
- .\" LIABLE FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR
- .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- .do xflag 3
- .als am1 am
- .als de1 de
- .als as1 as
- .als ds1 ds
- .escoff ; @
- .ie n \{\
- . nr cR 1
- . utf8conv -
- . char ' \N39
- . char ` \N96
- . sentchar .?!
- . ns
- . nh
- . rm hy
- . ad l
- . rm ad
- . nr )I.def 7n
- .\}
- .el \{\
- . ie \*(.Thtml \{\
- . nr cR 1
- . nh
- . rm hy
- . \}
- . el \{\
- . hy 14
- . \}
- . so /usr/heirloom/lib/doctools/tmac/tmac.gchar
- . nr )I.def .5i
- .\}
- .nr .g 1
- .ds la \(la
- .ds ra \(ra
- .ds lq \(lq
- .ds rq \(rq
- .ds Tm \(tm
- . \" reset the basic page layout
- .de }E
- . }f
- . ad b
- . in \\n()Ru+\\n(INu
- . ll \\n(LLu
- ..
- . \" default tabs
- .de DT
- . ta T .5i
- ..
- . \" set type font and size
- .de }f
- . ps \\nS
- . ft 1
- ..
- . \" handle the head of the page
- .de }H
- . ev 1
- . sp .5i
- . ft 1
- . ps \\nS
- . lt \\n(LLu
- . lnr longName 0
- . ie \w\\*(]H+2n*2+\w\\*(]D>\\n[.lt] \
- . tl \\*(]H\\*(]D
- . el .tl \\*(]H\\*(]D\\*(]H
- . sp .5i
- . ev
- . ns
- ..
- . \" handle the foot of the page
- .de }F
- . ie \n(cR \{\
- . pl +5
- . fl
- . sp 3
- . lt \\n(LLu
- . tl \\*(]W\\*(]L\\*(]H
- . pl \\n(nlu
- . \}
- . el \{\
- . ev 1
- . ft 1
- . ps \\nS
- ' sp .5i
- . lt \\n(LLu
- . tl \\*(]W\\*(]L%
- ' bp
- . ev
- . \}
- ..
- .de }M
- . }N
- . ll \\n(LLu
- ..
- . \" no runout unless there was a .TH
- .de }K
- . }N
- . pl 1
- . ll \\n(LLu
- ..
- .em }K
- . \" set title and heading
- .ds TH.DefCatName.1 General Commands Manual
- .ds TH.DefCatName.2 System Calls Manual
- .ds TH.DefCatName.3 Library Functions Manual
- .ds TH.DefCatName.3p Perl Programmers Reference Guide
- .ds TH.DefCatName.4 Kernel Interfaces Manual
- .ds TH.DefCatName.5 File Formats Manual
- .ds TH.DefCatName.6 Games Manual
- .ds TH.DefCatName.7 Miscellaneous Information Manual
- .ds TH.DefCatName.8 System Manager's Manual
- .ds TH.DefCatName.9 Kernel Developer's Manual
- .de TH
- . PD
- . if !(\\nS>0) .nr S 10
- . ie (\\nS>10) .vs \\nSp+3p
- . el .vs \\nSp+2p
- . ie n .nr IN 7n
- . el .nr IN .5i
- . ie n .nr LL 78n
- . el .nr LL \\n(.l
- . ds ]H \\$1\|(\|\\$2\|)
- . ds ]L \\$3
- . ds ]W \\$4
- . ie !\\$5 .ds ]D \\$5
- . el .if d TH.DefCatName.\\$2 .ds ]D \\*[TH.DefCatName.\\$2]
- . ie \n(cR .}H
- . el .wh 0 }H
- . ie t .wh -1i }F
- . el .if !\n(cR .wh -1.167i }F
- . ie !\n(cR .em }M
- . el \{\
- . als bp br
- . pl 2000000000u \" pl is signed int
- . em }F
- . \}
- . \" Work around for \{ bug in Pod::Man
- . if \n(cR=0&\\n(nl .}H
- . }E
- . DT
- . nr )I \\n[)I.def]
- . nr )R 0
- . if n .na
- . if t .if !\\*[Toc] \{\
- . nr Toc 1
- . SH CONTENTS
- . nr Toc +1
- . nf
- . so \\*[Toc]
- . fi
- . \}
- ..
- . \" section heading
- .de SH
- . if !\\n(.z .di
- . }X 0
- . nr )E 2
- . lds T \&\\$1
- . lds A \\$1
- . shift
- . while \\n(.$ \{\
- . as T " \|\\$1
- . as A " \\$1
- . shift
- . \}
- . ie \\n[Toc] \{\
- \XPDFMark: BookmarkClosed 0 \\*A\A\\*A\\*T
- . if \\n[Toc]>1 \{\
- . ie \\*(.Thtml \{\
- . tm Toc:\T\\*A\\*T\T
- . \}
- . el \{\
- . lnr Tab \\n(.l-\\n(.i
- . tm Toc:.ta \\n[Tab]uR
- . tm Toc:\T\\*A\\*T\T\a\\n%
- . \}
- . \}
- . \}
- . el \\*T
- . \" HP-UX compatibility macros
- . if \\$1NAME \{\
- . if !\\*()H \{\
- . ie \\n(.g==1 \{\
- . ds }c C
- . \}
- . el \{\
- . ds }c 1
- . \}
- . \" constant width
- . de C
- . ft C
- . it 1 }N
- . if !\\\\$* \&\\\\$1 \\\\$2 \\\\$3 \\\\$4 \\\\$5 \\\\$6 \\\\$7 \\\\$8 \\\\$9
- \\..
- . \" combinations with constant width
- . de CR
- . }S \\*(}c 1 \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . de RC
- . }S 1 \\*(}c \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . de CI
- . }S \\*(}c 2 \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . de IC
- . }S 2 \\*(}c \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . de CB
- . }S \\*(}c 3 \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . de BC
- . }S 3 \\*(}c \& "\\\\$1" "\\\\$2" "\\\\$3" "\\\\$4" "\\\\$5" "\\\\$6" "\\\\$7" "\\\\$8" "\\\\$9"
- \\..
- . \" various stuff
- . de CD
- . CR "\\\\$1" "\\\\$2"
- \\..
- . de CT
- . IR "\\\\$1" "\\\\$2"
- \\..
- . de EM
- . IR "\\\\$1" "\\\\$2"
- \\..
- . de ER
- . nop [\\\\$1]\\\\$2
- \\..
- . de EV
- . CR "\\\\$1" "\\\\$2"
- \\..
- . de GT
- . BR "\\\\$1" "\\\\$2"
- \\..
- . de KC
- . BR "\\\\$1" "\\\\$2"
- \\..
- . de RV
- . CR "\\\\$1" "\\\\$2"
- \\..
- . de SC
- . CR "\\\\$1" "\\\\$2"
- \\..
- . de S3
- . sp \\n()Pu
- . ne 2
- . nop \&\\\\$1 \|\\\\$2 \|\\\\$3 \|\\\\$4 \|\\\\$5 \|\\\\$6 \|\\\\$7 \|\\\\$8 \|\\\\$9
- . br
- \\..
- . de P
- . PP
- \\..
- . \}
- . \}
- ..
- . \" sub section heading
- .de SS
- . if !\\n(.z \{\
- . br
- . di
- . \\n(.z
- . \}
- . ie n .}X 3n
- . el .}X .25i
- . nr )E 2
- . if \\n(.$ \{\
- . lds T \&\\$1
- . lds A \\$1
- . shift
- . while \\n(.$ \{\
- . as T " \|\\$1
- . as A " \\$1
- . shift
- . \}
- . ie \\n[Toc] \{\
- \XPDFMark: BookmarkClosed 1 \\*A\A\\*A\\*T
- . ie \\*(.Thtml \{\
- . tm Toc:.ta 3n
- . tm Toc:\t\T\\*A\\*T\T
- . \}
- . el \{\
- . lnr Tab \\n(.l-\\n(.i
- . tm Toc:.ta 3n \\n[Tab]uR
- . tm Toc:\t\T\\*A\\*T\T\a\\n%
- . \}
- . \}
- . el \\*T
- . br
- . \}
- ..
- . \" subroutine for section heading
- .de }X
- . }E
- . ti \\$1
- . sp \\n()Pu
- . ne 2
- . nr )R 0
- . fi
- . it 1 }N
- . SM
- . B
- ..
- . \" end of SH (cf }X above and }N below)
- .de }2
- . nr )E 0
- . }E
- . nr )I \\n[)I.def]
- . ns
- ..
- . \" italic
- .de I
- . ft 2
- . ie !\\n(.$ .it 1 }N
- . el \&\\$*\fR
- ..
- . \" bold
- .de B
- . ft 3
- . ie !\\n(.$ .it 1 }N
- . el \&\\$*\fR
- ..
- . \" small
- .de SM
- . ps \\nS-1
- . ie !\\n(.$ .it 1 }N
- . el \&\\$*\s\\nS
- ..
- . \" small and bold
- .de SB
- . ps \\nS-1
- . ft B
- . ie !\\n(.$ .it 1 }N
- . el \&\\$*\fR\s\\nS
- ..
- . \" combinations of Roman, italic, bold
- .de RI
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fI\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fR\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- .de RB
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fB\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fR\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- .de IR
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fR\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fI\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- .de IB
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fB\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fI\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- .de BR
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fR\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fB\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- .de BI
- . lds Text \&
- . lnr State 0
- . while \\n(.$ \{\
- . ie \\n[State] \{\
- . as Text \fI\\$1
- . nr State 0
- . \}
- . el \{\
- . as Text \fB\\$1
- . nr State 1
- . \}
- . shift
- . \}
- . nop \\*[Text]
- . }f
- ..
- . \" make special case of shift out of italic
- .de }S
- . ds ]F
- . if \\$12 .if !\\$5 .ds ]F \^
- . ie !\\$4 \{\
- . do ds }$1 "\\$1
- . do ds }$2 "\\$2
- . do ds }$3 "\\$3
- . do ds }$4 "\\$4
- . do shift 4
- . if \\n(.X<2 \{\
- . nr )X \\n(.X
- . do xflag 3
- . \}
- . }S \\*[}$2] \\*[}$1] "\\*[}$3]\f\\*[}$1]\\*[}$4]\\*(]F" \\$@
- . if \\n()X .do xflag \\n()X
- . \}
- . el \\$3
- . }f
- ..
- . \" paragraph
- .de LP
- . PP
- ..
- .de PP
- . sp \\n()Pu
- . ne 2
- . }E
- . nr )I \\n[)I.def]
- . ns
- ..
- .de P
- . PP
- ..
- . \" paragraph distance
- .de PD
- . if t .nr )P .4v
- . if n .nr )P 1v
- . if !\\$1 .nr )P \\$1v
- ..
- . \" hanging indent
- .de HP
- . sp \\n()Pu
- . ne 2
- . if !\\$1 .nr )I \\$1n
- . ll \\n(LLu
- . in \\n()Ru+\\n(INu+\\n()Iu
- . ti \\n()Ru+\\n(INu
- . }f
- ..
- . \" indented paragraph
- .de IP
- . TP \\$2
- \&\\$1
- ..
- . \" hanging label
- .de TP
- . if \\n()E .return
- . if !\\$1 .nr )I \\$1n
- . sp \\n()Pu
- . in \\n()Ru
- . nr )E 1
- . ns
- . it 1 }N
- . nf
- . di ]B
- ..
- . \" end of TP (cf }N below)
- .de }0
- . fi
- . }1
- ..
- .de }1
- . ds ]X \&\\*(]B\\
- . nr )E 0
- . if !\\$1 .nr )I \\$1n
- . }f
- . ll \\n(LLu
- . in \\n()Ru+\\n(INu+\\n()Iu
- . ti \\n(INu
- . ie !\\n()Iu+\\n()Ru-\w\\*(]Xu-3p \{\
- . nop \\*(]X
- . br
- . \}
- . el \{\
- . nop \\*(]X\h|\\n()Iu+\\n()Ru\c
- . if \\n(.X \{\
- . do nop \k[}pos]
- . do vpt 0
- . sp -1
- . do vpt 1
- . do nop \h\\n[}pos]u\c
- . \}
- . \}
- . }f
- ..
- . \" handle end of 1-line features
- .de }N
- . if \\n()E .br
- . di
- . ie !\\n()E .}f
- . el .ie \\n()E=1 .}0
- . el .if \\n()E=2 .}2
- . nr )E 0
- ..
- .als an-trap }N
- . \" increase relative indent
- .de RS
- . nr ]\\n+()p \\n()I
- . nr )\\n()p \\n()R
- . ie !\\$1 .nr )R +\\$1n
- . el .nr )R +\\n()I
- . nr )I \\n[)I.def]
- . }E
- ..
- . \" decrease relative indent
- .de RE
- . ie !\\$1 \{\
- . ie \\$10 .nr )p 1 1
- . el .nr )p \\$1 1
- . \}
- . el .if !\\n()p \{\
- . tm \\n(.F \\n(.c: .RE without .RS ignored
- . return
- . \}
- . ds ]i \\*(]I\\n()p
- . ds ]r \\*(]R\\n()p
- . nr )I \\*(]i
- . nr )R \\*(]r
- . if \\n()p .nr )p -1
- . }E
- ..
- .nr )p 0 1
- .ds ]I \\\\n(]
- .ds ]R \\\\n()
- .ds R \(rg
- .ds S \s10
- . \" For Tru64 UNIX manpages. Use of this is discouraged.
- .de LI
- . ie !\\$1 \{\
- . TP
- \\$1
- . \}
- . el \{
- . PP
- . \}
- ..
- .so /usr/heirloom/lib/doctools/tmac/an-ext
- .\" For groff_www.7
- .de URL
- . nop \\$2 \(la\\$1\(ra\\$3
- ..
- .als MTO URL
- .als FTP URL
- .de AT
- . ie \\$14 .ds ]W System III
- . el .ie \\$15 \{\
- . ds ]W System V
- . if !\\$2 .as ]W " Release \\$2
- . \}
- . el .ds ]W 7th Edition
- ..
- .de UC
- . ie \\$14 .ds ]W 4th
- . el .ie \\$15 .ds ]W 4.2
- . el .ie \\$16 .ds ]W 4.3
- . el .ie \\$17 .ds ]W 4.4
- . el .ds ]W 3rd
- . as ]W " Berkeley Distribution
- ..
- .\" vim:set filetype=groff:
|