annotate man/info.texi @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents 376386a54a3c
children ee648375d8d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 @comment %**start of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @setfilename ../info/info.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @settitle Info 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @comment %**end of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 @finalout
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 This file describes how to use Info,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 the on-line, menu-driven GNU documentation system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 Copyright (C) 1989, 1992 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 @ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 Permission is granted to process this file through TeX and print the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 results, provided the printed document carries copying permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 notice identical to this one except for the removal of this paragraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 (this paragraph not being relevant to the printed manual).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 @end ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 manual under the conditions for verbatim copying, provided that the entire
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 resulting derived work is distributed under the terms of a permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 into another language, under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 except that this permission notice may be stated in a translation approved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 by the Free Software Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 @setchapternewpage odd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 @titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @sp 11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @center @titlefont{Info}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @center The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 @center On-line, Menu-driven
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 @center GNU Documentation System
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 @vskip 0pt plus 1filll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 Copyright @copyright{} 1989, 1992, 1993 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 Published by the Free Software Foundation @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 675 Massachusetts Avenue, @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 Cambridge, MA 02139 USA @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 manual under the conditions for verbatim copying, provided that the entire
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 resulting derived work is distributed under the terms of a permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 into another language, under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 except that this permission notice may be stated in a translation approved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 by the Free Software Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 @end titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 @paragraphindent 3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 @node Top, Getting Started, (dir), (dir)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 @top Info: An Introduction
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 Info is a program for reading documentation, which you are using now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 To learn how to use Info, type the command @kbd{h}. It brings you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 to a programmed instruction sequence. If at any time you are ready to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 stop using Info, type @samp{q}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 @c Need to make sure that `Info-help' goes to the right node,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 @c which is the first node of the first chapter. (It should.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 @c (Info-find-node "info"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 @c (if (< (window-height) 23)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 @c "Help-Small-Screen"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 @c "Help")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 To learn advanced Info commands, type @kbd{n} twice. This brings you to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 @cite{Info for Experts}, skipping over the `Getting Started' chapter.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 * Getting Started:: Getting started using an Info reader.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 * Advanced Info:: Advanced commands within Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 * Create an Info File:: How to make your own Info file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 @node Getting Started, Advanced Info, Top, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 @chapter Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 This first part of the Info manual describes how to get around inside
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 of Info. The second part of the manual describes various advanced
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 Info commands, and how to write an Info as distinct from a Texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 file. The third part is about how to generate Info files from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 Texinfo files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 This manual is primarily designed for use on a computer, so that you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 try Info commands while reading about them. Reading it on paper is less
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 effective, since you must take it on faith that the commands described
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 really do what the manual says. By all means go through this manual now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 that you have it; but please try going through the on-line version as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 There are two ways of looking at the online version of this manual:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 @enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 Type @code{info} at your shell's command line. This approach uses a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 stand-alone program designed just to read Info files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 Type @code{emacs} at the command line; then type @kbd{C-h i} (Control
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 @kbd{h}, followed by @kbd{i}). This approach uses the Info mode of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 Emacs program, an editor with many other capabilities.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 In either case, then type @kbd{mInfo} (just the letters), followed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 @key{RET}---the ``Return'' or ``Enter'' key. At this point, you should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 be ready to follow the instructions in this manual as you read them on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 @c FIXME! (pesch@cygnus.com, 14 dec 1992)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 @c Is it worth worrying about what-if the beginner goes to somebody
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 @c else's Emacs session, which already has an Info running in the middle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 @c of something---in which case these simple instructions won't work?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 * Help-Small-Screen:: Starting Info on a Small Screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 * Help:: How to use Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 * Help-P:: Returning to the Previous node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 * Help-^L:: The Space, Rubout, B and ^L commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 * Help-M:: Menus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 * Help-Adv:: Some advanced Info commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 * Help-Q:: Quitting Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 * Using Stand-alone Info:: How to use the stand-alone Info reader.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 @node Help-Small-Screen, Help, , Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 @section Starting Info on a Small Screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 (In Info, you only see this section if your terminal has a small
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 number of lines; most readers pass by it without seeing it.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 Since your terminal has an unusually small number of lines on its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 screen, it is necessary to give you special advice at the beginning.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 If you see the text @samp{--All----} at near the bottom right corner
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 of the screen, it means the entire text you are looking at fits on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 screen. If you see @samp{--Top----} instead, it means that there is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 more text below that does not fit. To move forward through the text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 and see another screen full, press the Space bar, @key{SPC}. To move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 back up, press the key labeled @samp{Delete} or @key{DEL}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 Here are 40 lines of junk, so you can try Spaces and Deletes and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 see what they do. At the end are instructions of what you should do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 next.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 This is line 17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 This is line 18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 This is line 19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 This is line 20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 This is line 21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 This is line 22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 This is line 23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 This is line 24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 This is line 25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 This is line 26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 This is line 27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 This is line 28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 This is line 29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 This is line 30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 This is line 31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 This is line 32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 This is line 33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 This is line 34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 This is line 35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 This is line 36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 This is line 37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 This is line 38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 This is line 39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 This is line 40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 This is line 41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 This is line 42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 This is line 43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 This is line 44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 This is line 45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 This is line 46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 This is line 47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 This is line 48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 This is line 49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 This is line 50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 This is line 51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 This is line 52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 This is line 53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 This is line 54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 This is line 55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 This is line 56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 If you have managed to get here, go back to the beginning with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 Delete, and come back here again, then you understand Space and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 Delete. So now type an @kbd{n} ---just one character; don't type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 the quotes and don't type the Return key afterward--- to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 get to the normal start of the course.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 @node Help, Help-P, Help-Small-Screen, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 @section How to use Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 You are talking to the program Info, for reading documentation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 Right now you are looking at one @dfn{Node} of Information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 A node contains text describing a specific topic at a specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 level of detail. This node's topic is ``how to use Info''.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 The top line of a node is its @dfn{header}. This node's header (look at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 it now) says that it is the node named @samp{Help} in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @file{info}. It says that the @samp{Next} node after this one is the node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 called @samp{Help-P}. An advanced Info command lets you go to any node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 whose name you know.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 Besides a @samp{Next}, a node can have a @samp{Previous} or an @samp{Up}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 This node has a @samp{Previous} but no @samp{Up}, as you can see.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 Now it is time to move on to the @samp{Next} node, named @samp{Help-P}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 >> Type @samp{n} to move there. Type just one character;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 do not type the quotes and do not type a @key{RET} afterward.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 @samp{>>} in the margin means it is really time to try a command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 @node Help-P, Help-^L, Help, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 @section Returning to the Previous node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 This node is called @samp{Help-P}. The @samp{Previous} node, as you see,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 is @samp{Help}, which is the one you just came from using the @kbd{n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 command. Another @kbd{n} command now would take you to the next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 node, @samp{Help-^L}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 >> But do not do that yet. First, try the @kbd{p} command, which takes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 you to the @samp{Previous} node. When you get there, you can do an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 @kbd{n} again to return here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 This all probably seems insultingly simple so far, but @emph{do not} be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 led into skimming. Things will get more complicated soon. Also,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 do not try a new command until you are told it is time to. Otherwise,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 you may make Info skip past an important warning that was coming up.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 >> Now do an @kbd{n} to get to the node @samp{Help-^L} and learn more.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 @node Help-^L, Help-M, Help-P, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 @section The Space, Delete, B and ^L commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 This node's header tells you that you are now at node @samp{Help-^L}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 that @kbd{p} would get you back to @samp{Help-P}. The node's title is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 underlined; it says what the node is about (most nodes have titles).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 This is a big node and it does not all fit on your display screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 You can tell that there is more that is not visible because you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 can see the string @samp{--Top-----} rather than @samp{--All----} near
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 the bottom right corner of the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 The Space, Delete and @kbd{B} commands exist to allow you to ``move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 around'' in a node that does not all fit on the screen at once.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 Space moves forward, to show what was below the bottom of the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 Delete moves backward, to show what was above the top of the screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 (there is not anything above the top until you have typed some spaces).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 >> Now try typing a Space (afterward, type a Delete to return here).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 When you type the space, the two lines that were at the bottom of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 the screen appear at the top, followed by more lines. Delete takes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 the two lines from the top and moves them to the bottom,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 @emph{usually}, but if there are not a full screen's worth of lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 above them they may not make it all the way to the bottom.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 If you type Space when there is no more to see, it rings the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 bell and otherwise does nothing. The same goes for Delete when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 the header of the node is visible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 If your screen is ever garbaged, you can tell Info to print it out
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down ``Control'' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 type an @key{L} or @kbd{l}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 >> Type @kbd{C-l} now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 To move back to the beginning of the node you are on, you can type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 a lot of Deletes. You can also type simply @kbd{b} for beginning.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 >> Try that now. (We have put in enough verbiage to push this past
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 the first screenful, but screens are so big nowadays that perhaps it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 isn't enough. You may need to shrink your Emacs or Info window.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 Then come back, with Spaces.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 If your screen is very tall, all of this node might fit at once.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 In that case, "b" won't do anything. Sorry; what can we do?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 You have just learned a considerable number of commands. If you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 want to use one but have trouble remembering which, you should type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 a @key{?} which prints out a brief list of commands. When you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 finished looking at the list, make it go away by typing a @key{SPC}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 >> Type a @key{?} now. After it finishes, type a @key{SPC}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 (If you are using the standalone Info reader, type `l' to return here.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 From now on, you will encounter large nodes without warning, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 will be expected to know how to use Space and Delete to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 around in them without being told. Since not all terminals have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 the same size screen, it would be impossible to warn you anyway.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 >> Now type @kbd{n} to see the description of the @kbd{m} command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 @node Help-M, Help-Adv, Help-^L, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 @section Menus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 Menus and the @kbd{m} command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 With only the @kbd{n} and @kbd{p} commands for moving between nodes, nodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 are restricted to a linear sequence. Menus allow a branching
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 structure. A menu is a list of other nodes you can move to. It is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 actually just part of the text of the node formatted specially so that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 Info can interpret it. The beginning of a menu is always identified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 by a line which starts with @samp{* Menu:}. A node contains a menu if and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 only if it has a line in it which starts that way. The only menu you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 can use at any moment is the one in the node you are in. To use a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 menu in any other node, you must move to that node first.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 After the start of the menu, each line that starts with a @samp{*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 identifies one subtopic. The line usually contains a brief name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 for the subtopic (followed by a @samp{:}), the name of the node that talks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 about that subtopic, and optionally some further description of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 subtopic. Lines in the menu that do not start with a @samp{*} have no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 special meaning---they are only for the human reader's benefit and do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 not define additional subtopics. Here is an example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 * Foo: FOO's Node This tells about FOO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 The subtopic name is Foo, and the node describing it is @samp{FOO's Node}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 The rest of the line is just for the reader's Information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 [[ But this line is not a real menu item, simply because there is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 no line above it which starts with @samp{* Menu:}.]]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 When you use a menu to go to another node (in a way that will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 described soon), what you specify is the subtopic name, the first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 thing in the menu line. Info uses it to find the menu line, extracts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 the node name from it, and goes to that node. The reason that there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 is both a subtopic name and a node name is that the node name must be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 meaningful to the computer and may therefore have to be ugly looking.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 The subtopic name can be chosen just to be convenient for the user to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 specify. Often the node name is convenient for the user to specify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 and so both it and the subtopic name are the same. There is an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 abbreviation for this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 * Foo:: This tells about FOO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 This means that the subtopic name and node name are the same; they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 both @samp{Foo}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 >> Now use Spaces to find the menu in this node, then come back to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 the front with a @kbd{b} and some Spaces. As you see, a menu is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 actually visible in its node. If you cannot find a menu in a node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 by looking at it, then the node does not have a menu and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 @kbd{m} command is not available.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 The command to go to one of the subnodes is @kbd{m}---but @emph{do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 not do it yet!} Before you use @kbd{m}, you must understand the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 difference between commands and arguments. So far, you have learned
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 several commands that do not need arguments. When you type one, Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 processes it and is instantly ready for another command. The @kbd{m}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 command is different: it is incomplete without the @dfn{name of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 subtopic}. Once you have typed @kbd{m}, Info tries to read the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 subtopic name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 Now look for the line containing many dashes near the bottom of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 screen. There is one more line beneath that one, but usually it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 blank. If it is empty, Info is ready for a command, such as @kbd{n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 or @kbd{b} or Space or @kbd{m}. If that line contains text ending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 in a colon, it mean Info is trying to read the @dfn{argument} to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 command. At such times, commands do not work, because Info tries to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 use them as the argument. You must either type the argument and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 finish the command you started, or type @kbd{Control-g} to cancel the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 command. When you have done one of those things, the line becomes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 blank again.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 The command to go to a subnode via a menu is @kbd{m}. After you type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 the @kbd{m}, the line at the bottom of the screen says @samp{Menu item: }.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 You must then type the name of the subtopic you want, and end it with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 a @key{RET}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 You can abbreviate the subtopic name. If the abbreviation is not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 unique, the first matching subtopic is chosen. Some menus put
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 the shortest possible abbreviation for each subtopic name in capital
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 letters, so you can see how much you need to type. It does not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 matter whether you use upper case or lower case when you type the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 subtopic. You should not put any spaces at the end, or inside of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 item name, except for one space where a space appears in the item in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 the menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 You can also use the @dfn{completion} feature to help enter the subtopic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 name. If you type the Tab key after entering part of a name, it will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 magically fill in more of the name---as much as follows uniquely from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 what you have entered.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 If you move the cursor to one of the menu subtopic lines, then you do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 not need to type the argument: you just type a Return, and it stands for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 the subtopic of the line you are on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 Here is a menu to give you a chance to practice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 * Menu: The menu starts here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 This menu gives you three ways of going to one place, Help-FOO.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 * Foo: Help-FOO. A node you can visit for fun.@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 * Bar: Help-FOO. Strange! two ways to get to the same place.@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 * Help-FOO:: And yet another!@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 >> Now type just an @kbd{m} and see what happens:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 Now you are ``inside'' an @kbd{m} command. Commands cannot be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 now; the next thing you will type must be the name of a subtopic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 You can change your mind about doing the @kbd{m} by typing Control-g.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 >> Try that now; notice the bottom line clear.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 >> Then type another @kbd{m}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 >> Now type @samp{BAR} item name. Do not type Return yet.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 While you are typing the item name, you can use the Delete key to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 cancel one character at a time if you make a mistake.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 >> Type one to cancel the @samp{R}. You could type another @samp{R} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 replace it. You do not have to, since @samp{BA} is a valid abbreviation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 >> Now you are ready to go. Type a @key{RET}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 After visiting Help-FOO, you should return here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 >> Type @kbd{n} to see more commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 @c If a menu appears at the end of this node, remove it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 @c It is an accident of the menu updating command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 Here is another way to get to Help-FOO, a menu. You can ignore this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 if you want, or else try it (but then please come back to here).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 * Help-FOO::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 @node Help-FOO, , , Help-M
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 @subsection The @kbd{u} command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 Congratulations! This is the node @samp{Help-FOO}. Unlike the other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 nodes you have seen, this one has an @samp{Up}: @samp{Help-M}, the node you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 just came from via the @kbd{m} command. This is the usual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 convention---the nodes you reach from a menu have @samp{Up} nodes that lead
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 back to the menu. Menus move Down in the tree, and @samp{Up} moves Up.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 @samp{Previous}, on the other hand, is usually used to ``stay on the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 level but go backwards''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 You can go back to the node @samp{Help-M} by typing the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 @kbd{u} for ``Up''. That puts you at the @emph{front} of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 node---to get back to where you were reading you have to type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 some @key{SPC}s.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 >> Now type @kbd{u} to move back up to @samp{Help-M}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 @node Help-Adv, Help-Q, Help-M, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 @section Some advanced Info commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 The course is almost over, so please stick with it to the end.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 If you have been moving around to different nodes and wish to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 retrace your steps, the @kbd{l} command (@kbd{l} for @dfn{last}) will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 do that, one node-step at a time. As you move from node to node, Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 records the nodes where you have been in a special history list. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 @kbd{l} command revisits nodes in the history list; each successive
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 @kbd{l} command moves one step back through the history.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 If you have been following directions, ad @kbd{l} command now will get
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 you back to @samp{Help-M}. Another @kbd{l} command would undo the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 @kbd{u} and get you back to @samp{Help-FOO}. Another @kbd{l} would undo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 the @kbd{m} and get you back to @samp{Help-M}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 >> Try typing three @kbd{l}'s, pausing in between to see what each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 @kbd{l} does.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 Then follow directions again and you will end up back here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 Note the difference between @kbd{l} and @kbd{p}: @kbd{l} moves to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 where @emph{you} last were, whereas @kbd{p} always moves to the node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 which the header says is the @samp{Previous} node (from this node, to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 @samp{Help-M}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 The @samp{d} command gets you instantly to the Directory node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 This node, which is the first one you saw when you entered Info,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 has a menu which leads (directly, or indirectly through other menus),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 to all the nodes that exist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 >> Try doing a @samp{d}, then do an @kbd{l} to return here (yes,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 @emph{do} return).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 Sometimes, in Info documentation, you will see a cross reference.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 Cross references look like this: @xref{Help-Cross, Cross}. That is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 real, live cross reference which is named @samp{Cross} and points at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 the node named @samp{Help-Cross}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 If you wish to follow a cross reference, you must use the @samp{f}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 command. The @samp{f} must be followed by the cross reference name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 (in this case, @samp{Cross}). While you enter the name, you can use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 Delete key to edit your input. If you change your mind about following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 any reference, you can use @kbd{Control-g} to cancel the command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 Completion is available in the @samp{f} command; you can complete among
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 all the cross reference names in the current node by typing a Tab.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 >> Type @samp{f}, followed by @samp{Cross}, and a @key{RET}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 To get a list of all the cross references in the current node, you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 type @kbd{?} after an @samp{f}. The @samp{f} continues to await a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 cross reference name even after printing the list, so if you don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 actually want to follow a reference, you should type a @kbd{Control-g}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 to cancel the @samp{f}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 >> Type "f?" to get a list of the cross references in this node. Then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 type a @kbd{Control-g} and see how the @samp{f} gives up.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 >> Now type @kbd{n} to see the last node of the course.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 @c If a menu appears at the end of this node, remove it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 @c It is an accident of the menu updating command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 @node Help-Cross, , , Help-Adv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 @unnumberedsubsec The node reached by the cross reference in Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 This is the node reached by the cross reference named @samp{Cross}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 While this node is specifically intended to be reached by a cross
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 reference, most cross references lead to nodes that ``belong''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 someplace else far away in the structure of Info. So you cannot expect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 where you came from. In general, the @kbd{l} (el) command is the only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 way to get back there.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 >> Type @kbd{l} to return to the node where the cross reference was.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 @node Help-Q, , Help-Adv, Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 @section Quitting Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 To get out of Info, back to what you were doing before, type @kbd{q}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 for @dfn{Quit}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 This is the end of the course on using Info. There are some other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 commands that are meant for experienced users; they are useful, and you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 can find them by looking in the directory node for documentation on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 Info. Finding them will be a good exercise in using Info in the usual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 manner.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 @format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 >> Type @samp{d} to go to the Info directory node; then type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 @samp{mInfo} and Return, to get to the node about Info and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 see what other help is available.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 @end format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 @node Advanced Info, Create an Info File, Getting Started, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 @chapter Info for Experts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 This chapter describes various advanced Info commands, and how to write
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 an Info as distinct from a Texinfo file. (However, in most cases, writing a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 Texinfo file is better, since you can use it @emph{both} to generate an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 Info file and to make a printed manual. @xref{Top,, Overview of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 Texinfo, texinfo, Texinfo: The GNU Documentation Format}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 * Expert:: Advanced Info commands: g, s, e, and 1 - 5.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 * Add:: Describes how to add new nodes to the hierarchy.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 Also tells what nodes look like.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 * Menus:: How to add to or create menus in Info nodes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 * Cross-refs:: How to add cross-references to Info nodes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 * Tags:: How to make tag tables for Info files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 * Checking:: Checking an Info File
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 * Emacs Info Variables:: Variables modifying the behavior of Emacs Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 @node Expert, Add, , Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 @section Advanced Info Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 @kbd{g}, @kbd{s}, @kbd{1}, -- @kbd{9}, and @kbd{e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 If you know a node's name, you can go there by typing @kbd{g}, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 name, and @key{RET}. Thus, @kbd{gTop@key{RET}} would go to the node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 called @samp{Top} in this file (its directory node).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 @kbd{gExpert@key{RET}} would come back here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 Unlike @kbd{m}, @kbd{g} does not allow the use of abbreviations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 To go to a node in another file, you can include the filename in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 node name by putting it at the front, in parentheses. Thus,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 @kbd{g(dir)Top@key{RET}} would go to the Info Directory node, which is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 node @samp{Top} in the file @file{dir}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 The node name @samp{*} specifies the whole file. So you can look at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 all of the current file by typing @kbd{g*@key{RET}} or all of any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 other file with @kbd{g(FILENAME)@key{RET}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 The @kbd{s} command allows you to search a whole file for a string.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 It switches to the next node if and when that is necessary. You
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 type @kbd{s} followed by the string to search for, terminated by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 @key{RET}. To search for the same string again, just @kbd{s} followed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 by @key{RET} will do. The file's nodes are scanned in the order
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 they are in in the file, which has no necessary relationship to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 order that they may be in in the tree structure of menus and @samp{next} pointers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 But normally the two orders are not very different. In any case,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 you can always do a @kbd{b} to find out what node you have reached, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 the header is not visible (this can happen, because @kbd{s} puts your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 cursor at the occurrence of the string, not at the beginning of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 node).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 If you grudge the system each character of type-in it requires, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 @kbd{9}. They are short for the @kbd{m} command together with an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 argument. @kbd{1} goes through the first item in the current node's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 menu; @kbd{2} goes through the second item, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 If you display supports multiple fonts, and you are using Emacs' Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 mode to read Info files, the @samp{*} for the fifth menu item is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 underlines, and so is the @samp{*} for the ninth item; these underlines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 make it easy to see at a glance which number to use for an item.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 On ordinary terminals, you won't have underlining. If you need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 actually count items, it is better to use @kbd{m} instead, and specify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 the name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 The Info command @kbd{e} changes from Info mode to an ordinary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 Emacs editing mode, so that you can edit the text of the current node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 Type @kbd{C-c C-c} to switch back to Info. The @kbd{e} command is allowed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 only if the variable @code{Info-enable-edit} is non-@code{nil}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 @node Add, Menus, Expert, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 @section Adding a new node to Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 To add a new topic to the list in the Info directory, you must:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 @enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 Create some nodes, in some file, to document that topic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 Put that topic in the menu in the directory. @xref{Menus, Menu}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 Usually, the way to create the nodes is with Texinfo @pxref{Top,, Overview of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 Texinfo, texinfo, Texinfo: The GNU Documentation Format}); this has the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 advantage that you can also make a printed manual from them. However,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 if hyou want to edit an Info file, here is how.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 The new node can live in an existing documentation file, or in a new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 one. It must have a @key{^_} character before it (invisible to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 user; this node has one but you cannot see it), and it ends with either
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 a @key{^_}, a @key{^L}, or the end of file. Note: If you put in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 @key{^L} to end a new node, be sure that there is a @key{^_} after it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 to start the next one, since @key{^L} cannot @emph{start} a node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 Also, a nicer way to make a node boundary be a page boundary as well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 is to put a @key{^L} @emph{right after} the @key{^_}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 The @key{^_} starting a node must be followed by a newline or a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 @key{^L} newline, after which comes the node's header line. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 header line must give the node's name (by which Info finds it),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 there are any). As you can see, this node's @samp{Up} node is the node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 @samp{Top}, which points at all the documentation for Info. The @samp{Next}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 node is @samp{Menus}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 The keywords @dfn{Node}, @dfn{Previous}, @dfn{Up}, and @dfn{Next},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 may appear in any order, anywhere in the header line, but the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 recommended order is the one in this sentence. Each keyword must be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 followed by a colon, spaces and tabs, and then the appropriate name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 The name may be terminated with a tab, a comma, or a newline. A space
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 does not end it; node names may contain spaces. The case of letters
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 in the names is insignificant.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 A node name has two forms. A node in the current file is named by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 what appears after the @samp{Node: } in that node's first line. For
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 example, this node's name is @samp{Add}. A node in another file is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 named by @samp{(@var{filename})@var{node-within-file}}, as in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 @samp{(info)Add} for this node. If the file name starts with ``./'',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 then it is relative to the current directory; otherwise, it is relative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 starting from the standard Info file directory of your site.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 The name @samp{(@var{filename})Top} can be abbreviated to just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 @samp{(@var{filename})}. By convention, the name @samp{Top} is used for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 the ``highest'' node in any single file---the node whose @samp{Up} points
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 out of the file. The Directory node is @file{(dir)}. The @samp{Top} node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 of a document file listed in the Directory should have an @samp{Up:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 (dir)} in it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 The node name @kbd{*} is special: it refers to the entire file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 Thus, @kbd{g*} shows you the whole current file. The use of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 node @kbd{*} is to make it possible to make old-fashioned,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 unstructured files into nodes of the tree.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 The @samp{Node:} name, in which a node states its own name, must not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 contain a filename, since Info when searching for a node does not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 expect one to be there. The @samp{Next}, @samp{Previous} and @samp{Up} names may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 contain them. In this node, since the @samp{Up} node is in the same file,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 it was not necessary to use one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 Note that the nodes in this file have a file name in the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 line. The file names are ignored by Info, but they serve as comments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 to help identify the node for the user.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 @node Menus, Cross-refs, Add, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 @section How to Create Menus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 Any node in the Info hierarchy may have a @dfn{menu}---a list of subnodes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 The @kbd{m} command searches the current node's menu for the topic which it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 reads from the terminal.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 A menu begins with a line starting with @samp{* Menu:}. The rest of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 line is a comment. After the starting line, every line that begins
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 with a @samp{* } lists a single topic. The name of the topic--the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 argument that the user must give to the @kbd{m} command to select this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 topic---comes right after the star and space, and is followed by a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 colon, spaces and tabs, and the name of the node which discusses that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 topic. The node name, like node names following @samp{Next}, @samp{Previous}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 and @samp{Up}, may be terminated with a tab, comma, or newline; it may also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 be terminated with a period.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 If the node name and topic name are the same, then rather than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 giving the name twice, the abbreviation @samp{* NAME::} may be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 (and should be used, whenever possible, as it reduces the visual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 clutter in the menu).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 It is considerate to choose the topic names so that they differ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 from each other very near the beginning---this allows the user to type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 short abbreviations. In a long menu, it is a good idea to capitalize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 the beginning of each item name which is the minimum acceptable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 abbreviation for it (a long menu is more than 5 or so entries).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 The nodes listed in a node's menu are called its ``subnodes'', and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 it is their ``superior''. They should each have an @samp{Up:} pointing at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 the superior. It is often useful to arrange all or most of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 subnodes in a sequence of @samp{Next} and @samp{Previous} pointers so that someone who
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 wants to see them all need not keep revisiting the Menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 The Info Directory is simply the menu of the node @samp{(dir)Top}---that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 is, node @samp{Top} in file @file{.../info/dir}. You can put new entries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 in that menu just like any other menu. The Info Directory is @emph{not} the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 same as the file directory called @file{info}. It happens that many of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 Info's files live on that file directory, but they do not have to; and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 files on that directory are not automatically listed in the Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 Directory node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 Also, although the Info node graph is claimed to be a ``hierarchy'',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 in fact it can be @emph{any} directed graph. Shared structures and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 pointer cycles are perfectly possible, and can be used if they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 appropriate to the meaning to be expressed. There is no need for all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 the nodes in a file to form a connected structure. In fact, this file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 has two connected components. You are in one of them, which is under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 the node @samp{Top}; the other contains the node @samp{Help} which the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 @kbd{h} command goes to. In fact, since there is no garbage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 collector, nothing terrible happens if a substructure is not pointed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 to, but such a substructure is rather useless since nobody can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 ever find out that it exists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 @node Cross-refs, Tags, Menus, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 @section Creating Cross References
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 A cross reference can be placed anywhere in the text, unlike a menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 item which must go at the front of a line. A cross reference looks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 like a menu item except that it has @samp{*note} instead of @kbd{*}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 It @emph{cannot} be terminated by a @samp{)}, because @samp{)}'s are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 so often part of node names. If you wish to enclose a cross reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 in parentheses, terminate it with a period first. Here are two
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 examples of cross references pointers:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 *Note details: commands. (See *note 3: Full Proof.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 They are just examples. The places they ``lead to'' do not really exist!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 @node Tags, Checking, Cross-refs, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 @section Tag Tables for Info Files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 You can speed up the access to nodes of a large Info file by giving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 it a tag table. Unlike the tag table for a program, the tag table for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 an Info file lives inside the file itself and is used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 automatically whenever Info reads in the file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 To make a tag table, go to a node in the file using Emacs Info mode and type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 @kbd{M-x Info-tagify}. Then you must use @kbd{C-x C-s} to save the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 Once the Info file has a tag table, you must make certain it is up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 to date. If, as a result of deletion of text, any node moves back
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 more than a thousand characters in the file from the position
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875 recorded in the tag table, Info will no longer be able to find that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 node. To update the tag table, use the @code{Info-tagify} command again.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 An Info file tag table appears at the end of the file and looks like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 ^_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 Tag Table:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884 File: info, Node: Cross-refs^?21419
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 File: info, Node: Tags^?22145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 ^_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 End Tag Table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 Note that it contains one line per node, and this line contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 the beginning of the node's header (ending just after the node name),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 a Delete character, and the character position in the file of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 beginning of the node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 @node Checking, Emacs Info Variables, Tags, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 @section Checking an Info File
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 When creating an Info file, it is easy to forget the name of a node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 when you are making a pointer to it from another node. If you put in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902 the wrong name for a node, this is not detected until someone
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 tries to go through the pointer using Info. Verification of the Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 file is an automatic process which checks all pointers to nodes and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 reports any pointers which are invalid. Every @samp{Next}, @samp{Previous}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 @samp{Up} is checked, as is every menu item and every cross reference. In
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 addition, any @samp{Next} which does not have a @samp{Previous} pointing back is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 reported. Only pointers within the file are checked, because checking
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 pointers to other files would be terribly slow. But those are usually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 few.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 To check an Info file, do @kbd{M-x Info-validate} while looking at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 any node of the file with Emacs Info mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 @node Emacs Info Variables, , Checking, Advanced Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916 @section Emacs Info-mode Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 The following variables may modify the behaviour of Info-mode in Emacs;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919 you may wish to set one or several of these variables interactively, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921 Variables, Examining and Setting Variables, emacs, The GNU Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 Manual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 @item Info-enable-edit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 non-@code{nil} value enables it. @xref{Add, Edit}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929 @item Info-enable-active-nodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 When set to a non-@code{nil} value, allows Info to execute Lisp code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
931 associated with nodes. The Lisp code is executed when the node is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
933
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934 @item Info-directory-list
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
935 The list of directories to search for Info files. This variable is set
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
936 on startup automatically either from the @code{INFOPATH} environment
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
937 variable (if it exists) or, else, @code{Info-default-directory-list}.
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
938 Any user settings of this variable will be ignored.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939
48
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
940 @item Info-default-directory-list
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
941 List of default directories to search for Info documentation files.
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
942 This value is used as the default for @code{Info-directory-list} in the
56c54cf7c5b6 Import from CVS: tag r19-16b90
cvs
parents: 0
diff changeset
943 absence of a setting for the @code{INFOPATH} environment variable.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 @node Create an Info File, , Advanced Info, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 @chapter Creating an Info File from a Makeinfo file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 @code{makeinfo} is a utility that converts a Texinfo file into an Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 file; @code{texinfo-format-region} and @code{texinfo-format-buffer} are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 GNU Emacs functions that do the same.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 @xref{Create an Info File, , Creating an Info File, texinfo, the Texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 Manual}, to learn how to create an Info file from a Texinfo file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 Format}, to learn how to write a Texinfo file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959 @nwnode Using Stand-alone Info, Options, , Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 @chapter Using the Stand-alone Info Reader
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961 @lowersections
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 @c Make the paragraph indentation match the rest of this file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 @paragraphindent 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 @include info-stnd.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 @raisesections
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 @bye