home *** CD-ROM | disk | FTP | other *** search
- '\"#ident "@(#)//usr/ucblib/doctools/tmac/sunman.sl 1.1 4.0 12/08/90 29624 AT&T-USL"
- '\" PROPRIETARY NOTICE (Combined)
- '\"
- '\"This source code is unpublished proprietary information
- '\"constituting, or derived under license from AT&T's UNIX(r) System V.
- '\"In addition, portions of such source code were derived from Berkeley
- '\"4.3 BSD under license from the Regents of the University of
- '\"California.
- '\"
- '\"
- '\"
- '\" Copyright Notice
- '\"
- '\"Notice of copyright on this source code product does not indicate
- '\"publication.
- '\"
- '\" (c) 1986,1987,1988,1989 Sun Microsystems, Inc
- '\" (c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
- '\" All rights reserved.
- .ds ]W Sun Release 4.0
- ' # month name
- . \".if "\nd"0" .nr m \n(mo-1
- . \".if "\nm"0" .ds ]m January
- . \".if "\nm"1" .ds ]m February
- . \".if "\nm"2" .ds ]m March
- . \".if "\nm"3" .ds ]m April
- . \".if "\nm"4" .ds ]m May
- . \".if "\nm"5" .ds ]m June
- . \".if "\nm"6" .ds ]m July
- . \".if "\nm"7" .ds ]m August
- . \".if "\nm"8" .ds ]m September
- . \".if "\nm"9" .ds ]m October
- . \".if "\nm"10" .ds ]m November
- . \".if "\nm"11" .ds ]m December
- ' # set the date
- . \".if n \{.nr m \nm+1
- . \". ie \nd .ds ]W Modified \nm/\nd/\ny
- . \". el .ds ]W Printed \n(mo/\n(dy/\n(yr\}
- . \".if t \{.ie \nd .ds ]W \*(]m \nd, 19\ny
- . \". el .ds ]W \*(]m \n(dy, 19\n(yr\}
- ' # end of commented out chunk
- .if t .tr *\(**
- .ie n \{\
- . ds lq \&"\"
- . ds rq \&"\"
- .\}
- .el \{\
- . ds rq ''
- . ds lq ``
- .\}
- .de UC
- . \".if t \{\
- . \". ie "\\$1"" .ds ]W 3rd Berkeley Distribution
- . \". ie "\\$1"4" .ds ]W \\$1th Berkeley Distribution
- . \". el .ds ]w \\$2 \\$1 BSD
- . \".\}
- ..
- ' # reset the basic page layout
- .de }E
- .}f
- .in \\n()Ru+\\n(INu
- .ll \\n(LLu
- ..
- ' # default tabs
- .de DT
- 'ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
- ..
- ' # set type font and size
- .de }f
- .ps 10
- .ft 1
- ..
- ' # handle the head of the page
- .de }H
- .ev 1
- .}C
- .if \\nF .tm .SE PAGINATE NEW-PAGE \\n%
- 'sp .5i
- .ft 1
- .ps 10
- .tl \\*(]H\\*(]D\\*(]H
- 'sp .5i
- .ev
- .ns
- ..
- ' # handle the foot of the page
- .de }F
- .ev 1
- .ft 1
- .ps 10
- 'sp .5i
- .if !\\nD .tl \\*(]W\\*(]L\\*(PN%
- .if \\nD .if o .tl \\*(]W\\*(]L\\*(PN%
- .if \\nD .if e .tl \\*(PN%\\*(]L\\*(]W
- .if !\\nX 'bp
- .if \\nX .if \\n%>=\\nX \{\
- .ds PN \\n%
- .pn 1
- .af % a
- .nr X 0
- 'bp 1\}
- .if \\nX .if \\n%<\\nX 'bp
- .ev
- ..
- ' # the cut mark -- we don't need this -- Henry
- . \".if n .ig
- . \".de }C
- . \".po .1i
- . \".tl '-'
- . \".po
- . \"..
- ' # the final cut mark -- we don't need this -- Henry
- . \".de }M
- . \".}N
- . \".wh -1p }C
- . \".ll \\n(LLu
- . \"..
- ' # no runout unless there was a .TH
- .de }K
- .}N
- .pl 1
- .ll \\n(LLu
- ..
- .em }K
- ' # set title and heading
- .de TH
- .PD
- .DT
- .if n .nr IN .5i
- .if t .nr IN .5i
- .ll 6.5i
- .nr LL \\n(.l
- .ds ]H \\$1\|(\|\\$2\|)
- .ds ]D MISC. REFERENCE MANUAL PAGES
- .if '\\$2'1' .ds ]D USER COMMANDS
- .if '\\$2'1C' .ds ]D USER COMMANDS
- .if '\\$2'1G' .ds ]D USER COMMANDS
- .if '\\$2'1S' .ds ]D USER COMMANDS
- .if '\\$2'1V' .ds ]D USER COMMANDS
- .if '\\$2'2' .ds ]D SYSTEM CALLS
- .if '\\$2'2V' .ds ]D SYSTEM CALLS
- .if '\\$2'3' .ds ]D C LIBRARY FUNCTIONS
- .if '\\$2'3C' .ds ]D COMPATIBILITY FUNCTIONS
- .if '\\$2'3F' .ds ]D FORTRAN LIBRARY ROUTINES
- .if '\\$2'3K' .ds ]D KERNEL VM LIBRARY FUNCTIONS
- .if '\\$2'3L' .ds ]D LIGHTWEIGHT PROCESSES LIBRARY
- .if '\\$2'3M' .ds ]D MATHEMATICAL LIBRARY
- .if '\\$2'3N' .ds ]D NETWORK FUNCTIONS
- .if '\\$2'3R' .ds ]D RPC SERVICES LIBRARY
- .if '\\$2'3S' .ds ]D STANDARD I/O FUNCTIONS
- .if '\\$2'3V' .ds ]D SYSTEM V LIBRARY
- .if '\\$2'3X' .ds ]D MISCELLANEOUS LIBRARY FUNCTIONS
- .if '\\$2'4' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'4F' .ds ]D PROTOCOL FAMILIES
- .if '\\$2'4I' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'4M' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'4N' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'4P' .ds ]D PROTOCOLS
- .if '\\$2'4S' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'4V' .ds ]D DEVICES AND NETWORK INTERFACES
- .if '\\$2'5' .ds ]D FILE FORMATS
- .if '\\$2'5V' .ds ]D FILE FORMATS
- .if '\\$2'6' .ds ]D GAMES AND DEMOS
- .if '\\$2'7' .ds ]D PUBLIC FILES, TABLES, AND TROFF MACROS
- .if '\\$2'8' .ds ]D MAINTENANCE COMMANDS
- .if '\\$2'8C' .ds ]D MAINTENANCE COMMANDS
- .if '\\$2'8S' .ds ]D MAINTENANCE COMMANDS
- .if '\\$2'8V' .ds ]D MAINTENANCE COMMANDS
- .if '\\$2'L' .ds ]D LOCAL COMMANDS
- .if !'\\$4'' .ds ]W \\$4
- .if !'\\$5'' .ds ]D \\$5
- .wh 0 }H
- .if t .wh -1i }F
- .if n .wh -1.167i }F
- .em }M
- .if !\\n(nl .if !\\nP .nr P 1
- .if !\\n(nl .if \\nP .pn \\nP
- .if \\nX .if \\nP>=\\nX \{\
- .ds PN \\nP
- .pn 1
- .af % a
- .nr X 0 \}
- .if !\\n(nl .if \\nP .nr P 0
- .if \\nC .if \\n(nl .bp
- .if !\\nC .if \\n(nl .bp 1
- .ds ]L Last change: \\$3
- .}E
- .DT
- .nr )I .5i
- .nr )R 0
- . \".if n .na
- .mk ka
- .if !'\\n(ka'-1' .bp
- .if \\nF .tm .CE MAN-PAGE 1 \\$1(\\$2) \\n%
- ..
- ' # IX - Make an Index Entry
- .de IX
- .if \\nF .tm .IE\tENTRY\t\\$1\t\\$2\t\\$3\t\\$4\t\\$5\t\\$6\t\\*(PN\\n%
- ..
- ' # TX - Resolve a Title Reference
- .de TX
- .ds Tx "UNKNOWN TITLE ABBREVIATION: \\$1
- .if '\\$1'DOCBOX' .ds Tx "Documentation Set
- .if '\\$1'BGBOX' .ds Tx "Beginner's Guides Minibox
- .if '\\$1'GSBG' .ds Tx "Getting Started with SunOS: Beginner's Guide
- .if '\\$1'SUBG' .ds Tx "Setting Up Your SunOS Environment: Beginner's Guide
- .if '\\$1'SHBG' .ds Tx "Self Help with Problems: Beginner's Guide
- .if '\\$1'SVBG' .ds Tx "SunView\ 1 Beginner's Guide
- .if '\\$1'MMBG' .ds Tx "Mail and Messages: Beginner's Guide
- .if '\\$1'DMBG' .ds Tx "Doing More with SunOS: Beginner's Guide
- .if '\\$1'UNBG' .ds Tx "Using the Network: Beginner's Guide
- .if '\\$1'GDBG' .ds Tx "Games, Demos & Other Pursuits
- .if '\\$1'SABOX' .ds Tx "System Administration Manuals Minibox
- .if '\\$1'CHANGE' .ds Tx "Release 4.0 Change Notes
- .if '\\$1'INSTALL' .ds Tx "Installing the SunOS
- .if '\\$1'ADMIN' .ds Tx "System and Network Administration
- .if '\\$1'SECUR' .ds Tx "Security Features Guide
- .if '\\$1'PROM' .ds Tx "PROM User's Manual
- .if '\\$1'DIAG' .ds Tx "Sun System Diagnostics Manual
- .if '\\$1'SUNDIAG' .ds Tx "Sundiag User's Guide
- .if '\\$1'REFBOX' .ds Tx "Reference Manuals Minibox
- .if '\\$1'MANPAGES' .ds Tx "SunOS Reference Manual
- .if '\\$1'REFMAN' .ds Tx "SunOS Reference Manual
- .if '\\$1'SSI' .ds Tx "Sun System Introduction
- .if '\\$1'SSO' .ds Tx "System Services Overview
- .if '\\$1'TEXT' .ds Tx "Editing Text Files
- .if '\\$1'DOCS' .ds Tx "Formatting Documents
- .if '\\$1'TROFF' .ds Tx "Using \&\fLnroff\fP and \&\fLtroff\fP
- .if '\\$1'INDEX' .ds Tx "Global Index
- .if '\\$1'PTBOX' .ds Tx "Programmer's Tools Manuals Minibox
- .if '\\$1'CPG' .ds Tx "C Programmer's Guide
- .if '\\$1'CREF' .ds Tx "C Reference Manual
- .if '\\$1'ASSY' .ds Tx "Assembly Language Manual
- .if '\\$1'PUL' .ds Tx "Programming Utilities and Libraries
- .if '\\$1'DEBUG' .ds Tx "Debugging Tools
- .if '\\$1'NETP' .ds Tx "Network Programming
- .if '\\$1'DRIVER' .ds Tx "Writing Device Drivers
- .if '\\$1'FPOINT' .ds Tx "Floating Point Programmers Guide
- .if '\\$1'SVPG' .ds Tx "SunView\ 1 Programmer's Guide
- .if '\\$1'SVSPG' .ds Tx "SunView\ 1 System Programmer's Guide
- .if '\\$1'PIXRCT' .ds Tx "Pixrect Reference Manual
- .if '\\$1'CGI' .ds Tx "SunCGI Reference Manual
- .if '\\$1'CORE' .ds Tx "SunCore Reference Manual
- .if '\\$1'4ASSY' .ds Tx "Sun-4 Assembly Language Reference Manual
- . # non-Sun titles
- .if '\\$1'KR' .ds Tx "The C Programming Language
- \fI\\*(Tx\fP\\$2
- ..
- ' # section heading
- .de SH
- .}X 0
- .nr )E 2
- \&\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6
- ..
- ' # sub section heading
- .de SS
- .}X .25i "" ""
- .nr )E 2
- \&\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6
- .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 .5i
- .ns
- ..
- ' # italic
- .de I
- .ft 2
- .it 1 }N
- .if !"\\$1"" \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6
- ..
- ' # bold
- .de B
- .ft 3
- .it 1 }N
- .if !"\\$1"" \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6
- ..
- ' # small
- .de SM
- .ps 9
- .it 1 }N
- .if !"\\$1"" \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6
- ..
- ' # combinations of Roman, italic, bold
- .de RI
- .}S 1 2 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- .de VS
- 'if '\\$1'4' .mc \s12\(br\s0
- ..
- .de VE
- 'mc
- ..
- .de RB
- .}S 1 3 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- .de IR
- .}S 2 1 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- .de IB
- .}S 2 3 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- .de BR
- .}S 3 1 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- .de BI
- .}S 3 2 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
- ..
- ' # make special case of shift out of italic
- .de }S
- .ds ]F
- .if "\\$1"2" .if !"\\$5"" .ds ]F\^
- .ie !"\\$4"" .}S \\$2 \\$1 "\\$3\f\\$1\\$4\\*(]F" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
- .el \\$3
- .}f
- ..
- ' # small and boldface
- .de SB
- \&\fB\s-1\&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6\s0\fR
- ..
- ' # paragraph
- .de LP
- .PP
- ..
- .de PP
- .sp \\n()Pu
- .ne 2
- .}E
- .nr )I .5i
- .ns
- ..
- ' # 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 !"\\$1"" .nr )I \\$1n
- .sp \\n()Pu
- .in \\n()Ru
- .nr )E 1
- .ns
- .it 1 }N
- .di ]B
- ..
- ' # end of TP (cf }N below)
- .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 \{\\*(]X
- .br\}
- .el \\*(]X\h|\\n()Iu+\\n()Ru\c
- .}f
- ..
- ' # handle end of 1-line features
- .de }N
- .if \\n()E .br
- .di
- .if "\\n()E"0" .}f
- .if "\\n()E"1" .}1
- .if "\\n()E"2" .}2
- .nr )E 0
- ..
- ' # 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 .5i
- .}E
- ..
- ' # decrease relative indent
- .de RE
- .if !"\\$1"" \{.ie "\\$1"0" .nr )p 1 1
- . el .nr )p \\$1 1\}
- .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()
- .bd S 3 3
- .if t .ds R \(rg
- .if n .ds R (Reg.)
- .ds S \s10
- .hy 14
-