4.4BSD snapshot (revision 8.1)
[unix-history] / usr / src / share / tmac / doc-common
CommitLineData
bd5b3fd1
KB
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
1a449707
CL
3.\"
4.\" %sccs.include.redist.man%
5.\"
bd5b3fd1 6.\" @(#)doc-common 8.1 (Berkeley) %G%
1a449707
CL
7.\"
8.\" %beginstrip%
9.nr %A 1
10.nr %J 1
11.nr %N 1
12.nr %O 1
13.nr %R 1
14.nr %T 1
15.nr %V 1
16.nr Ad 12n
17.nr Ac 3
18.nr Ao 12n
3151e7d6 19.nr An 12n
1a449707
CL
20.nr Aq 12n
21.nr Ar 12n
22.nr Bc 3
23.nr Bl 1
24.nr Bo 12n
25.nr Bq 12n
26.nr Cd 12n
27.nr Cm 10n
1a449707
CL
28.nr Dc 3
29.nr Do 10n
30.nr Dq 12n
31.nr Ds 6n
32.nr Dq 12n
33.nr Dv 12n
1a449707
CL
34.nr Ec 3
35.nr El 1
36.nr Eo 12n
37.nr Eq 12n
38.nr Em 10n
39.nr Er 12n
40.nr Ev 15n
1a449707
CL
41.nr Fa 12n
42.nr Fl 10n
43.nr Fc 3
44.nr Fo 16n
45.nr Fn 16n
1a449707
CL
46.nr I1 6n
47.nr I2 12n
48.nr I3 18n
49.nr Ic 10n
50.nr Li 16n
51.nr Ms 6n
52.nr Nm 10n
53.nr No 12n
54.nr Ns 2
55.nr Oo 10n
56.nr Oc 3
57.nr Op 14n
58.nr Pa 32n
59.nr Pf 12n
60.nr Pc 3
61.nr Po 12n
62.nr Pq 12n
63.nr Ql 16n
64.nr Sc 3
65.nr So 12n
66.nr Sq 12n
67.nr Sy 6n
68.nr Sx 16n
1a449707
CL
69.nr Rv 1
70.nr Tn 10n
71.nr Ta 1
72.nr Tv 1
73.nr Tx 22n
74.nr Va 12n
75.nr Xc 3
76.nr Xo 1
77.nr Xr 10n
78.ds sV \& \&
79.ds hV \&\ \&
80.ds iV \& \&
81.ds tV \&\\t\&
82.\" Punctuation values (3 = closing punctuation, 4 = opening)
83.nr z. 3
84.nr z, 3
85.nr z: 3
86.nr z; 3
87.nr z( 4
88.nr z) 3
89.nr z[ 4
90.nr z] 3
91.\" Matching pairs
92.ds z( z)
93.ds z[ z]
94.ds z< z>
95.\" This is disgusting, troff not parse ``if'' stmt properly
96.nr z0 0
97.nr z1 0
98.nr z2 0
99.nr z3 0
100.nr z4 0
101.nr z5 0
102.nr z6 0
103.nr z7 0
104.nr z8 0
105.nr z9 0
106.nr z# 0
107.\" Header assembly macros
108.de Dt
109.ds dT UNTITLED
3151e7d6 110.ds vT LOCAL
1a449707
CL
111.ds cH Null
112.if !"\\$1"" .ds dT \\$1
113.if !"\\$2"" \{\
114. ds cH \\$2
3151e7d6 115.\" . if "\\$3"" \{\
1a449707 116. if \\$2>=1 .if \\$2<=8 \{\
da0dd546
CL
117. ds vT BSD Reference Manual
118. if \\$2>1 .if \\$2<6 .ds vT BSD Programmer's Manual
119. if "\\$2"8" .ds vT BSD System Manager's Manual
3151e7d6 120. nr sN \\$2
1a449707
CL
121. \}
122. if "\\$2"unass" .ds vT DRAFT
123. if "\\$2"draft" .ds vT DRAFT
3151e7d6
CL
124. if "\\$2"paper" .ds vT UNTITLED
125.\" . \}
1a449707
CL
126.\}
127.if !"\\$3"" \{\
da0dd546
CL
128. if "\\$3"USD" .ds vT BSD User's Supplementary Documents
129. if "\\$3"PS1" .ds vT BSD Programmers's Supplementary Documents
130. if "\\$3"AMD" .ds vT BSD Ancestral Manual Documents
131. if "\\$3"SMM" .ds vT BSD System Manager's Manual
132. if "\\$3"URM" .ds vT BSD Reference Manual
133. if "\\$3"PRM" .ds vT BSD Programmers's Manual
134. if "\\$3"IND" .ds vT BSD Manual Master Index
135.\" . if "\\$3"CON" .ds vT BSD Contributed Software Manual
136.\" . if "\\$3"IMP" .ds vT BSD Implementation Notes
137.\" . if "\\$3"HOW" .ds vT BSD How Pocket Manual
138. if "\\$3"LOCAL" .ds vT BSD Local Manual
3151e7d6
CL
139. if "\\$3"tahoe" .as vT \ (Tahoe Architecture)
140. if "\\$3"vax" .as vT \ (VAX Architecture)
141. if "\\$3"hp300" .as vT \ (HP300 Architecture)
142. if "\\$3"sparc" .as vT \ (SPARC Architecture)
143. if "\\*(vT"LOCAL" .ds vT \\$3
1a449707
CL
144.\}
145..
3151e7d6
CL
146.\" NS Os macro - Operating System (behaviour changes after first call)
147.\" . ds vT \f(CODRAFT\fP\ \ \-\-\ \ \\*(vT\ \ \-\-\ \ \f(CODRAFT
148.\" . ds dD \f(CODRAFT\fP\ \ \-\-\ \ \\*(dD\ \ \-\-\ \ \f(CODRAFT
149.\" .ds vT \s+4\f(CODRAFT\fP\s-4\ \ \-\-\ \ \\*(vT\ \ \-\-\ \ \s+4\f(CODRAFT\s-4
150.\" .ds dD \s+4\f(CODRAFT\fP\s-4\ \ \-\-\ \ \\*(dD\ \ \-\-\ \ \s+4\f(CODRAFT\s-4
1a449707
CL
151.de Os
152.ds oS Null
153.if "\\$1"" \{\
d42ab467 154. ds oS 4.4BSD
1a449707
CL
155.\}
156.if "\\$2"" \{\
157. ds aa Non-Null
158.\}
159.if "\\$1"ATT" \{\
160. ds oS AT&T
161. if "\\$2"" .as oS \0UNIX
162. if "\\$2"7th" .as oS \07th Edition
163. if "\\$2"7" .as oS \07th Edition
164. if "\\$2"III" .as oS \0System III
165. if "\\$2"3" .as oS \0System III
166. if "\\$2"V" .as oS \0System V
167. if "\\$2"V.2" .as oS \0System V Release 2
168. if "\\$2"V.3" .as oS \0System V Release 3
169. if "\\$2"V.4" .as oS \0System V Release 4
170.\}
171.if "\\$1"BSD" \{\
172. if "\\$2"3" .ds oS 3rd Berkeley Distribution
173. if "\\$2"4" .ds oS 4th Berkeley Distribution
174. if "\\$2"4.1" .ds oS 4.1 Berkeley Distribution
175. if "\\$2"4.2" .ds oS 4.2 Berkeley Distribution
176. if "\\$2"4.3" .ds oS 4.3 Berkeley Distribution
177. if "\\$2"4.3T" .ds oS 4.3-Tahoe Berkeley Distribution
178. if "\\$2"4.3R" .ds oS 4.3-Reno Berkeley Distribution
179. if "\\$2"4.3t" .ds oS 4.3-Tahoe Berkeley Distribution
180. if "\\$2"4.3r" .ds oS 4.3-Reno Berkeley Distribution
d42ab467 181. if "\\$2"4.4" .ds oS 4.4BSD
1a449707 182.\}
3151e7d6 183.if "\\*(oS"Null" .ds oS \0\\$1
1a449707
CL
184.if "\\*(aa"Non-Null" .as oS \0\\$2
185.rm aa
186..
187.de Dd
3151e7d6 188.if !"\\*(dD"" .nr gX 1
1a449707 189.ie \\n(.$>0 \{\
3151e7d6 190. ie \\n(.$==3 \{\
1a449707
CL
191. ds dD \\$1 \\$2 \\$3
192. \}
3151e7d6
CL
193. el \{\
194. if "\\n(mo"1" .ds dD January
195. if "\\n(mo"2" .ds dD February
196. if "\\n(mo"3" .ds dD March
197. if "\\n(mo"4" .ds dD April
198. if "\\n(mo"5" .ds dD May
199. if "\\n(mo"6" .ds dD June
200. if "\\n(mo"7" .ds dD July
201. if "\\n(mo"8" .ds dD August
202. if "\\n(mo"9" .ds dD September
203. if "\\n(mo"10" .ds dD October
204. if "\\n(mo"11" .ds dD November
205. if "\\n(mo"12" .ds dD December
206. as dD \&\ \\n(dy, 19\\n(yr
207. \}
1a449707
CL
208.\}
209.el \{\
210. ds dD Epoch
211.\}
212..
213.de hM
214.ev 1
215.pL
216.if !\\n(cR 'sp \\n(Hmu
217.tl @\\*(Hs\\*(hT\fP@\\*(Vs\\*(vT\fP@\\*(Hs\\*(hT\fP@
218'sp \\n(Hmu
219.ev
220..
221.de fM
222.ie \\n(cR 'br
223.el \{\
224. ev 1
225. pL
226. if !\\n(cR \{\
227' sp \\n(Fmu
228. tl @\\*(Hs\\*(oS\fP@\\*(Vs\\*(dD\fP@%@
229' bp
230. \}
231. ev
232.\}
1a449707
CL
233..
234.de lM
235.fl
236.if \\n(cR \{\
237' sp
238. tl @\\*(Hs\\*(oS\fP@\\*(Vs\\*(dD\fP@%@
239. pl \\n(nlu
240.\}
241..
242.de Pp
243.sp \\n(Ppu
244.ne 2
245.ns
246..
247.de Lp
248.Pp
249..
250.de LP
251.tm Not a \-mdoc command: .LP
252..
253.de PP
254.tm Not a \-mdoc command: .PP
255..
256.de pp
257.tm Not a \-mdoc command: .pp
258..
1a449707
CL
259.de Nd
260\&\-\& \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
261..
358c19c0
CL
262.de Ss
263.sp
264.ne 2
265.ti -.25i
266\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
267\&\fP\s0
268.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
269.if !\\n(cR .ne 2
270.br
271..
3151e7d6
CL
272.de Rd
273.tm MDOC REGISTER DUMP
274.tm Db==\\n(Db register DEBUG MODE
275.tm L[0-9] registers - stack of list types
276.tm L0==\\n(L0
277.tm L1==\\n(L1
278.tm L2==\\n(L2
279.tm L3==\\n(L3
280.tm L4==\\n(L4
281.tm L5==\\n(L5
282.tm L6==\\n(L6
283.tm L7==\\n(L7
284.tm L8==\\n(L8
285.tm L9==\\n(L9
286.tm O[0-9] registers - stack of indent
287.tm O0==\\n(O0
288.tm O1==\\n(O1
289.tm O2==\\n(O2
290.tm O3==\\n(O3
291.tm O4==\\n(O4
292.tm O5==\\n(O5
293.tm O6==\\n(O6
294.tm O7==\\n(O7
295.tm O8==\\n(O8
296.tm O9==\\n(O9
297.tm aC==\\n(aC register argument counter (aV/fV)
298.tm aJ==\\n(aJ register (for vR)
299.tm aN==\\n(aN register
300.tm aP==\\n(aP register argument pointer (aV)
301.tm aT==\\n(aT register argument type
302.tm aa==\\n(aa local register
303.tm bK==\\n(bK register - Book Name flag
304.tm cF==\\n(cF register save current font
305.tm cI==\\n(cI register - column indent width
306.tm cZ==\\n(cZ register save current font size
307.tm dK==\\n(dK register - Date flag
308.tm d[0-9] registers - display-type stack
309.tm d0==\\n(d0
310.tm d1==\\n(d1
311.tm d2==\\n(d2
312.tm d3==\\n(d3
313.tm d4==\\n(d4
314.tm d5==\\n(d5
315.tm d6==\\n(d6
316.tm d7==\\n(d7
317.tm d8==\\n(d8
318.tm d9==\\n(d9
319.tm dZ==\\n(dZ register diversion count
320.tm fD==\\n(fD register subroutine test (in synopsis only)
321.tm fV==\\n(fV register argument counter (must set to \\n(.$ prior to
322.tm fY==\\n(fY register - dick with old style function declarations (fortran)
323.tm fZ==\\n(fZ register also subroutine count (in synopsis only)
324.tm h[0-9] register horizontal tag stack (continuous if 1, break if
325.tm h0==\\n(h0
326.tm h1==\\n(h1
327.tm h2==\\n(h2
328.tm h3==\\n(h3
329.tm h4==\\n(h4
330.tm h5==\\n(h5
331.tm h6==\\n(h6
332.tm h7==\\n(h7
333.tm h8==\\n(h8
334.tm h9==\\n(h9
335.tm iD==\\n(iD local register
336.tm iI==\\n(iI local register (indent for inline debug mode)
337.tm iN==\\n(iN register DEBUG MODE (inline if 1, to stderr if
338.tm iS==\\n(iS register - indent second command line in a synopsis
339.tm jK==\\n(jK register - [reference] Journal Name flag
340.tm jM==\\n(jM local register
341.tm jN==\\n(jN local register
342.tm lC==\\n(lC register - list type stack counter
343.tm lK==\\n(lK register count of lines read from input file
344.tm nK==\\n(nK register - [reference] issue number flag
345.tm nU==\\n(nU register count
346.tm oK==\\n(oK register - [reference] optional information flag
347.tm oM==\\n(oM register (extension possible)
348.tm o[0-9] register offset stack (nested tags)
349.tm o0==\\n(o0
350.tm o1==\\n(o1
351.tm o2==\\n(o2
352.tm o3==\\n(o3
353.tm o4==\\n(o4
354.tm o5==\\n(o5
355.tm o6==\\n(o6
356.tm o7==\\n(o7
357.tm o8==\\n(o8
358.tm o9==\\n(o9
359.tm oM==\\n(oM register open ended line flag
360.tm pK==\\n(pK register - [reference] page number flag
361.tm qK==\\n(qK register - Corporate or Foreign Author flag
362.tm rK==\\n(rK register - [reference] report flag
363.tm rS==\\n(rS register - Reference Start flag
364.tm sM==\\n(sM register - default is one (space mode on)
365.tm tK==\\n(tK register - reference title flag
366.tm tP==\\n(tP register tag flag (for diversions)
367.tm tX==\\n(tX register (initial class)
368.tm tY==\\n(tY register (next possible lC value)
369.tm t[0-9] register tag string stack (nested tags)
370.tm t0==\\n(t0
371.tm t1==\\n(t1
372.tm t2==\\n(t2
373.tm t3==\\n(t3
374.tm t4==\\n(t4
375.tm t5==\\n(t5
376.tm t6==\\n(t6
377.tm t7==\\n(t7
378.tm t8==\\n(t8
379.tm t9==\\n(t9
380.tm uK==\\n(uK register - reference author(s) counter
381.tm vK==\\n(vK register - reference volume flag
382.tm v[0-9] register vertical tag break stack
383.tm v0==\\n(v0
384.tm v1==\\n(v1
385.tm v2==\\n(v2
386.tm v3==\\n(v3
387.tm v4==\\n(v4
388.tm v5==\\n(v5
389.tm v6==\\n(v6
390.tm v7==\\n(v7
391.tm v8==\\n(v8
392.tm v9==\\n(v9
393.tm w[0-9] register tag stack (nested tags)
394.tm w0==\\n(w0
395.tm w1==\\n(w1
396.tm w2==\\n(w2
397.tm w3==\\n(w3
398.tm w4==\\n(w4
399.tm w5==\\n(w5
400.tm w6==\\n(w6
401.tm w7==\\n(w7
402.tm w8==\\n(w8
403.tm w9==\\n(w9
404.tm xX==\\n(xX local register
405.tm END OF REGISTER DUMP
406..