Digital PDFs
Documents
Guest
Register
Log In
AA-LY19B-TE
June 1990
64 pages
Original
2.8MB
view
download
OCR Version
2.5MB
view
download
Document:
ULTRIX Reference Pages Section 7: Macro Packages and Conventions
Order Number:
AA-LY19B-TE
Revision:
0
Pages:
64
Original Filename:
OCR Text
ULTRIX Reference Pages Section 7: Macro Packages and Conventions Order Number: AA-LY19B-TE June 1990 Product Version: ULTRIX Version 4.0 or higher This manual contains miscellaneous information, including ASCII character codes, mail addressing formats, text formatting macros, and a description of the root file system for both RISC and VAX platforms. digital equipment corporation maynard, massachusetts Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause of DFARS 252.227-7013. © Digital Equipment Corporation 1984, 1986, 1988, 1990 All rights reserved. Portions of the information herein are derived from copyrighted material as permitted under license agreements with AT&T and the Regents of the University of California. © AT&T 1979, 1984. All Rights Reserved. Portions of the information herein are derived from copyrighted material as permitted under a license agreement with Sun MicroSystems, Inc. © Sun MicroSystems, Inc, 1985. All Rights Reserved. Portions of this document © Massachusetts Institute of Technology, Cambridge, Massachusetts, 1984, 1985, 1986, 1988. The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital or its affiliated companies. The following are trademarks of Digital Equipment Corporation: mn@nan DECUS ULTRIX Worksystem Software DECwindows UNIBUS CDA DTIF VAX DDIF MASSBUS VAXstation DDIS MicroVAX VMS DEC Q-bus VMS/ULTRIX Connection ULTRIX VT DECnet DECstation ULTRIX Mail Connection XUI POSIX is a registered trademark of the Institute of Electrical and Electronics Engineers. System V is a registered trademark of AT&T. UNIX is a registered trademark of AT&T in the USA and other countries. About Reference Pages The ULTRIX Reference Pages describe commands, system calls, routines, file formats, and special files for RISC and VAX platforms. Sections The reference pages are divided into eight sections according to topic. Within each section, the reference pages are organized alphabetically by title, except Section 3, which is divided into subsections. Each section and most subsections have an introductory reference page called int ro that describes the organization and anything unique to that section. Some reference pages carry a one- to three-letter suffix after the section number, for example, scan(lmh). The suffix indicates that there is a ‘‘family’’ of reference pages for that utility or feature. The Section 3 subsections all use suffixes and other sections may also have suffixes. Following are the sections that make up the ULTRIX Reference Pages. Section 1: Commands This section describes commands that are available to all ULTRIX users. Section 1 is split between two binders. The first binder contains reference pages for titles that fall between A and L. The second binder contains reference pages for titles that fall between M and Z. Section 2: System Calls This section defines system calls (entries into the ULTRIX kernel) that are used by all programmers. The introduction to Section 2, int ro(2), lists error numbers with brief descriptions of their meanings. The introduction also defines many of the terms used in this section. Section 3: Routines This section describes the routines available in ULTRIX libraries. Routines are sometimes referred to as subroutines or functions. Section 4: Special Files This section describes special files, related device driver functions, databases, and network support. Section 5: File Formats This section describes the format of system files and how the files are used. The files described include assembler and link editor output, system accounting, and file system formats. Section 6: Games The reference pages in this section describe the games that are available in the unsupported software subset. The reference pages for games are in the document Reference Pages for Unsupported Software. Section 7: Macro Packages and Conventions This section contains miscellaneous information, including ASCII character codes, mail addressing formats, text formatting macros, and a description of the root file system. Section 8: Maintenance This section describes commands for system operation and maintenance. Platform Labels The ULTRIX Reference Pages contain entries for both RISC and VAX platforms. Pages that have no platform label beside the title apply to both platforms. Reference pages that apply only to RISC platforms have a ‘‘RISC’’ label beside the title and the VAX-only reference pages that apply only to VAX platforms are likewise labeled with ““VAX.” If each platform has the same command, system call, routine, file format, or special file, but functions differently on the different platforms, both reference pages are included, with the RISC page first. Reference Page Format Each reference page follows the same general format. Common to all reference pages is a title consisting of the name of a command or a descriptive title, followed by a section number; for example, date(1). This title is used throughout the documentation set. The headings in each reference page provide specific information. The standard headings are: Name Syntax Provides the name of the entry and gives a short description. Describes the command syntax or the routine definition. Section 5 reference pages do not use the Syntax heading. Description Provides a detailed description of the entry’s features, usage, and syntax variations. Options Restrictions Describes the command-line options. Describes limitations or restrictions on the use of a command or routine. Examples iv About Reference Pages Provides examples of how a command or routine is used. Return Values Describes the values returned by a system call or routine. Used in Sections 2 and 3 only. Diagnostics Files Describes diagnostic and error messages that can appear. Lists related files that are either a part of the command or used during execution. Environment Describes the operation of the system call or routine when compiled in the POSIX and SYSTEM V environments. If the environment has no effect on the operation, this heading is not used. Used in Sections 2 and 3 only. See Also Lists related reference pages and documents in the ULTRIX documentation set. Conventions The following documentation conventions are used in the reference pages. % The default user prompt is your system name followed by a right angle bracket. In this manual, a percent sign (%) is used to represent this prompt. # A number sign is the default superuser prompt. user input This bold typeface is used in interactive examples to indicate typed user input. system output This typeface is used in text to indicate the exact name of a command, routine, partition, pathname, directory, or file. This typeface is also used in interactive examples to indicate system output and in code examples and other screen displays. UPPERCASE lowercase The ULTRIX system differentiates between lowercase and uppercase characters. Literal strings that appear in text, examples, syntax descriptions, and function definitions must be typed exactly as shown. rlogin This typeface is used for command names in the Syntax portion of the reference page to indicate that the command is entered exactly as shown. Options for commands are shown in bold wherever they appear. filename In examples, syntax descriptions, and routine definitions, italics are used to indicate variable values. In text, italics are used to give references to other documents. [] In syntax descriptions and routine definitions, brackets indicate {1} In syntax descriptions and routine definitions, braces enclose lists from which one item must be chosen. Vertical bars are used to items that are optional. separate items. About Reference Pages v « . . In syntax descriptions and routine definitions, a horizontal ellipsis indicates that the preceding item can be repeated one or more times. A vertical ellipsis indicates that a portion of an example that would normally be present is not shown. cat(l) Cross-references to the ULTRIX Reference Pages include the appropriate section number in parentheses. For example, a reference to cat(1) indicates that you can find the material on the cat command in Section 1 of the reference pages. Online Reference Pages The ULTRIX reference pages are available online if installed by your system administrator. The man command is used to display the reference pages as follows: To display the 1s(1) reference page: % man ls To display the passwd(1) reference page: % man passwd To display the passwd(5) reference page: % man 5 passwd To display the Name lines of all reference pages that contain the word *‘passwd’’: % man -k passwd To display the introductory reference page for the family of 3xti reference pages: $ man 3xti intro Users on ULTRIX workstations can display the reference pages using the unsupported xman utility if installed. See the xman(1X) reference page for details. Reference Pages for Unsupported Software The reference pages for the optionally installed, unsupported ULTRIX software are in the document Reference Pages for Unsupported Software. vi About Reference Pages intro(7) Name intro — miscellaneous useful information pages Description This section contains miscellaneous documentation, mostly in the area of text processing macro packages for nroff and other *roff formatters. Macro Packages and Conventions 7-1 ascii(7) Name ascii — map of ASCII character set Syntax cat /usr/pub/ascii Description The ascii file is a map of the ASCII character set, to be printed as needed. It contains: 1100 110 9 @ 1101 H 1111 1072 A 1102 I 1112 B 1103 J 1113 1114 1120 P 1121 Q 1122 R 1123 1124 1130 X 1131 Y1132 Z 1133 1134 1140 ° 1141 a 1142 b 1143 1144 1150 h 1151 1 1152 j 1153 1154 1160 p 1161 q 1162 r 1163 1164 1170 x 1171 y 1172 =z 1173 1174 10 dlef 18 canl 11 dcll 19 em | 1165 1175 1156 1166 1176 15 nak| Ic fs | 1d gs 22 2a | 1 23 2b 24 $ I 25 I 2d I 35 | 3d 45 1132 21 33 | l 33 40 48 8139 @ | 41 H1 49 91 A | 1 1 3a 42 4a : B J 1 | | 3b 43 4b l 50 PI1 51 Q1 52 R 1| 53 | 58 X1 YI 5a Z 1 5b | 60 | 68 P70 I 78 * h p x a | i1 qt y | b j r z 63 6b 73 7b 7-2 Macro Packages and Conventions 1155 1136 146 14 dc4l 01 /usr/pub/ascii 135 1145 1116 1126 12 dc21 la subl 30 Files 1115 1125 1076 1106 05 enq| 0d cr | l 59 1105 1066 04 eot| Oc np | 62 6a 72 7a " * | ! )Y | 61 |1 69 1 71 179 1075 1056 03 etx| 0Ob vt | 13 dc3| 1b esc| Oa nl 20 sp 1 21 P28 (129 31 1 |l 02 stx| 1065 | | | | 2¢C 34 3¢ 44 4c¢ 54 S5c 64 6¢ 74 7c I I I I 4d 55 I 5d 65 I I 6d 75 I 7d KN | | | 1055 ~cJ o —CZmil vl soh!l OA B 09 ht | T 01 08 bs 1074 1104 - 00 null | 1073 1054 1064 —e = [ : W+ #* 1071 1063 wo—'mpqmu. 8 1053 —~ 1070 * 2 <8 = >L2ZmV o 1062 1 1052 1 1057 1067 1117 o 1127 W 1137 _ 1147 g 1157 o w 1177 del | 36 I 3e 46 I 4e I 56 I Se I 66 | I 6e 76 Te I | / 7 7 1167 | us ~ G I I si etbl 1077 | | bell 1107 06 ackl so | 16 syn| le rs | 26 & 2e Oe - >LZTV o ) 1061 <3 1051 O ! ( 1060 w + 1050 enq | 006 ack!1007 cr 1016 so 1017 nak 026 synl027 gs 1036 rs 1037 1046 &1047 —~c 8o —-CZmMi il K stxi003 etx1004 eot 1005 nl (013 vt 1014 np 1015 dc21023 dc31024 dc41025 subl033 escl034 fs 1035 " 1043 # 1044 $ 1045 —em = -0 A &~ 1000 nul 001 sohl002 1010 bs 1011 ht 1012 1020 dlel021 dc11022 1030 canl031 em 1032 1040 sp 1041 ! 1042 07 bell Of si | 17 etbl 1f us 27 2f 7 / 37 7 3f 47 G 2 4f O 57 W 5f _ 67 6f g o 77 w | environ (7) Name environ — user environment Syntax extern char **environ; Description An array of strings, called the environment, is made available by execve when a process begins. By convention, these strings have the form ‘‘name=value”’. The following names are used by various commands: PATH The sequence of directory prefixes that sh, t ime, and nice apply in searching for a file known by an incomplete path name. The prefixes are separated by a colon (:). The 1ogin(1) command sets PATH=:/usr/ucb:/bin:/usr/bin. HOME A user’s login directory, set by login from the password file passwd. TERM The kind of terminal for which outputis to be prepared. This informationis used by commands, such as nroff or plot, which may exploit spemal terminal capabilities. See /etc/termcap in termcap(5) for a list of terminal types. SHELL The file name of the user’s login shell. TERMCAP The string describing the terminal in TERM or the name of the termcap file. For further information, see termcap(5) and termcap(3x). EXINIT A startup list of commands read by ex, edit, and vi. USER The login name of the user. PRINTER The name of the default printer to be used by 1pr, 1pqg, and 1prm. Further names may be placed in the environment by the export command and “‘name=value’’ arguments in sh, or by the setenv command if you use csh. Arguments can also be placedin the environment at the point of an execve. Itis unwise to conflict with certain sh variables that are frequently exported by .profile files: MAIL, PS1, PS2, and IFS. See Also csh(1), ex(1), login(1), sh(1), execve(2), system(3), termcap(3x), passwd(5), termcap(S) Macro Packages and Conventions 7-3 RISC hier(7) Name hier — file system hierarchy Description The following is a brief description of the root file system. The major directory hierarchy and representative files are listed. Symbolic links can be included in the files to provide backward compatibility. To display the links, type: % 1ls ~1 See the Guide to Disk Maintenance for more detailed information. / Directory for root file system. This file system is separated into nonsharable data, (root (/)) and sharable data, (/usr). These two file systems are each divided into the following types: static data, variable data, and executable data. /bin Directory for the single user executable data files. /bin/init Parent of all processes, init(8). /bin/mount Mount program, mount(8). /dev Directory for devices. MAKEDEYV Shell script to create special files MAKEDEY.local Site-specific part of MAKEDEV console Jetc Main console, tty(4) rz SCSI disks, rz(4) rrz* Raw SCSI disks, rz(4) rmt* Tapes mrmt* Tapes tty* Terminals, tty(4) Directory for the machine-specific static data files and shell scripts for booting. crontab disktab fstab group hosts System clock daemon table, crontab(5) Disk characteristics and partition tables, di skt ab(5) File system configuration table, £ stab(5) Group file, group(5) Host name-to-network address mapping file, host s(5) motd networks Message-of-the-day file, 1ogin(1) Network name-to-network number mapping file, passwd protocols rc networks(5) Password file, passwd(5) Name-to-number mapping file, protocols(5) Shell script to bring the system to multiuser mode 7-4 Macro Packages and Conventions hier(7) Site-dependent portion of rc rc.local remote Names and description of remote hosts for t ip(1c) and services termcap ttys Network services definition file, services(5) Description of terminal capabilities, termcap(5) Properties of terminals, ttys(5) remote(5) /lib Symbolic link to /usr/1lib. Nost+found Directory for connecting detached files for £sck(8). /sys Symbolic link, normally to /usr/sys. /tmp Directory for temporary fiies (see also /usr/tmp). e* ctm* /usr /var Used by ed(1) Used by cc(1) General purpose directory, on which the /usr file system is normally mounted (see description that follows). Directory for variable length files, such as spool, administrative, and temporary files. These files can also be located in /usr/var. See the Guide to Disk Maintenance. /vmunix Kernel image The /usr directory contains the sharable data. The following is a brief description of the /usr file system. The major directory hierarchy and representative files are listed. /usr Root directory for /usr file system. fusr/adm Directory for administrative information, which is now a symbolic link to /var/adm. Directory for crash dumps crash Crash dump files vmcore.?,vmunix.? Line printer accounting, 1pr(1) lpacct Phototypesetter accounting, trof£(1) tracct Login history, utmp(5) wtmp Macro Packages and Conventions 7—5 RISC RISC hier(7) /usr/bin Directory for the shared executable data files, including utility programs and Shell scripts. as assembler cc C compiler executive (see also /usr/1ib/ccom and csh C shell /usr/1lib/cpp) fusr/dict Directory for word lists. spelthist words lusr/doc Directories containing files for the Vol.2 documentation. as c /usr/etc History file, spel1(1) Word list, 1o0k(1) Assembler manual C manual Directory for utility programs and shell scripts. /usr/etc/cron Clock daemon, cron(8). /usr/etc/dump Dump program, dump (8) . /usr/examples A directory where components of the base system and Digital’s separately licensed products can locate code examples, scripts, and demos for customers to use. A typical use is to complement printed documentation. fusr/games Directory for games. hangman Hangman game lib Library directory for games lusr/etc/getty Part of login, getty(8). 7-6 Macro Packages and Conventions hier(7) /usr/include Directory for standard #include files. Object file layout, a . out(5) a.out.h math.h stdio.h Sys matherr(3m) Standard 1/O, int ro(3s) Symbolic link to /sys/h (system generation #include files) fusr/lib Directory for the shared static data files, such as object libraries. atrun System scheduler, at(1) cpp libc.a C preprocessor font lint tmac units uucp /usr/man System calls and standard I/O (2,3,3S) Directory for *rof £(1) fonts Directory for utility files for 1int(1) Directory for * rof £(1) macros Data file of conversion tables for units(1) Directory for uucp(lc) programs and data Directory for unformatted and preformatted reference (manual) pages. catl cat2 cat3 Section 1 (preformatted) Section 2 (preformatted) Section 3 (preformatted) manl Section 1 (unformatted) Section 2 (unformatted) Section 3 (unformatted) man2 man3 /usr/mdec Directory for ULTRIX boot files. /usr/msgs Directory for messages, msgs(1). /usr/new Directory for binaries of new versions of programs. /usr/preserve Directory for editor temp files preserved after crashes or hangups. /usr/skel Directory for sample user startup files. .cshre Jogin .mailrc .profile Jproject Startup file for csh(l) Login startup file for csh(1) Startup file for mail(l) Startup file for sh(l) Lists information used by finger(1) Macro Packages and Conventions 7—-7 RISC RISC hier(7) /usr/spool Directory for delayed execution files, which is now a symbolic link to /var/spool. at Ipd Directory used by at(1) Directory used by 1pr(1) lock cf* mail Present when line printer is active Copy of file to be printed, if necessary df* Daemon control file, 1pd(8) tf* Transient control file (exists while 1pr is working) Mailboxes for mail(1) name Mail file for user name name.lock Lock file (exists while name is receiving mail) uucp Work files and staging area for uucp(lc) LOGFILE /usr/src Generic sources. usr.bin /usr/sys Summary log User sources troff nroff and troff sources term Directory of description files for new printers Directory for system files. b.mips b.vax fs BINARY for MIPS BINARY for VAX Filesystem SRC net Netword SRC mips MIPS-specific SRC vax data VAX-specific SRC System data files conf/{mips,vax} Configuration files h fusr/tmp #include files SAS Standalone system Sys Machine independent SRC Symbolic link to /var/tmp. See Also apropoes(1), find(1), finger(1), grep(1), 1s(1), whatis(1), whereis(1), which(1), ncheck(8) Guide to Disk Maintenance 7—-8 Macro Packages and Conventions hier(7) Name hier — file system hierarchy Description The following is a brief description of the root file system. The major directory hierarchy and representative files are listed. Symbolic links can be included in the files to provide backward compatibility. To display the links, type: $ 1ls -1 See the Guide to Disk Maintenance for more detailed information. / Directory for root file system. This file system is separated into nonsharable data (root (/) and sharable data (/usr). These two file systems are each divided into the following types: static data, variable data, and executable data. /bin Directory for the single user executable data files. /bin/init Parent of all processes, init(3). /bin/mount Mount program, mount(8). /dev Directory for devices. MAKEDEYV Shell script to create special files MAKEDEYV.local Site-specific part of MAKEDEV console Main console, tty(4) disks, hp(4) hp* Raw disks, hp(4) rhp* ra* tty* letc UNIBUS disks, ra(4) Terminals, tty(4) Directory for the machine-specific static data files and shell scripts for booting. crontab System clock daemon table, crontab(5) disktab fstab Disk characteristics and partition tables, disktab(5) File system configuration table, £stab(5) hosts Host name-to-network address mapping file, hosts(5) group Group file, group(5) motd Message-of-the-day file, Login(1) networks Network name-to-network number mapping file, networks(d) passwd Password file, passwd(5) rc.local Site-dependent portion of rc protocols re Name-to-number mapping file, protocols(S) Shell script to bring the system to multiuser mode Macro Packages and Canventions 7—-9 VAX VAX hier(7) remote Names and description of remote hosts for t ip(1c) and services Network services definition file, services(5) remote(d) termcap ttys Nlib Description of terminal capabilities, termcap(5) Properties of terminals, ttys(5) Symbolic link to /usr/1ib. Nlost+found Directory for connecting detached files for £sck(8). Isys Symbolic link, normally to /usr/sys. /tmp Directory for temporary files (see also /usr/ tmp). e* ctm* /usr Used by ed(1) Used by cc(1) General purpose directory, on which the /usr file system is normally mounted (see description that follows). /var Directory for variable lerigth files, such as spool, administrative, and temporary files. These files can also be located in /usr/var. See the Guide to Disk Maintenance. /vmunix Kernel image The /usr directory contains the sharable data. The following is a brief description of the /usr file system. The major directory hierarchy and representative files are listed. /usr /usr/adm Root directory for /usr file system. Directory for administrative information, which is now a symbolic link to /var/adm. crash Directory for crash dumps Ipacct Line printer accounting, 1pr(1) tracct Phototypesetter accounting, t rof £(1) vmcore.?,ymunix.? Crash dump files vaacct, vpacct Varian and Versatec accounting for vpr(1), vtrof£(1), pac(8) wtmp /usr/bin Login history, utmp(5) Directory for the shared executable data files, including utility programs and Shell scripts. as assembler cc C compiler executive (see also /1ib/ccom, /1ib/cpp, and /1lib/c2) 7-10 Macro Packages and Conventions hier (7) C shell csh fusr/dict Directory for word Lists. History file, spell(1) Word list, 1ook(1) spellhist words . fusr/doc Directories containiné files for the Vol.2 documentation. Assembler manual as C manual c fusr/etc Directory for utility programs and shell scripts. /usr/etc/cron Clock daemon, cron(8). /usr/etc/dump Dump program, dump (8) . /usr/examples A directory where components of the base system and Digital’s separately licensed products can locate code examples, scripts, and demos for customers to use. A typical use is to complement printed documentation. | /usr/games Directory for games. hangman lib Hangman gam Library directory for games lusr/etc/getty Part of login, getty(8). , | fusr/include Directory for standard #include files. a.outh Object file layout, a.out(5) stdio.h Standard /O, intro(3s) math.h Sys fusrflib matherr(3m) Symbolic link to /sys/h (system generation #include files) Directory for the shared static data files, such as object libraries. atrun ccom System scheduler, at(1) C compiler proper Macro Packages and Conventions 7—-11 VAX VAX hier (7) cpp c2 C preprocessor C code improver libc.a System calls and standard I/O (2,3,3S) Directory for *rof £(1) fonts Directory for utility files for 1int(1) font lint Directory for nro££(1) and *rof £(1) macros Data file of conversion tables for units(1) Directory for uucp(1c) programs and data tmac units uucp /usr/man Directory for unformatted and preformatted reference (manual) pages. catl Section 1 (preformatted) cat2 Section 2 (preformatted) Section 3 (preformatted) cat3 manl man2 Section 1 (unformatted) Section 2 (unformatted) man3 Section 3 (unformatted) /usr/mdec Directory for ULTRIX boot files. /usr/msgs Directory for messages, msgs(1). /usr/new Directory for binaries of new versions of programs. /usr/preserve Directory for editor temp files preserved after crashes or hangups. /usr/skel Directory for sample user startup files .cshre Jogin .mailrc .profile .project /usr/spool Startup file for csh(1) Login startup file for csh(1) Startup file for mail(1) Startup file for sh(1) Lists information used by finger(1) Directory for delayed execution files, which is now a symbolic link to /var/spool. at Ipd Directory used by at(1) Directory used by 1pr(1) lock cf* df* mail Present when line printer is active Copy of file to be printed, if necessary Daemon control file, 1pd(8) tf* Transient control file (exists while 1pr is working) Mailboxes for mail(l) name Mail file for user name name.lock Lock file (exists while name is receiving mail) uucp Work files and staging area for uucp(lc) LOGFILE 7-12 Macro Packages and Conventions Summary log hier (7) Jusr/sre Generic sources. usr.bin User sources troff nroff and troff sources term lusr/sys Directory for system files. BINARY cassette conf data floppy h System object files, make(1) Files for boot cassette Configuration files, config(8) Drive partition tables Files for floppy disk #include files net Headers for 11/750 boot blocks General network files netimp IMP network files mdec netinet netpup stand Sys vax vaxif vaxmba vaxuba fusr/tmp Directory of description files for new printers DARPA internet network files PUP network files Standalone boot binaries Machine-dependent system files VAX-specific system files Network interface drivers for the VAX Drivers for devices on the MASSBUS Drivers for devices on the UNIBUS Symbolic link to /var/tmp. See Also apropos(1), find(1), finger(1), grep(1), 1s(1), whatis(1), whereis(1), which(1), crontab(5), ncheck(8) Guide to Disk Maintenance Macro Packages and Conventions 7-13 VAX mailaddr (7) Name mailaddr — mail addressing description Description Mail addresses are based on the ARPANET protocol listed in the SEE ALSO section of this reference page. In addition, the DECnet address format can be used, if DEChet is installed on your system. To send mail to DECnet users, use the following address format: nodename: :username In this case, nodename is the name of the DECnet system, or host, on which the target user resides. Addresses based on the ARPANET protocol use the following general format: user@domain A domain is a hierarchical dot-separated list of subdomains. For example, the following address is interpreted from right to left: eric@monet.Berkeley.ARPA In the previous example, the message is directed to the ARPA name tables (which do not correspond exactly to the physical ARPANET). The message then proceeds to the Berkeley gateway, after which it is directed to the local host monet. When the message reaches monet, it is delivered to the user eric. Unlike some other forms of addressing, this does not imply any routing. Thus, an address that is specified as an ARPA address can travel by an alternate route if that route is more convenient or efficient. For example, from Berkeley, the message could go directly to monet over the Ethernet, rather than using the Berkeley ARPANET gateway. Abbreviations. In some instances, you do not have to type an entire domain name. Generally, any information that follows the first dot may be omitted if the sending and receiving domains are the same. For example, a user on calder.Berkeley. ARPA can eliminate the .Berkeley. ARPA when sending to eric@monet, because the sending and receiving hosts are the same. Other abbreviations are permitted when conflicts do not exist. For example, Berkeley ARPANET hosts can be accessed without adding the .ARPA, if their names do not conflict with a local host name. Compatible Addresses. To provide compatibility with the previous mail system, some old address formats are converted to the new format. In particular, host:;user is converted to user@host providing consistency with the rcp(lc) command. The syntax host!user is converted to user@host. UUCP. Before being sent on, user@host.UUCP is normally converted back to the host!user form. This conversion is done for compatibility with older UUCP hosts. The current implementation cannot automatically route messages through the UUCP network. Thus, you must explicitly tell the mail system all the hosts your messages must be sent through to arrive at its final destination. 7-14 Macro Packages and Conventions mailaddr(7) Case Distinctions. Domain names (that is, anything following the at sign (@)) can be a combination of upper- and lowercase characters with the exception of UUCP hostnames. Most hosts accept both upper- and lowercase in user names, with the exception of MULTICS sites. Differences with ARPA Protocols. Although the UNIX addressing scheme is based on the ARPA mail addressing protocols, there are some significant differences. . RPA domain itself. Currently, the only top level domain defined by ARPA is the A That is, the specifier. This is further restricted to having only one level of host (where ‘host’ ARPA addresses that ARPA accepts must be in the format user@host. ARPA the under legal is one word). For example, the following address is not protocols: eric@monet.Berkeley.ARPA Thus, the previous address would be converted to a different format on output to the ARPANET. For example: eric$monet@Berkeley.ARPA Route-addrs. In some instances, a message must be routed through several hosts to reach its final destination. Usually, this action is invisible to the sender; however, it is sometimes desirable to route a message manually. Addresses that are moved manually are called route-addrs. The syntax is as follows: <Rhosta, @hostb:user@hostc> The previous example directs the message to hosta, to hostb, and finally to hostc. This route is used regardless of a more efficient path to hostc. Route-addrs occur frequently on return addresses, because they are generally augmented by the software at each host. It is possible to ignore all but the user@host part of the address to determine the actual sender. Postmaster. Every site must have a user or user alias designated as postmaster to which problems with the mail system can be addressed. CSNET. To send messages to CSNET, use the following syntax: user.host@UDel-Relay See Also mail(1), sendmail(8) Crocker, D. H., Standard for the Format of Arpa Internet Text Messages, RFC822 Macro Packages and Conventions 7-15 man(7) Name man — the man macro package for online reference pages Syntax thl file... | nroff [ -nN ][ —rl1 ] -man | col | ... thl file... | *troff [ -nN ][ —rl1 ] -man | ... Description The man macro package is used to format reference manual pages for online viewing or printing. The installed reference pages are formatted by the man(1) and the catman(8) commands, using the man macro package. The page size is 80 columns by 66 lines for nrof £ output and is 8.5" x 11" when formatted with *t rof £ text formatters. Page numbers appear at the bottom of each output page with odd page numbers appearing on the right side and even page numbers appearing on the left side. The format of the ULTRIX online reference pages is determined by the man. repro(7) macro package. The man macros are a compatible subset of the man.repro macros. Macros The following describes the macros in the man macro package. Any fext argument can range from zero to six words. Quotation marks (" ") can be used to include blanks in words. If fext is not specified, special treatment is applied to the next input line that has text to be printed. In this way, . I can be used to italicize a whole line or . SM followed by . B to make small bold letters. A prevailing indent distance is remembered between successive indented paragraphs, and is reset to a default value upon reaching a nonindented paragraph. Default units for indents 7 are ens (an en is 1 nroff character or 1/2 em space in current point size). Typeface and size are reset to default values before each paragraph, and after processing font and size setting macros. B [text...] Sets text text in boldface. If no text is specified, the next text line is set in boldface. BI wordl word2 [ words... ] Sets wordl in boldface, word?2 in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). BR wordl word2 [ words... ] Sets wordl in boldface, word2 in a roman typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). 7-16 Macro Packages and Conventions man(7) CT character Prints the keyboard control character indicator <CTRL/character> . For example, .CT A prints as <CTRL/A> . CW Sets text in constant width font until another font change is found. De Ends an unfilled display block (started by .Ds). Also ends automatic centering, if it was in effect. Ds Starts an unfilled display block. Text between .Ds and .De is printed in a roman typeface, with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The display block is set flush left. DT Restores default tabs. Default tabs are set to .5 inches, starting with Si, 14, ... .EE Ends an example and restores basic text defaults and indents. EX[i] Starts an example. Text between .EX and .EE is printed in a constant width font with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The example is set flush left unless an indent i is specified. Units of i are ens. G [ text... ] Sets text in a sans-serif typeface. If no text is specified, the next text line is set in a sans-serif typeface. GL [ text... ] Sets fext in a sans-serif italic typeface. If no text is specified, the next text line is set in a sans-serif italic typeface. HB [ words... ] Sets the text in underline mode or in a sans-serif bold typeface, depending on the type of text formatter (nroff or troff). If the text formatter is of type nroff, the next 999 input lines are formatted in underline mode (nroff italic mode), or all the lines up to a font change are formatted in underline mode, depending on which limit is encountered first. If the text formatter is of type t rof £, text is set in a sans-serif bold typeface until a font change is encountered. Up to nine words can also be specified as arguments. HP i Jdf text... ] Begins a paragraph with a hanging indent of i ens. Sets text in an italic typeface. If no text is specified, the next text line is set in an italic typeface. J1 word Sets a temporary indent to the length of the specified word. J2 word Reverses one line and then sets a temporary indent to the length of the specified word. JIB wordl word2 [ words... ] Sets wordl in an italic typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). xi JP Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. Tag x appears in bold typeface. Macro Packages and Conventions 7—-17 man(7) JR wordl word2 [ words... ] Séts wordl in an italic typeface, word2 in a roman typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). LP Same as the . PP macro. This macro is obsolete, but is provided for backwards compatibility. -MS reference_page section_subsection [ punctuation ] Sets reference_page immediately followed by section_subsection in parentheses followed by optional punctuation, using fonts that distinguish this reference page reference from ordinary text. For example, manua l(section). .NE Ends a note. Also cancels automatic centering if it was in effect. NT [ headerl 1[ C ] NT [ C ][ header2 ] o Starts a note. If no arguments are specified, the default header for the note is ‘NOTE’. If the first argument is the letter ‘C’, all text in the note is centered, for the next 99 text lines or until the .NE macro is called, whichever comes first. If the first argument is not ‘C’, it becomes the header of the note, even if header2 is also specified. The header2 argument becomes the header of the note if the first argument is ‘C’. PD[v] Sets the interparagraph distance to v vertical spaces. Resets the distance to the default value if v is omitted. PNx[y] Setsxin an italic or constant width typeface (depending on the *roff formatter type) and then reverts to the previous typeface. The optional argument y is appended to x with no space, but printed in the previous typeface. The x argument is usually a path name; y is usually punctuation. Pnxy[z] Setsxin the current typeface, sets y in an italic or constant width typeface (depending on the *rof £ formatter type) and appends it to x, and finally reverts to the previous typeface. The optional argument z is appended to y, but printed in the previous typeface. Spaces are removed between x, y, and z, unless quotation marks (" ") are used to enclose strings with spaces. The x argument is usually a fixed path name; y is usually a variable path name; and z is usually punctuation. PP Starts a block paragraph. Sets the prevailing indent to .5i for nroff and four picas for *troff text formatters. R Sets the text in a roman typeface until another font change is encountered. Also ends nrof £ uiinderline mode if it was in effect. RB wordl word2 [ words... ] Sets wordl in a roman typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RE [ k] Returns to the kth relative right shift indent level. (Restores the left margin to the position prior to the kth . RS call). Specifying k=0 is 7-18 Macro Packages and Conventions man(7) equivalent to specifying k=1. If k is omitted, .RE restores the left margin to the most recent previous position. When k=1 or 0, the default .RS indent increment is restored. RI wordl word?2 [vwords... ] Sets wordl in a roman typeface, word2 in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RN Prints the return character indicator, <RETURN> . RS[i] Shifts the left margin to the right (relatively) the amount of i ens. The . RS macro calls can be nested up to nine levels. If i is not specified for the first . RS call, the relative right shift increases .5 inch for nroff, and four picas for *t rof £ text formatters. Nested .RS calls increment the relative indent by i ens, or by .25 inch for nroff, or by 2 picas for *troff text formatters. SH text Creates a section header. SM [ text ] Sets text to be two points smaller than the current point size. If no text is specified, the next text line is set in the smaller point size. SS text Creates a subsection header. JTIB [ words... ] Same as the . HB macro. This macro is is obsolete, but is provided for backwards compatibility. TJTHncls][ a 10f10x] Begins a new reference page and sets the page title. Also sets up headers and footers for output pages, sets up all defaults and traps, and calls the .DT and . PD macros. The title appears as a header on all pages of the formatted reference page. The n argument is the reference page name. The ¢ argument is the primary section number or letter. The s argument is the subsection, if any. The a argument is for an optional machine architecture specific label; for example ““VAX’. The f argument optionally alters a portion of the page footer. The x argument is for optional extra commentary; for example ‘““Unsupported’’. Fields n, c, and s appear together at the top of each output page (see the top of this page for an example). These fields alternate between the right top and left top of a page header, corresponding to odd and even page numbers. Field a appears opposing the page name in the header when formatted with nrof £, but appears as a bleed tab when formatted with *troff text formatters. The f argument appears in the page footer on the inside edge of the page (left for odd page numbers, right for even). The x argument appears underneath the page name in the header. ' The last three fields are optional. To skip a field, specify a pair of quotation marks ("") in the field to be skipped. TP i Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. Macro Packages and Conventions 7-19 man(7) .YE End a vertical margin bar. VS[4] Starts a vertical margin bar, if ‘4’ is specified; otherwise, the macro does nothing. Macros That Cause Line Breaks The following macros cause line breaks: De Ds EE ILP PP RE EX SH HP SS 1IP TH TP Macros That Need Text Lines The following macros affect the following line of text if they are specified in the input without arguments: B BI BR G GL 1 IB IR RI RB SH SS SM Automatic hyphenation is turned on. However, last lines (ones that will cause a trap) are not hyphenated and the last and first two characters of a word are not split off. Characters printed from the Special Font are artificially bolded by three units whenever the current font is ‘3’. The default page size is 80 columns by 66 lines for nrof £ output and 8.5" x 11" for output generated by *troff text formatters. The text area is horizontally placed on the page so that the effective page margin is .5 inches for nroff and 7.5 picas for *troff text formatters. The . TH macro sets up the following defaults: e Text is set in ‘‘noadjust’’ mode; the right margin is ragged. e The default interparagraph distance is 1v for nroff and .5v for *troff text formatters. * The basic text indent is .5 inches for nroff and four picas for *trof f text formatters, from the left margin. ® The maximum text line length is 7 inches for nrof f and 36 picas for *troff text formatters. e Sets tab stops every .5 inches. * The basic text point size is 11 points, with line spacing set to 12 points. * The basic text font is ‘‘R’’ (a roman typeface). * Reference page headers, section headers, and subsection headers are set in a sans-serif bold typeface. Options -nN Numbers the first generated page as N. -ril Turns on line double-spacing mode. 7-20 Macro Packages and Conventions man(7) Restrictions Predefined Registers The following registers are predefined by the man macro package and should not be changed: PO Page offset and page margin IN Left margin indent relative to the section headers LL Line length including IN PL Page length The register ‘I’ is predefined when you specify the *roff —r1 option. Its default value is 0. The man(1) command does not use this option. Reserved Registers The following registers are reserved for internal use by the man, man.nopage, and man.repro macro packages: DX Al EX p | p# PF In addition, registers beginning with the characters ‘)’, ‘]’, and ‘}’ are also reserved for internal use. Registers predefined by the nrof£(1), tb1(1), commands, and the *egn and *trof f text preprocessors and formatters should not be redefined. Predefined Strings The following strings are predefined by the man macro package and should not be changed: Iq "if nroff, ‘“if *troff rq "if nroff, ”’ if *troff S Command string to change type size to 10 points. Reserved Strings and Macros The following string and macro names are reserved for internal use by the man, man .nopage, and man . repro macro packages: #H# DE NX Al DS P BD HH UF BK 1ID vya CD LD yn D NO yl ys In addition, names begining with the characters ‘)’, ‘]’, and ‘}’ are also reserved for internal use. Names predefined by the nrof£(1), tb1(1), commands, and the *egn and *troff text preprocessors and formatters should not be redefined. Macro Packages and Conventions 7—-21 man(7) .TH Macro Restrictions The section number should only be 1-8, ‘n’, ‘I’, ‘0’, or ‘p’. Other values might not be recognized by the man(1) or catman(8) commands. Sections 6, 7, ‘n’, ‘I’, ‘0’, and ‘p’ do not currently have subsections, so subsections should not be specified. The architecture field (a) should not exceed four characters. A value longer than four characters might print outside the right page margin. Reference pages containing *eqn commands should be preprocessed by an *negn text preprocessor before being installed on the system. Reference pages containing tb1(1) commands must not be preprocessed before being installed on the system. The Name Section The catman(8) command assumes the Name section of a reference page has the following format: name[, name, name ...] \- explanatory text There should be at least one space after any comma and only one space following the “‘backslash hyphen’’ (\-). There should not be any *roff commands in the explanatory text. The explanatory text should be brief. The catman(8) command combines information in the Name section with parameters of the . TH macro to create an entry in a database searched by the apropos(1), man(1), and whatis(1) commands. Portability Considerations The ULTRIX man macro packages contain extensions and enhancements borrowed from other macro packages. If you have a need to write portable reference pages, you should not use the following macros: CT CW De Ds EE EX I PN I2 Pn G GL LP MS HB NE HP NT R RN TB UF The LP and TB macros are obsolete. The ULTRIX man . TH macro differs from other implemenations of the . TH macro. The primary differences are in the placement of the page title, and third and fifth fields in the *rof f output. The page title (the page name and section number) is commonly placed on both sides of the page header in other implementations. The more common placement of the third field is in the center of the page footer. The more common placement of the fifth field is in the center of the page header. Use of the tb1(1) and *eqgn commands should be avoided, because the version of the man(1) command in some other implementations might not preprocess reference pages through the tb1(1) command. The *egn commands also might not be installed. 7-22 Macro Packages and Conventions man(7) Files /usr/lib/tmac/tmac.an The man macro package file See Also col(1), man(1), nroff(1), tbl(1), man.nopage(7), man.repro(7), catman(8) Macro Packages and Conventions 7—-23 man.nopage(7) Name man.nopage — the man.nopage macro package for printing reference pages Syntax tbl file... | nroff [ -nN ][ —=rpS ] [ -rl1 ] -man.nopage | col | ... tbl file... | *troff [ -nN ][ —rpS ][ -rl1 ] —-man.nopage| ... Description The man.nopage macro package is used to format reference manual pages for unpaginated viewing or for printing on line printers. The installed reference pages are formatted by the man(1) and the catman(8) commands, using the man macro package. The page width is 80 columns when formatted by the nrof £(1) command and is 8.5 inches when formatted with *troff text formatters. The output is unpaginated when formatted by the nrof f command, hence the name ‘nopage’. The output is paginated when formatted by *t roff text formatters, with page numbers appearing at the bottom of each output page with odd page numbers appearing on the right side and even page numbers appearing on the left side. The *troff output is similar to the output generated with the man . repro(7) macro package. The format of the ULTRIX online reference pages is determined by the man . repro(7) macro package. The man.nopage macros are a compatible subset of the man . repro macros. Macros The following describes the macros in the man macro package. Any text argument can range from zero to six words. Quotation marks (" ") can be used to include blanks in words. If text is not specified, special treatment is applied to the next input line that has text to be printed. In this way, . I can be used to italicize a whole line or . SM followed by . B to make small bold letters. "non A prevailing indent distance is remembered between successive indented paragraphs, and is reset to a default value upon reaching a nonindented paragraph. Default units for indents i are ens (an en is 1 nrof f character or 1/2 em space in current point size). Typeface and size are reset to default values before each paragraph, and after processing font and size setting macros. B [ text... ] Sets text text in boldface. If no text is specified, the next text line is set in boldface. Bl wordl word2 [ words... ] Sets wordl in boldface, word2 in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). BR wordl word2 [ words... ] Sets wordl in boldface, word2 in a roman typeface, and then alternates 7-24 Macro Packages and Conventions man.nopage (7) between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). .CT character Prints the keyboard control character indicator < CTRL/character> . For example, .CT A prints as <CTRL/A> . CW Sets text in a constant width font until another font change is encountered. De Ends an unfilled display block (started by .Ds). Also ends automatic centering, if it was in effect. Ds DT Starts an unfilled display block. Text between .Ds and .De is printed in a roman typeface, with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The display block is set flush left. Restores default tabs. Default tabs are set to .5 inches, starting with Si, 14, ... . .EE Ends an example and restores basic text defaults and indents. EX[i] Starts an example. Text between .EX and .EE is printed in a constant width font with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The example is set flush left unless an indent i is specified. Units of i are ens. .G [ text...] Sets text in a sans-serif typeface. If no text is specified, the next text line is set in a sans-serif typeface. .GL [ text... ] Sets text in a sans-serif italic typeface. If no text is specified, the next text line is set in a sans-serif italic typeface. HB [ words... ] Sets the text in underline mode or in a sans-serif bold typeface, depending on the type of text formatter (nroff or troff). If the text formatter is of type nrof £, the next 999 input lines are formatted in underline mode (nrof £ italic mode), or all the lines up to a font change are formatted in underline mode, depending on which limit is encountered first. If the text formatter is of type t rof £, text is set in a sans-serif bold typeface until a font change is encountered. Up to nine words can also be specified as arguments. HP i Begins a paragraph with a hanging indent of i ens. J[text...] Sets text in an italic typeface. If no text is specified, the next text line is set in an italic typeface. J1 word Sets a temporary indent to the length of the specified word. J2 word Reverses one line and then sets a temporary indent to the length of the specified word. B wordl word2 [ words... ] Sets wordl in an italic typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). Macro Packages and Conventions 7—-25 man.nopage (7) JIP xi Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. Tag x appears in bold typeface. ' JR wordl word2 [ words... ] Sets word! in an italic typeface, word2 in a roman typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). .LP Same as the .PP macro. This macro is obsolete, but is provided for backwards compatibility. MS reference_page section_subsection [ punctuation ] Sets reference_page immediately followed by section_subsection in parentheses followed by optional punctuation, using fonts that distinguish this reference page reference from ordinary text. For example, manual(section). NE Ends a note. Also cancels automatic centering if it was in effect. NT [ headerl 1[ C ] NT [ C ][ header2 ] Starts a note. If no arguments are specified, the default header for the note is ‘NOTE’. If the first argument is the letter ‘C’, all text in the note is centered, for the next 99 text lines or until the . NE macro is called, whichever comes first. If the first argument is not ‘C’, it becomes the header of the note, even if header? is also specified. The header?2 argument becomes the header of the note if the first argument is ‘C’. PDv] Sets the interparagraph distance to v vertical spaces. Resets the distance to the default value if v is omitted. PNx[y] - Setsxin an italic or constant width typeface (depending on the *roff formatter type) and then reverts to the previous typeface. The optional argument y is appended to x with no space, but printed in the previous typeface. The x argument is usually a path name; y is usually punctuation. Pnxy[z] o Setsxin the current typeface, sets y in an italic or constant width typeface (depending on the *roff formatter type) and appends it to x, and finally reverts to the previous typeface. The optional argument z is appended to y, but printed in the previous typeface. Spaces are removed between x, y, and z, unless quotation marks (" ") are used to enclose strings with spaces. The x argument is usually a fixed path name; y is usually a variable path name; and z is usually punctuation. PP Starts a block paragraph. Sets the prevailing indent to .5i for nrof £ and four picas for *troff text formatters. R Sets the text in a roman typeface until another font change is encountered. Also ends nroff underline mode if it was in effect. RB wordl word2 [ words... ] , Sets wordl in a roman typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. 7-26 Macro Packages and Conventions man.nopage (7) Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RE[ k] Returns to the kth relative right shift indent level. (Restores the left margin to the position prior to the kth . RS call). Specifying k=0 is equivalent to specifying k=1. If k is omitted, . RE restores the left margin to the most recent previous position. When k=1 or 0, the default . RS indent increment is restored. RI wordl word?2 | words... ] Sets wordl in a roman typeface, word2 in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RN Prints the return character indicator, <RETURN> . RS[i] Shifts the left margin to the right (relatively) the amount of i ens. The .RS macro calls can be nested up to nine levels. If i is not specified for the first . RS call, the relative right shift increases .5 inch for nroff and four picas for *troff text formatters. Nested . RS calls increment the relative indent by i ens, or by .25 inch for nrof £, or by 2 picas for *troff text formatters. SH text Creates a section header. SM [ text] Sets text to be two points smaller than the current point size. If no text is specified, the next text line is set in the smaller point size. SS text Creates a subsection header.. JIB [ words... ] Same as the . HB macro. This macro is is obsolete, but is provided for backwards compatibility. THnclsl[allf1lx] Begins a new reference page and sets the page title. Also sets up headers and footers for output pages, sets up all defaults and traps, and calls the .DT and .PD macros. The title appears as a header on all pages of the formatted reference page. The n argument is the reference page name. The ¢ argument is the primary section number or letter. The s argument is the subsection, if any. The a argument is for an optional machine architecture specific label; for example ““VAX”’. The f argument optionally alters a portion of the page footer. The x argument is for optional extra commentary; for example ‘““Unsupported’’. Fields n, ¢, and s appear together at the top of each output page (see the top of this page for an example). These fields alternate between the right top and left top of a page header, corresponding to odd and even page numbers. Field a appears opposing the page name in the header when formatted with nrof £, but appears as a bleed tab when formatted with *trof f text formatters. The f argument appears in the page footer on the inside edge of the page (left for odd page numbers, right for even). The x argument appears underneath the page name in the header. | Macro Packages and Conventions 7-27 man.nopage (7) The last three fields are optional. To skip a field, specify a pair of quotation marks ("") in the field to be skipped. TP i Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. .YE End a vertical margin bar. VS[4] Starts a vertical margin bar, if ‘4’ is specified; otherwise, the macro does nothing,. Macros That Cause Line Breaks The following macros cause line breaks: De Ds EE EX HP 1IP ILP PP RE SH SS TH TP Macros That Need Text Lines The following macros affect the following line of text if they are specified in the input without arguments: B Bl BR G GL B IR RI RB SH I SS SM Automatic hyphenation is turned on. However, last lines (ones that will cause a trap) are not hyphenated and the last and first two characters of a word are not split off. Characters printed from the Special Font are artificially bolded by three units whenever the current font is ‘3°. The default page width is 80 columns nrof £ output and 8.5 inches for output generated by *trof f text formatters. The text area is horizontally placed on the page so that the effective page margin is .5 inches for nroff and 7.5 picas for *troff text formatters. The default page length is unlimited (unpaginated) for nerof £ output, but is 11 inches for output generated by *t rof £ text formatters. The . TH macro sets up the following defaults: ® Text is set in ‘‘noadjust’” mode; the right margin is ragged. ® The default interparagraph distance is 1v for nroff and .5v for *troff text formatters. ® The basic text indent is .5 inches for nrof £ and four picas for *troff text formatters, from the left margin. ¢ The maximum text line length is 7 inches for nroff and 36 picas for *troff text formatters. e Sets tab stops every .5 inches. ® The basic text point size is 11 points, with line spacing set to 12 points. ® The basic text font is ‘‘R’’ (a roman typeface). e Reference page headers, section headers, and subsection headers are set in a sans-serif bold typeface. 7-28 Macro Packages and Conventions man.nopage (7) The default section number, which apepras like a ‘‘chapter’’ number in page footers is O for *trof £ output. There are no page footers for nrof £ output. Options -nN Numbers the first generated page as N. -ril Turns on line double-spacing mode. Sets the section number fo S. Section numbers appear in output page -rpS footers as S—N (chapter—page-number). Restrictions Predefined Registers The following registers are predefined by the man macro package and should not be changed: PO Page offset and page margin IN Left margin indent relative to the section headers LL Line length including IN PL Page length The register ‘I’ is predefined when you specify the *roff —r1 option. Its default value is 0. The man(1) command does not use this option. The register ‘p’ is predefined when you specify the *roff —rp option. Its default value is 0. The man(1) command does not use this option. Reserved Registers The following registers are reserved for internal use by the man, man.nopage, and man.repro macro packages: DX Al EX 1 p p# PF In addition, registers beginning with the characters ‘)’, ‘I’, and ‘}’ are also reserved for internal use. Registers predefined by the nrof£(1), tb1(1), commands, and the *egn and *trof f text preprocessors and formatters should not be redefined. Predefined Strings The following strings are predefined by the man macro package and should not be changed: Iq "if nroff, ‘“if *troff rq "if nroff, ” if *troff S Command string to change type size to 10 points. Macro Packages and Conventions 7—-29 man.nopage(7) Reserved Strings and Macros The following string and macro names are reserved for internal use by the man, man.nopage, and man . repro macro packages: # Al BD BK CD D DE NX DS HH ID LD NO P UF ya yn yl ys In addition, names begining with the characters ‘)’, ], and ‘}” are also reserved for internal use. Names predefined by the nrof£(1), tb1(1), commands, and the *eqgn and *troff text preprocessors and formatters should not be redefined. .TH Macro Restrictions The section number should only be 1-8, ‘n’, ‘I’, ‘0’, or ‘p’. Other values might not be recognized by the man(1) or catman(8) commands. Sections 6, 7, ‘n’, ‘I, ‘0’, and ‘p’ do not currently have subsections, so subsections should not be specified. The architecture field (a) should not exceed four characters. A value longer than four characters might print outside the right page margin. Reference pages containing *eqn commands should be preprocessed by an *neqgn text preprocessor before being installed on the system. Reference pages containing tb1(1) commands must not be preprocessed before being installed on the system. The Name Section The catman(8) command assumes the Name section of a reference page has the following format: name[, name, name ...] \- explanatory text There should be at least one space after any comma and only one space following the “‘backslash hyphen’’ (\-). There should not be any *roff commands in the explanatory text. The explanatory text should be brief. The catman(8) command combines information in the Name section with parameters of the . TH macro to create an entry in a database searched by the apropos(1), man(1), and whatis(l) commands. Portability Considerations The ULTRIX man macro packages contain extensions and enhancements borrowed from other macro packages. If you have a need to write portable reference pages, you should not use the following macros: CT G LP R CW GL De HB Ds HP EE I EX 12 MS NE NT PN Pn RN TB UF 7-30 Macro Packages and Conventions man.nopage(7) The LP and TB macros are obsolete. The ULTRIX man . TH macro differs from other implemenations of the . TH macro. The primary differences are in the placement of the page title, and third and fifth fields in the *roff output. The page title (the page name and section number) is commonly placed on both sides of the page header in other implementations. The more common placement of the third field is in the center of the page footer. The more common placement of the fifth field is in the center of the page header. Use of the tb1(1) and *eqn commands should be avoided, because the version of the man(1) command in some other implementations might not preprocess reference pages through the tb1(1) command. The *eqgn commands also might not be installed. Files /usr/lib/tmac/tmac.an.nopage The man . nopage macro package file See Also col(1), man(1), nroff(1), tbl(1), man(7), man.repro(7), catman(8) Macro Packages and Conventions 7-31 man.repro(7) Name man.repro — the man.repro macro package for typesetting reference pages Syntax tbl file... | nroff [ -nN ][ —rpS 1[ -rl1 ] -man.repro | col | ... tbl file... | *troff [ -nN ] [ =rpS ][ -rl1 ] -man.repro | ... Description The man . repro macro package is used to format reference manual pages for printing or typsetting. This reference page was formatted by a *trof f text formatter, using the man . repro macro package. nroff(1) command, using the man.repro macro package, or was formatted by the man(1) and the catman(8) commands, using the man macro package. The page size is 80 columns by 66 lines for nroff output and is 8.5" x 11" when formatted with *troff text formatters. Page numbers appear at the bottom of each output page with odd page numbers appearing on the right side and even page numbers appearing on the left side. Page footers can optionally include the name of the reference page section. The format of the ULTRIX online reference pages is determined by the man . repro macro package. Macros The following describes the macros in the man . repro macro package. Any text argument can range from zero to six words. Quotation marks (" ") can be used to include blanks in words. If fext is not specified, special treatment is applied to the next input line that has text to be printed. In this way, . I can be used to italicize a whole line or . SM followed by .B to make small bold letters. A prevailing indent distance is remembered between successive indented paragraphs, and is reset to a default value upon reaching a nonindented paragraph. Default units for indents i are ens (an en is 1 nroff character or 1/2 em space in current point size). Typeface and size are reset to default values before each paragraph, and after processing font and size setting macros. B [rext...] Sets text text in boldface. If no text is specified, the next text line is set in boldface. BI wordl word2 [ words... ] Sets wordl in boldface, word? in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). BR wordl word2 [ words... ] Sets wordl in boldface, word?2 in a roman typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). 7-32 Macro Packages and Conventions man.repro(7) .CT character Prints the keyboard control character indicator < CTRL/character> . For example, .CT A prints as <CTRL/A> . CW Sets text in a constant width font until another font change is encountered. De Ends an unfilled display block (started by .Ds). Also ends automatic centering, if it was in effect. .Ds Starts an unfilled display block. Text between .Ds and .De is printed in a roman typeface, with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The display block is set flush left. DT Restores default tabs. Default tabs are set to .5 inches, starting with Si, 14, ... . .EE Ends an example and restores basic text defaults and indents. EXT[i] Starts an example. Text between . EX and .EE is printed in a constant width font with ‘no fill’ mode (no wrapping and blank lines allowed) in effect. The example is set flush left unless an indent i is specified. Units of i are ens. G rext..] Sets text in a sans-serif typeface. If no text is specified, the next text line is set in a sans-serif typeface. .GL [ text... ] Sets text in a sans-serif italic typeface. If no text is specified, the next text line is set in a sans-serif italic typeface. HB [ words... ] Sets the text in underline mode or in a sans-serif bold typeface, depending on the type of text formatter (nroff or troff). If the text formatter is of type nrof £, the next 999 input lines are formatted in underline mode (nroff italic mode), or all the lines up to a font change are formatted in underline mode, depending on which limit is encountered first. If the text formatter is of type t rof £, text is set in a sans-serif bold typeface until a font change is encountered. Up to nine words can also be specified as arguments. HP | Begins a paragraph with a hanging indent of i ens. J[text..] Sets text in an italic typeface. If no text is specified, the next text line is set in an italic typeface. J1 word Sets a temporary indent to the length of the specified word. J2 word Reverses one line and then sets a temporary indent to the length of the specified word. JIB wordl word2 [ words... ] Sets wordl in an italic typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). JP xi Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. Tag x appears in bold typeface. Macro Packages and Conventions 7-33 man.repro(7) AR wordl word2 [ words... ] Sets wordl in an italic typeface, word2 in a roman typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). | LP Same as the . PP macro. This macro is obsolete, but is provided for backwards compatibility. -MS reference_page section_subsection [ punctuation | Sets reference_page immediately followed by section_subsection in parentheses followed by optional punctuation, using fonts that distinguish this reference page reference from ordinary text. For example, manual(section). .NE Ends a note. Also cancels automatic centering if it was in effect. NT [ header! ][ C ] NT [ C ][ header2 ] Starts a note. If no arguments are specified, the default header for the note is ‘NOTE’. If the first argument is the letter ‘C’, all text in the note is centered, for the next 99 text lines or until the . NE macro is called, whichever comes first. If the first argument is not ‘C’, it becomes the header of the note, even if header2 is also specified. The header2 argument becomes the header of the note if the first argument is ‘C’. PD[v] Sets the interparagraph distance to v vertical spaces. Resets the distance to the default value if v is omitted. PNx[y] Setsxin an italic or constant width typeface (depending on the *rof £ formatter type) and then reverts to the previous typeface. The optional argument y is appended to x with no space, but printed in the previous typeface. The x argument is usually a path name; y is usually punctuation. Pnxy[z] Setsxinthe current typeface, sets y in an italic or constant width typeface (depending on the *rof f formatter type) and appends it to x, and finally reverts to the previous typeface. The optional argument z is appended to y, but printed in the previous typeface. Spaces are removed between x, y, and z, unless quotation marks (" ") are used to enclose strings with spaces. The x argument is usually a fixed path name; y is usually a variable path name; and z is usually punctuation. PP Starts a block paragraph. Sets the prevailing indent to .51 for nroff and four picas for *troff text formatters. R Sets the text in a roman typeface until another font change is encountered. Also ends nroff underline mode if it was in effect. RB wordl word2 [ words... ] Sets wordl in a roman typeface, word2 in boldface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RE[ k] Returns to the kth relative right shift indent level. (Restores the left margin to the position prior to the kth .RS call). Specifying k=0 is 7-34 Macro Packages and Conventions man.repro(7) equivalent to specifying k=1. If k is omitted, . RE restores the left margin to the most recent previous position. When k=1 or 0, the default . RS indent increment is restored. RI wordl word2 [ words... ] Sets wordl in a roman typeface, word2 in an italic typeface, and then alternates between these two fonts for the remaining words, up to six words. Blanks between words are stripped unless the string is enclosed in quotation marks (" "). RN Prints the return character indicator, <RETURN > . RS[i] Shifts the left margin to the right (relatively) the amount of i ens. The . RS macro calls can be nested up to nine levels. If i is not specified for the first . RS call, the relative right shift increases .5 inch for nroff and four picas for *troff text formatters. Nested .RS calls increment the relative indent by i ens, or by .25 inch for nrof £, or by 2 picas for *troff text formatters. SH text Creates a section header. SM [ text ] Sets text to be two points smaller than the current point size. If no text is specified, the next text line is set in the smaller point size. SS rext Creates a subsection header. TB [ words... ] Same as the . HB macro. This macro is is obsolete, but is provided for backwards compatibility. JTHncls][a 10f10x] Begins a new reference page and sets the page title. Also sets up headers and footers for output pages, sets up all defaults and traps, and calls the .DT and .PD macros. The title appears as a header on all pages of the formatted reference page. The n argument is the reference page name. The ¢ argument is the primary section number or letter. The s argument is the subsection, if any. The a argument is for an optional machine architecture specific label; for example ““VAX"’. The f argument optionally alters a portion of the page footer. The x argument is for optional extra commentary; for example ‘““Unsupported’’. Fields n, ¢, and s appear together at the top of each output page (see the top of this page for an example). These fields alternate between the right top and left top of a page header, corresponding to odd and even page numbers. Field a appears opposing the page name in the header when formatted with nrof £, but appears as a bleed tab when formatted with *troff text formatters. The f argument appears in the page footer on the inside edge of the page (left for odd page numbers, right for even). The x argument appears underneath the page name in the header. The last three fields are optional. To skip a field, specify a pair of quotation marks ("") in the field to be skipped. TP i Sets the prevailing indent to i. Then begins the indented paragraph with a hanging tag given by the next text line. If the tag does not fit, the macro places the next text on a separate line. Macro Packages and Conventions 7—-35 man.repro(7) UF footer ~ Replaces the section name (adjacent to the ‘chapter-page_number’ pair in the page footer), defined by the —rpS option, with the text footer. This macro must not be called before the . TH macro. .VE End a vertical margin bar. VS[4] Starts a vertical margin bar, if ‘4’ is specified; otherwise, the macro does nothing. Macros That Cause Line Breaks The following macros cause line breaks: De Ds EE EX HP 1IP ILP PP RE SH SS TH TP Macros That Need Text Lines The following macros affect the following line of text if they are specified in the input without arguments: B BI BR IB IR . RI G GL 1 RB SH SS SM Automatic hyphenation is turned off. Characters printed from the Special Font are artificially bolded by three units whenever the current font is ‘3’. The default page size is 80 columns by 66 lines for nrof f output and 8.5" x 11" for output generated by *troff text formatters. The text area is horizontally placed on the page so that the effective page margin is .5 inches for nroff and 7.5 picas for *troff text formatters. The . TH macro sets up the following defaults: * * Text is set in ‘‘noadjust’’ mode; the right margin is ragged. The default interparagraph distance is 1v for nroff and .5v for *troff text formatters. * The basic text indent is .5 inches for nrof £ and four picas for *t rof £ text formatters, from the left margin. ® The maximum text line length is 7 inches for nroff and 36 picas for *troff text formatters. e Sets tab stops every .5 inches. * The basic text point size is 11 points, with line spacing set to 12 points. * The basic text font is ‘‘R’’ (a roman typeface). * Reference page headers, section headers, and subsection headers are set in a sans-serif bold typeface. 7-36 Macro Packages and Conventions man.repro(7) Options -nN Numbers the first generated page as N. -rll Turns on line double-spacing mode. -rpS Sets the section number to S. The section number determines if the name of a section will appear in the page footer. If the value of S is 0, no name appears in the page footer. When § is specified, that number determines the name that will appear in the footer. The section number appears in output page footers as S—N (chapter—page-number). If S is not O, the name of the section appears on the inside of the page footer, adjacent to the chapter—page-number sequence. Restrictions Predefined Registers The following registers are predefined by the man macro package and should not be changed: PO Page offset and page margin IN Left margin indent relative to the section headers LL Line length including IN PL Page length The register ‘1’ is predefined when you specify the *roff ~r1 option. Its default value is 0. The man(1) command does not use this option. The register ‘p’ is predefined when you specify the *roff —rp option. Its default value is 0. The man(1) command does not use this option. The register ‘p’ should be set to a range 1-8 or 11-18 for unsupported reference pages. It cannot be set to values ‘I’, ‘n’, ‘0’, or ‘p’. b 1 Reserved Registers The following registers are reserved for internal use by the man, man.nopage, and man .repro macro packages: Al DX EX 1 p p# PF In addition, registers beginning with the characters ‘)’, ‘]’, and °}’ are also reserved for internal use. Registers predefined by the nrof £(1), tb1(1), commands, and the *egn and *troff text preprocessors and formatters should not be redefined. Predefined Strings The following strings are predefined by the man macro package and should not be changed: Iq "if nroff, ‘“if *troff rq "if nroff, 7’ if *troff Macro Packages and Conventions 7-37 man.repro(7) S Command string to change type size to 10 points. Reserved Strings and Macros The following string and macro names are reserved for internal use by the man, man.nopage, and man. repro macro packages: #H Al BD BK CD D DE DS HH ID LD NO NX P ya yn yl ys In addition, names begining with the characters *)’, ‘]’, and *}’ internal use. are also reserved for Names predefined by the nrof£(1), tb1(1), commands, and the *eqn and *troff text preprocessors and formatters should not be redefined. .TH Macro Restrictions The section number should only be 1-8, ‘n’, ‘I’, ‘0, or ‘p’. Other values might not be recognized by the man(1) or catman(8) commands. Sections 6, 7, ‘n’, ‘I, ‘0’, and ‘p’ do not currently have subsections, so subsections should not be specified. The architecture field (a) should not exceed four characters. A value longer than four characters might print outside the right page margin. Reference pages containing *eqn commands should be preprocessed by an *neqn text preprocessor before being installed on the system. Reference pages containing tb1(1) commands must not be preprocessed before being installed on the system. The Name Section The catman(8) command assumes the Name section of a reference page has the following format: name[, name, name ...] \- explanatory text There should be at least one space after any comma and only one space following the ‘‘backslash hyphen’’ (\-). There should not be any *roff commands in the explanatory text. The explanatory text should be brief. The catman(8) command combines information in the Name section with parameters of the . TH macro to create an entry in a database searched by the apropos(1), man(l), and what is(1) commands. Portability Considerations The ULTRIX man macro packages contain extensions and enhancements borrowed from other macro packages. If you have a need to write portable reference pages, you should not use the following macros: CT G LP R CW GL MS De HB NE Ds HP NT RN TB UF 7-38 Macro Packages and Conventions EE I PN EX I2 Pn man.repro(7) The LP and TB macros are obsolete. The ULTRIX man . TH macro differs from other implemenations of the . TH macro. The primary differences are in the placement of the page title, and third and fifth fields in the *rof £ output. The page title (the page name and section number) is commonly placed on both sides of the page header in other implementations. The more common placement of the third field is in the center of the page footer. The more common placement of the fifth field is in the center of the page header. Use of the tb1(1) and *eqn commands should be avoided, because the version of the man(1) command in some other implementations might not preprocess reference pages through the tb1(1) command. The *eqgn commands also might not be installed. Examples The following example processes this manual page for a character-cell device: $ cd /usr/man/man? % tbl man.repro.7 | nroff -rp7 -n39 -man.repro | col | lpr -Plp In this example, the —rp7 option for nrof £ initializes number register p to specify that this page is from Section 7 of the Reference Pages. The —n39 option specifies a starting page number of 39. The first page printed is numbered ‘7-39’. Files /usr/lib/tmac/tmac.an.repro The man.repro macro package file See Also col(1), man(1), nroff(1), tbl(1), man(7), man.nopage(7), catman(8) Macro Packages and Conventions 7~39 me(7) Name me — macros for formatting papers Syntax nroff —me [ options 1 file ... *roff —-me [ options ] file ... Description This package of nroff and *roff macro definitions provides a formatting facility for technical papers in various formats. When producing 2-column output on a terminal, filter the output through co1(1). Many nroff and *roff requests are unsafe in conjunction with this package; however, these requests can be used with impunity after the first .pp: .bp Begin new page br Break output line here Spn Insert n spacing lines Isn Line spacing: n=1 single, n=2 double space .na No alignment of right margin .cen Center next n lines Underline next n lines aln .8z +n Add n to point size Output of the eqn, neqn, refer, and tbl preprocessors for equations and tables is acceptable as input. Requests In the following list, ‘‘initialization’’ refers to the first .pp, .Ip, .ip, .np, .sh, or .uh macro. This list is incomplete; see the —me Reference Manual, ULTRIX Supplementary Documents Vol. I. General User, for further details. Request Initial Cause Explanation (b Value Break yes Begin block. (c - yes Begin centered block. .d - no Begin delayed text. f - no Begin footnote. (1 - yes Begin list. q (X x - yes no Begin major quote. Begin indexed item in index. x (z - no Begin floating keep. )b - yes End block. .J)c - yes End centered block. d - yes End delayed text. Jf - yes End footnote. Il - yes End list. )q - yes End major quote. X JZ - yes yes End index item. End floating keep. 7-40 Macro Packages and Conventions me(7) ++mH no Define paper section. m defines the part of the paper, and can be C (chapter), A (appendix), P (preliminary; for example, an abstract, table of contents, and so on), B (bibliography), RC (chapters renumbered from page one each chapter), or RA (appendix renumbered from page Jdc 2C .EN | Iy S | one). A4c T yes yes yes yes Begin chapter (or appendix, etc., as set by .++). T is the chapter title. One-column format on a new page. Two-column format. Space after equation produced by egn or negn. Precede equation; break out and add space. Equation number is y. The optional argument x may be I to indent equation (default), L to left-adjust the equation, or C to center the equation. EQxy yes .TE .TH yes End table. yes End heading section of table. TS x aAcAN yes no bx no .ba +n yes Begin table; if x is H, table has repeated heading. Set up for ACM style output. A is the Author’s name(s), N is the total number of pages. Must be given before the first initialization. Print x in boldface; if there is no argument, switch to boldface. Augments the base indent by ». This indent is used to set the indent on regular text (like paragraphs). .bc .bi x no yes no no bx x ef xy7z° h xy7z’ o xyz’ Jhx he xyz” hl Ax no no Apxy no LS LR L L4 rrrs no no no no L no yes no yes Jo Start indented paragraph, with hanging tag x. Indentation is y ens yes yes rr7 S .oh x%y7z’ rrrs -PP no yes yes no no no yes .SC no no shnx Suppress headers and footers on next page. Set headertox y z. Draw a horizontal line. Italicize x; if x missing, italic text follows. (default 5). Start left-blocked paragraph. of xyz’ JC | yes no .np Begin new column. Print x in bold italics (nofill only). Print x in a box (nofill only). Set even footerto x y z. Set even headerto x y z. Set footerto x y z. no Read in a file of local macros of the form .*x. Must be given before initialization. Start numbered paragraph. Set odd footerto x y z, Set odd headerto x y z. Print delayed text. Begin paragraph. First line indented. Roman text follows. Reset tabs to default values. Read in a file of special characters and diacritical marks. Must be given before initialization. yes Section head follows, font automatically bold. 7 is level of section, x no .sk no .SZ +n 10p no is title of section. Leave the next page blank. Only one page is remembered ahead. Augment the point size by » points. .th no no Produce the paper in thesis format. Must be given before Ap no yes initialization. Begin title page. Macro Packages and Conventions 7—-41 me(7) ux - no .th Underline argument (even in *roff). - yes Like .sh, but unnumbered. Xp X - no Print index x. (Nofill only). Files /usr/lib/tmac/tmac.e /usr/lib/me/* See Also refer(1), tbl(1), nroff(1) —me Reference Manual, ULTRIX Supplementary Documents, Vol. I: General User Writing Papers with Nroff Using —me ULTRIX Supplementary Documents Vol. I: General User 7-42 Macro Packages and Conventions ms(7) Name ms — text formatting macros Syntax nroff —ms [options] file ... *roff —ms [options] file ... Description This package of nroff and *roff macro definitions provides a formatting facility for various styles of articles, theses, and books. When producing 2-column output on a terminal or lineprinter, or when reverse line motions are needed, filter the output through col(1). All external —-ms macros are defined in the following section. Many nroff and *roff requests are unsafe in conjunction with this package. However, the first four requests in the list that follows can be used with impunity after initialization, and the last two may be used even before initialization: .bp Begin new page Jbr Break output line .Spn Insert n spacing lines .cen Center next n lines Line spacing: n=1 single, n=2 double space No alignment of right margin dsn .na Font and point size changes with \f and \s are also allowed; for example, \fIword\fR italicize word. Output of the tbl, *eqn, and re fer(1) preprocessors for equations, tables, and references is acceptable as input. Requests Initial Break? Value Reset? AE Al AM AU Bx .B1 .B2 BT BX x .CM .CT DA x .DE DSxy Dy LD .CD .BD .EF x y Begin abstract; if x=no, do not label abstract. End abstract. < AB x Explanation PN <W<Y<K<K<YW iYW PPPBO<WKY O B Macro Name Author’s institution. Better accent mark definitions. Author’s name. Embolden x; if no x, switch to boldface. Begin text to be enclosed in a box. End boxed text and print it. Bottom title, printed at foot of page. Print word x in a box. Cut mark between pages. Chapter title: page number moved to CF (TM only). Force date x at bottom of page; today if no x. End display (unfilled text) of any kind. Begin display with keep; x=LL,C,B; y =indent . Indented display with no keep; y =indent. Left display with no keep. Centered display with no keep. Block display; center entire block. Even page footer x (3 part, as for .tl). Macro Packages and Conventions 7-43 .EH x .EN EQxy FS x HD Ix JPxy IXxy KE KF KS LG .LP MC x ND x .NH x y .OF x .OH x .P1 PP iBdW B0 oYWiLK<WiDYiDiowWK oo poowkw o & < < < & ms (7) .RE < < .QP < ST PX x RP x 2C [0 [N e e - 1C y << XP XSxy y B 00K BEBBBYoYW<Y<x B RS .SH SM .TA TC x .TE .TH .TL TTMM TS x UL x UX x XAxy 7-44 Macro Packages and Conventions Even page header x (3 part, as for .tl). End displayed equation produced by *egn. Break out equation; x=L,1,C; y=equation number. End footnote to be placed at bottom of page. Numbered footnote paragraph; may be redefined. Start footnote; x is optional footnote label. Optional page header below header margin. Italicize x; if no x, switch to italics. Indented paragraph, with hanging tag x; y =indent. Index words x, y and so on (up to five levels). End keep of any kind. Begin floating keep; text fills remainder of page. Begin keep; unit kept together on a single page. Larger; increase point size by 2. Left (block) paragraph.. Multiple columns; x=column width. No date in page footer; x is date on cover. Numbered header; x =level, x=0 resets, x=S sets to y. Set point size back to normal. Odd page footer x (3 part, as for .tl). Odd page header x (3 part, as for .tl). Print header on first page. Paragraph with first line indented. Page title, printed at head of page. Print index (table of contents); x =no, suppresses title. Quote paragraph (indented and shorter). Return to Roman font. Retreat: end level of relative indentation. Released paper format; x =no, stops title on first page. Right shift: start level of relative indentation. Section header, in boldface. Smaller; decrease point size by two. Set tabs to 8n 16n ... (nroff) 5n 10n ... (*roff). Print table of contents at end; x=no, suppresses title. End of table processed by tbl. End multipage header of table. Title in boldface and two points larger. UC Berkeley thesis mode. Begin table; if x=H, table has multipage header. Underline x, even in *roff. UNIX; trademark message first time; x appended. Another index entry; x =page or no for none; y=indent. End index entry (or series of .IX entries). Paragraph with first line exdented, others indented. Begin index entry; x =page or no for none; y =indent. One-column format, on a new page. Begin two-column format. Beginning of refer reference. End of unclassifiable type of reference. N= 1:journal-article, 2:book, 3:book-article, 4:report. ms(7) Registers Formatting distances can be controlled in —ms by means of built-in number registers. For example, this sets the line length to 6.5 inches: ar LL 6.5 Here is a table of number registers and their default values: Name Register Controls Takes EffectDefault PS Point size paragraph VS LL Vertical spacing Line length paragraph paragraph 10 12 61 LT Title length next page same as LL FL PD 5.51 1v (if n), .3v (if t) DD Footnote length next .FS Paragraph distance paragraph Display distance displays PI Paragraph indent paragraph QI Quote indent Footnote indent next .QP next .FS next page 5n 5n 2n FI PO HM M FF Page offset Header margin Footer margin Footnote format 1v (if n), .5v (if t) next page 0 (if n), ~1i (if t) 1i next page next .FS 0 (1, 2, 3 available) 1i When resetting these values, make sure to specify the appropriate units. Setting the line length to 7, for example, results in output with one character per line. Setting FF to 1 suppresses footnote superscripting; setting it to 2 also suppresses indentation of the first line; and setting it to 3 produces an .IP-like footnote paragraph. Here is a list of string registers available in —~ms; they can be used anywhere in the text: Name String’s Function ¢ Q Quote (" in nroff, ‘‘ in *roff ) Unquote (" in nroff, *’ in *roff ) Dash (-- in nroff, — in *roff' ) Month (month of the year) Day (current date) Automatically numbered footnote Acute accent (before letter) Grave accent (before letter) Circumflex (before letter) Cedilla (before letter) Umlaut (before letter) Tilde (before letter) \*U \*_ \*(MO \¥(DY \* %k \*~ \*¥* \* \*¥, \*: ¥ When using the extended accent mark definitions available with .AM, these strings should come after, rather than before, the letter to be accented. Restrictions Floating keeps and regular keeps are diverted to the same space, so they cannot be mixed together with predictable results. Macro Packages and Conventions 7-45 ms(7) Files /usr/lib/tmac/tmac.s /usr/lib/ms/s.??2? See Also refer(1), tbl(1) 7-46 Macro Packages and Conventions term(7) Name term — conventional names for terminals Description Certain commands use these terminal names. They are maintained as part of the shell environment. For further information, see sh(l), and environ(7). adm3a 2621 hp c100 Lear-Siegler ADM-3a Hewlett-Packard HP262? series terminals Hewlett-Packard HP264? series terminals Human Designed Systems Concept 100 h19 Heathkit H19 37 43 Teletype Model 37 Teletype Model 43 mime 1620 300 33 Microterm mime in enhanced ACT IV mode Diablo 1620 (and others using HyType II) DASI/DTC/GSI 300 (and others using HyType I) Teletype Model 33 735 Texas Instruments TI735 (and TI725) 745 dumb Texas Instruments T1745 Terminals with no special features 4014 vtS52 vt100 Tektronix 4014 Digital Equipment Corp. VT52 Digital Equipment Corp. VT100 xterm xterm terminal emulator, X window system dialup network vt200 vt300 A terminal on a phone line with no known characteristics A terminal on a network connection with no known characteristics Digital Equipment Corp. VT200 - used on VT220, VT240 Digital Equipment Corp. VT300 - used on VT330, VT340 See /etc/termcap for an up-to-date and locally correct list. See termcap(5) for more information on /etc/termcap. Commands whose behavior may depend on the terminal, either consult TERM in the environment, or accept arguments of the form —Tterm, where term is one of the names given above. See Also clear(1), ex(1), plot(1g), more(1), sh(1), stty(1), tabs(1), nroff(1), tset(1), ul(1), termcap(3x), termcap(5), environ(7) Macro Packages and Conventions 7—47 Index A H article hier keyword, 7-4, 7-9 formatting, 7-43 ASCII character set map, 7-2t hierarchy root file system, 74, 7-9 HOME string, 7-3 ascii keyword, 7-2 intro(7) keyword, 7-1 book formatting, 7-43 mail C abbreviating address, 7-14 CSNET site sending mail to, 7-15 address protocol, 7-14 to 7-15 ARPA protocol and, 7-15 compatible addresses, 7-14 routing, 7-15 E uucp and, 7-14 environ global variable, 7-3 environment strings, 7-3 EXINIT string, 7-3 mailaddr keyword, 7-14 man macro package macros, 7-16 to 7-20, 7-16, 7-16 to 7-23 man.nopage macro package macros, 7-24 to 7-28, 7-24 to 7-31 F man.repro macro package formatting article, 7-43 book, 743 thesis, 7-43 macros, 7-32 to 7-36, 7-32 manual page formatting, 7-16, 7-24, 7-32 me macro package, 7-40 requests, 7-40t ms macro package floating keep restriction, 7-45 number registers, 7-45, 7-43 requests, 743t string registers, 745 P PATH string, 7-3 postmaster defined, 7-15 PRINTER string, 7-3 R root file system hierarchy, 7-4 to 7-5, 7-9 S SHELL string, 7-3 T technical paper formatting, 7-40 term command, 747 TERM string, 7-3 TERMCAP string, 7-3 terminal conventional names, 7-47t thesis formatting, 743 U USER string, 7-3 lusr file system hierarchy, 7-5 to 7-8, 7-10 Index—2 How to Order Additional Documentation Technical Support If you need help deciding which documentation best meets your needs, call 800-343-4040 before placing your electronic, telephone, or direct mail order. Electronic Orders To place an order at the Electronic Store, dial 800-234-1998 using a 1200- or 2400-baud modem from anywhere in the USA, Canada, or Puerto Rico. If you need assistance using the Electronic Store, call 800-DIGITAL (800-344-4825). Telephone and Direct Mail Orders Your Location Call Continental USA, 800-DIGITAL Alaska, or Hawaii Contact Digital Equipment Corporation P.O. Box CS2008 Nashua, New Hampshire 03061 Puerto Rico 809-754-7575 Canada 800-267-6215 Local Digital Subsidiary Digital Equipment of Canada Attn: DECdirect Operations KAO2/2 P.O. Box 13000 100 Herzberg Road Kanata, Ontario, Canada K2K 2A6 International Local Digital subsidiary or approved distributor Internal* SSB Order Processing - WMO/E15 or Software Supply Business Digital Equipment Corporation Westminster, Massachusetts 01473 * For internal orders, you must submit an Internal Software Order Form (EN-01740-07). Reader’s Comments ULTRIX Reference Pages Section 7: Macro Packages and Conventions AA-LY19B-TE Please use this postage-paid form to comment on this manual. If you require a written reply to a software problem and are eligible to receive one under Software Performance Report (SPR) service, submit your comments on an SPR form. Clarity (easy to understand) Organization (structure of subject matter) Figures (useful) Examples (useful) Index (ability to find topic) Page layout (easy to find information) Fair Poor O00000oaon0 Completeness (enough information) Good OO0O0000o0 Accuracy (software works as manual says) Excellent ooooono oo Please rate this manual: OO0000oOooo Thank you for your assistance. What would you like to see more/less of? What do you like best about this manual? What do you like least about this manual? Please list errors you have found in this manual: Page Description Additional comments or suggestions to improve this manual: What version of the software described by this manual are you using? Name/Title Dept. Company Date Mailing Address Email Phone ------- E Do Not Tear - Fold Here and Tape ngn t E“ ======w-ccemccmccccc e —pm e —m e —mm————— e ———— TM NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES R —— BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 33 MAYNARD MA E——— e— EEESS— — I POSTAGE WILL BE PAID BY ADDRESSEE [ ] I —— DIGITAL EQUIPMENT CORPORATION OPEN SOFTWARE PUBLICATIONS MANAGER ZKO3-2/204 110 SPIT BROOK ROAD NASHUA NH 03062-9987 IHamihlluntouhiihlublulubihnlillnl -------- Do Not Tear - Fold Here ===c-emecccccccc e crcr e r e e — - -, Cut Along Dotted Reader’s Comments ULTRIX Reference Pages Section 7. Macro Packages and Conventions AA-LY19B-TE Please use this postage-paid form to comment on this manual. If you require a written reply to a software problem and are eligible to receive one under Software Performance Report (SPR) service, submit your comments on an SPR form. Thank you for your assistance. Please rate this manual: Excellent Good Fair Poor Accuracy (software works as manual says) O] O O O Completeness (enough information) O O ] O Clarity (easy to understand) O O O O Organization (structure of subject matter) O O O O Figures (useful) O O O O Examples (useful) O O O O Index (ability to find topic) O O O O Page layout (easy to find information) O O O O What would you like to see more/less of? What do you like best about this manual? What do you like least about this manual? Please list errors you have found in this manual: Page Description Additional comments or suggestions to improve this manual: What version of the software described by this manual are you using? Name/Title Dept. Company Date Mailing Address Email Phone ------- Do Not Tear — Fold Here and Tape nan t n ======meccccmmmcmmc e P e ———————- NO POSTAGE TM NECESSARY IF MAILED IN THE UNITED STATES ] | BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 33 MAYNARD MA ] —— | =, I POSTAGE WILL BE PAID BY ADDRESSEE ] I I DIGITAL EQUIPMENT CORPORATION OPEN SOFTWARE PUBLICATIONS MANAGER ZK0O3-2/204 110 SPIT BROOK ROAD NASHUA NH 03062-9987 HhmlhHnedlnhithilnhdaluliinhiliul -------- Do Not Tear —FoldHere === == e m e ee e e Cut Along Dptted Line
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies