Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / nvi / docs / USD.doc / vi.ref / ref.so
1 .\" Copyright (c) 1994
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\" Copyright (c) 1994, 1995, 1996
4 .\"     Keith Bostic.  All rights reserved.
5 .\"
6 .\" See the LICENSE file for redistribution information.
7 .\"
8 .\"     @(#)ref.so      8.9 (Berkeley) 8/17/96
9 .\"
10 .\"
11 .\" indented paragraph, with spaces between the items, bold font
12 .de IP
13 .\".tm arg 1 \\$1 arg 2 \\$2 arg 3 \\$3
14 .sp 1
15 .nr PS \\n(ps
16 .nr ps 0
17 .ip "\fB\\$1\fP" \\$2
18 .nr ps \\n(PS
19 .br
20 ..
21 .\" indented paragraph, no spaces between the items, bold font
22 .de Ip
23 .\".tm arg 1 \\$1 arg 2 \\$2 arg 3 \\$3
24 .nr PS \\n(ps
25 .nr ps 0
26 .ns
27 .ip "\fB\\$1\fP" \\$2
28 .nr ps \\n(PS
29 .br
30 ..
31 .\" start nested .IP
32 .de SS
33 .sp
34 .ba +5n
35 ..
36 .\" end nested .IP
37 .de SE
38 .ba -5n
39 ..
40 .\" nested .IP, no spaces, normal font
41 .de SP
42 .\".tm arg 1 \\$1 arg 2 \\$2 arg 3 \\$3
43 .nr PS \\n(ps
44 .nr ps 0
45 .ns
46 .ip "\\$1" 9n
47 .nr ps \\n(PS
48 ..
49 .\" typewriter font
50 .de LI
51 \&\fC\\$1\fP\\$2
52 ..
53 .\" ex/vi names in command font
54 .de EV
55 \&\fB\\$1\fP/\fB\\$2\fP\\$3
56 ..
57 .\" command names
58 .de CO
59 \&\fB\\$1\fP\\$2
60 ..
61 .\" key words for index
62 .de KY
63 .sy echo >>index '\\$1  \\n%'
64 ..
65 .\" option names
66 .de OP
67 \&\fB\\$1\fP\\$2
68 ..
69 .\" paren quoted (typewriter font)
70 .de PQ
71 (\*(lq\fC\\$1\fP\*(rq)\\$2
72 ..
73 .\" quoted bold
74 .de QB
75 \*(lq\fB\\$1\fP\*(rq\\$2
76 ..
77 .\" quoted command
78 .de QC
79 \*(lq\fB\\$1\fP\*(rq\\$2
80 ..
81 .\" quoted option
82 .de QO
83 \*(lq\fB\\$1\fP\*(rq\\$2
84 ..
85 .\" quoted (no font change)
86 .de QQ
87 \*(lq\\$1\*(rq\\$2
88 ..
89 .\" quoted (typewriter font)
90 .de QT
91 \*(lq\fC\\$1\fP\*(rq\\$2
92 ..
93 .\" section macro to build TOC
94 .de SH
95 .(x
96 \\$2
97 .)x
98 .sh \\$1 "\\$2"
99 ..
100 .\" manual section
101 .de XR
102 \&\fI\\$1\fP(\\$2)\\$3
103 ..