comparison man/info.texi @ 175:2d532a89d707 r20-3b14

Import from CVS: tag r20-3b14
author cvs
date Mon, 13 Aug 2007 09:50:14 +0200
parents cca96a509cfe
children 70ad99077275
comparison
equal deleted inserted replaced
174:bb3568571b84 175:2d532a89d707
1 \input texinfo @c -*-texinfo-*- 1 \input texinfo @c -*-texinfo-*-
2 @comment %**start of header 2 @comment %**start of header
3 @setfilename ../info/info.info 3 @setfilename info.info
4 @settitle Info 1.0 4 @settitle Info 1.0
5 @comment %**end of header 5 @comment %**end of header
6 6 @comment $Id: info.texi,v 1.3 1997/07/19 22:11:48 steve Exp $
7 @iftex 7
8 @finalout 8 @dircategory Texinfo documentation system
9 @end iftex 9 @direntry
10 * Info: (info). Documentation browsing system.
11 @end direntry
10 12
11 @ifinfo 13 @ifinfo
12 This file describes how to use Info, 14 This file describes how to use Info,
13 the on-line, menu-driven GNU documentation system. 15 the on-line, menu-driven GNU documentation system.
14 16
15 Copyright (C) 1989, 1992 Free Software Foundation, Inc. 17 Copyright (C) 1989, 92, 96, 97 Free Software Foundation, Inc.
16 18
17 Permission is granted to make and distribute verbatim copies of 19 Permission is granted to make and distribute verbatim copies of
18 this manual provided the copyright notice and this permission notice 20 this manual provided the copyright notice and this permission notice
19 are preserved on all copies. 21 are preserved on all copies.
20 22
34 into another language, under the above conditions for modified versions, 36 into another language, under the above conditions for modified versions,
35 except that this permission notice may be stated in a translation approved 37 except that this permission notice may be stated in a translation approved
36 by the Free Software Foundation. 38 by the Free Software Foundation.
37 @end ifinfo 39 @end ifinfo
38 40
39 @setchapternewpage odd
40 @titlepage 41 @titlepage
41 @sp 11 42 @title Info
42 @center @titlefont{Info} 43 @subtitle The online, menu-driven GNU documentation system
43 @sp 2 44 @author Brian Fox
44 @center The
45 @sp 2
46 @center On-line, Menu-driven
47 @sp 2
48 @center GNU Documentation System
49
50 @page 45 @page
51 @vskip 0pt plus 1filll 46 @vskip 0pt plus 1filll
52 Copyright @copyright{} 1989, 1992, 1993 Free Software Foundation, Inc. 47 Copyright @copyright{} 1989, 1992, 1993, 1996, 1997 Free Software
48 Foundation, Inc.
53 @sp 2 49 @sp 2
54 50
55 Published by the Free Software Foundation @* 51 Published by the Free Software Foundation @*
56 675 Massachusetts Avenue, @* 52 59 Temple Place - Suite 330 @*
57 Cambridge, MA 02139 USA @* 53 Boston, MA 02111-1307, USA.
58 54
59 Permission is granted to make and distribute verbatim copies of 55 Permission is granted to make and distribute verbatim copies of
60 this manual provided the copyright notice and this permission notice 56 this manual provided the copyright notice and this permission notice
61 are preserved on all copies. 57 are preserved on all copies.
62 58
69 into another language, under the above conditions for modified versions, 65 into another language, under the above conditions for modified versions,
70 except that this permission notice may be stated in a translation approved 66 except that this permission notice may be stated in a translation approved
71 by the Free Software Foundation. 67 by the Free Software Foundation.
72 @end titlepage 68 @end titlepage
73 69
74 @paragraphindent 3
75 @ifinfo 70 @ifinfo
76 @node Top, Getting Started, (dir), (dir) 71 @node Top, Getting Started, , (dir)
77 @top Info: An Introduction 72 @top Info: An Introduction
78 73
79 Info is a program for reading documentation, which you are using now. 74 Info is a program for reading documentation, which you are using now.
80 75
81 To learn how to use Info, type the command @kbd{h}. It brings you 76 To learn how to use Info, type the command @kbd{h}. It brings you
82 to a programmed instruction sequence. If at any time you are ready to 77 to a programmed instruction sequence.
83 stop using Info, type @samp{q}.
84 78
85 @c Need to make sure that `Info-help' goes to the right node, 79 @c Need to make sure that `Info-help' goes to the right node,
86 @c which is the first node of the first chapter. (It should.) 80 @c which is the first node of the first chapter. (It should.)
87 @c (Info-find-node "info" 81 @c (Info-find-node "info"
88 @c (if (< (window-height) 23) 82 @c (if (< (window-height) 23)
89 @c "Help-Small-Screen" 83 @c "Help-Small-Screen"
90 @c "Help"))) 84 @c "Help")))
91 85
92 To learn advanced Info commands, type @kbd{n} twice. This brings you to 86 To learn advanced Info commands, type @kbd{n} twice. This brings you to
93 @cite{Info for Experts}, skipping over the `Getting Started' chapter. 87 @cite{Info for Experts}, skipping over the `Getting Started' chapter.
94 @end ifinfo 88 @end ifinfo
95 89
96 @menu 90 @menu
97 * Getting Started:: Getting started using an Info reader. 91 * Getting Started:: Getting started using an Info reader.
98 * Advanced Info:: Advanced commands within Info. 92 * Advanced Info:: Advanced commands within Info.
99 * Create an Info File:: How to make your own Info file. 93 * Create an Info File:: How to make your own Info file.
94 * The Standalone Info Program: (info-stnd.info).
100 @end menu 95 @end menu
101 96
102 @node Getting Started, Advanced Info, Top, Top 97 @node Getting Started, Advanced Info, Top, Top
103 @comment node-name, next, previous, up 98 @comment node-name, next, previous, up
104 @chapter Getting Started 99 @chapter Getting Started
120 There are two ways of looking at the online version of this manual: 115 There are two ways of looking at the online version of this manual:
121 116
122 @enumerate 117 @enumerate
123 @item 118 @item
124 Type @code{info} at your shell's command line. This approach uses a 119 Type @code{info} at your shell's command line. This approach uses a
125 stand-alone program designed just to read Info files. 120 small stand-alone program designed just to read Info files.
126 121
127 @item 122 @item
128 Type @code{emacs} at the command line; then type @kbd{C-h i} (Control 123 Type @code{emacs} at the command line; then type @kbd{C-h i} (Control
129 @kbd{h}, followed by @kbd{i}). This approach uses the Info mode of the 124 @kbd{h}, followed by @kbd{i}). This approach uses the Info mode of the
130 Emacs program, an editor with many other capabilities. 125 Emacs program, an editor with many other capabilities.
142 137
143 @menu 138 @menu
144 * Help-Small-Screen:: Starting Info on a Small Screen 139 * Help-Small-Screen:: Starting Info on a Small Screen
145 * Help:: How to use Info 140 * Help:: How to use Info
146 * Help-P:: Returning to the Previous node 141 * Help-P:: Returning to the Previous node
147 * Help-C-l:: The Space, Rubout, B and C-l commands. 142 * Help-^L:: The Space, Rubout, B and ^L commands.
148 * Help-M:: Menus 143 * Help-M:: Menus
149 * Help-Adv:: Some advanced Info commands 144 * Help-Adv:: Some advanced Info commands
150 * Help-Q:: Quitting Info 145 * Help-Q:: Quitting Info
151 * Using Stand-alone Info:: How to use the stand-alone Info reader.
152 @end menu 146 @end menu
153 147
154 @node Help-Small-Screen, Help, , Getting Started 148 @node Help-Small-Screen, Help, , Getting Started
155 @comment node-name, next, previous, up 149 @comment node-name, next, previous, up
156 @section Starting Info on a Small Screen 150 @section Starting Info on a Small Screen
166 If you see the text @samp{--All----} at near the bottom right corner 160 If you see the text @samp{--All----} at near the bottom right corner
167 of the screen, it means the entire text you are looking at fits on the 161 of the screen, it means the entire text you are looking at fits on the
168 screen. If you see @samp{--Top----} instead, it means that there is 162 screen. If you see @samp{--Top----} instead, it means that there is
169 more text below that does not fit. To move forward through the text 163 more text below that does not fit. To move forward through the text
170 and see another screen full, press the Space bar, @key{SPC}. To move 164 and see another screen full, press the Space bar, @key{SPC}. To move
171 back up, press the key labeled @samp{Delete} or @key{DEL}. 165 back up, press the key labeled @samp{Backspace} or @key{Delete}.
172 166
173 @ifinfo 167 @ifinfo
174 Here are 40 lines of junk, so you can try Spaces and Deletes and 168 Here are 40 lines of junk, so you can try Spaces and Deletes and
175 see what they do. At the end are instructions of what you should do 169 see what they do. At the end are instructions of what you should do
176 next. 170 next.
177 @format 171
178 This is line 17 172 This is line 17 @*
179 This is line 18 173 This is line 18 @*
180 This is line 19 174 This is line 19 @*
181 This is line 20 175 This is line 20 @*
182 This is line 21 176 This is line 21 @*
183 This is line 22 177 This is line 22 @*
184 This is line 23 178 This is line 23 @*
185 This is line 24 179 This is line 24 @*
186 This is line 25 180 This is line 25 @*
187 This is line 26 181 This is line 26 @*
188 This is line 27 182 This is line 27 @*
189 This is line 28 183 This is line 28 @*
190 This is line 29 184 This is line 29 @*
191 This is line 30 185 This is line 30 @*
192 This is line 31 186 This is line 31 @*
193 This is line 32 187 This is line 32 @*
194 This is line 33 188 This is line 33 @*
195 This is line 34 189 This is line 34 @*
196 This is line 35 190 This is line 35 @*
197 This is line 36 191 This is line 36 @*
198 This is line 37 192 This is line 37 @*
199 This is line 38 193 This is line 38 @*
200 This is line 39 194 This is line 39 @*
201 This is line 40 195 This is line 40 @*
202 This is line 41 196 This is line 41 @*
203 This is line 42 197 This is line 42 @*
204 This is line 43 198 This is line 43 @*
205 This is line 44 199 This is line 44 @*
206 This is line 45 200 This is line 45 @*
207 This is line 46 201 This is line 46 @*
208 This is line 47 202 This is line 47 @*
209 This is line 48 203 This is line 48 @*
210 This is line 49 204 This is line 49 @*
211 This is line 50 205 This is line 50 @*
212 This is line 51 206 This is line 51 @*
213 This is line 52 207 This is line 52 @*
214 This is line 53 208 This is line 53 @*
215 This is line 54 209 This is line 54 @*
216 This is line 55 210 This is line 55 @*
217 This is line 56 211 This is line 56 @*
218 @end format 212
219 If you have managed to get here, go back to the beginning with 213 If you have managed to get here, go back to the beginning with
220 Delete, and come back here again, then you understand Space and 214 Delete, and come back here again, then you understand Space and
221 Delete. So now type an @kbd{n} ---just one character; don't type 215 Delete. So now type an @kbd{n} ---just one character; don't type
222 the quotes and don't type the Return key afterward--- to 216 the quotes and don't type the Return key afterward--- to
223 get to the normal start of the course. 217 get to the normal start of the course.
242 Besides a @samp{Next}, a node can have a @samp{Previous} or an @samp{Up}. 236 Besides a @samp{Next}, a node can have a @samp{Previous} or an @samp{Up}.
243 This node has a @samp{Previous} but no @samp{Up}, as you can see. 237 This node has a @samp{Previous} but no @samp{Up}, as you can see.
244 238
245 Now it is time to move on to the @samp{Next} node, named @samp{Help-P}. 239 Now it is time to move on to the @samp{Next} node, named @samp{Help-P}.
246 240
247 @format
248 >> Type @samp{n} to move there. Type just one character; 241 >> Type @samp{n} to move there. Type just one character;
249 do not type the quotes and do not type a @key{RET} afterward. 242 do not type the quotes and do not type a @key{RET} afterward.
250 @end format
251 243
252 @samp{>>} in the margin means it is really time to try a command. 244 @samp{>>} in the margin means it is really time to try a command.
253 245
254 @node Help-P, Help-C-l, Help, Getting Started 246 @node Help-P, Help-^L, Help, Getting Started
255 @comment node-name, next, previous, up 247 @comment node-name, next, previous, up
256 @section Returning to the Previous node 248 @section Returning to the Previous node
257 249
258 This node is called @samp{Help-P}. The @samp{Previous} node, as you see, 250 This node is called @samp{Help-P}. The @samp{Previous} node, as you see,
259 is @samp{Help}, which is the one you just came from using the @kbd{n} 251 is @samp{Help}, which is the one you just came from using the @kbd{n}
260 command. Another @kbd{n} command now would take you to the next 252 command. Another @kbd{n} command now would take you to the next
261 node, @samp{Help-C-l}. 253 node, @samp{Help-^L}.
262 254
263 @format
264 >> But do not do that yet. First, try the @kbd{p} command, which takes 255 >> But do not do that yet. First, try the @kbd{p} command, which takes
265 you to the @samp{Previous} node. When you get there, you can do an 256 you to the @samp{Previous} node. When you get there, you can do an
266 @kbd{n} again to return here. 257 @kbd{n} again to return here.
267 @end format
268 258
269 This all probably seems insultingly simple so far, but @emph{do not} be 259 This all probably seems insultingly simple so far, but @emph{do not} be
270 led into skimming. Things will get more complicated soon. Also, 260 led into skimming. Things will get more complicated soon. Also,
271 do not try a new command until you are told it is time to. Otherwise, 261 do not try a new command until you are told it is time to. Otherwise,
272 you may make Info skip past an important warning that was coming up. 262 you may make Info skip past an important warning that was coming up.
273 263
274 @format 264 >> Now do an @kbd{n} to get to the node @samp{Help-^L} and learn more.
275 >> Now do an @kbd{n} to get to the node @samp{Help-C-l} and learn more. 265
276 @end format 266 @node Help-^L, Help-M, Help-P, Getting Started
277 267 @comment node-name, next, previous, up
278 @node Help-C-l, Help-M, Help-P, Getting Started 268 @section The Space, Delete, B and ^L commands.
279 @comment node-name, next, previous, up 269
280 @section The Space, Delete, B and C-l commands. 270 This node's header tells you that you are now at node @samp{Help-^L}, and
281
282 This node's header tells you that you are now at node @samp{Help-C-l}, and
283 that @kbd{p} would get you back to @samp{Help-P}. The node's title is 271 that @kbd{p} would get you back to @samp{Help-P}. The node's title is
284 underlined; it says what the node is about (most nodes have titles). 272 underlined; it says what the node is about (most nodes have titles).
285 273
286 This is a big node and it does not all fit on your display screen. 274 This is a big node and it does not all fit on your display screen.
287 You can tell that there is more that is not visible because you 275 You can tell that there is more that is not visible because you
292 around'' in a node that does not all fit on the screen at once. 280 around'' in a node that does not all fit on the screen at once.
293 Space moves forward, to show what was below the bottom of the screen. 281 Space moves forward, to show what was below the bottom of the screen.
294 Delete moves backward, to show what was above the top of the screen 282 Delete moves backward, to show what was above the top of the screen
295 (there is not anything above the top until you have typed some spaces). 283 (there is not anything above the top until you have typed some spaces).
296 284
297 @format
298 >> Now try typing a Space (afterward, type a Delete to return here). 285 >> Now try typing a Space (afterward, type a Delete to return here).
299 @end format
300 286
301 When you type the space, the two lines that were at the bottom of 287 When you type the space, the two lines that were at the bottom of
302 the screen appear at the top, followed by more lines. Delete takes 288 the screen appear at the top, followed by more lines. Delete takes
303 the two lines from the top and moves them to the bottom, 289 the two lines from the top and moves them to the bottom,
304 @emph{usually}, but if there are not a full screen's worth of lines 290 @emph{usually}, but if there are not a full screen's worth of lines
310 296
311 If your screen is ever garbaged, you can tell Info to print it out 297 If your screen is ever garbaged, you can tell Info to print it out
312 again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down ``Control'' and 298 again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down ``Control'' and
313 type an @key{L} or @kbd{l}). 299 type an @key{L} or @kbd{l}).
314 300
315 @format
316 >> Type @kbd{C-l} now. 301 >> Type @kbd{C-l} now.
317 @end format
318 302
319 To move back to the beginning of the node you are on, you can type 303 To move back to the beginning of the node you are on, you can type
320 a lot of Deletes. You can also type simply @kbd{b} for beginning. 304 a lot of Deletes. You can also type simply @kbd{b} for beginning.
321 @format
322 >> Try that now. (We have put in enough verbiage to push this past 305 >> Try that now. (We have put in enough verbiage to push this past
323 the first screenful, but screens are so big nowadays that perhaps it 306 the first screenful, but screens are so big nowadays that perhaps it
324 isn't enough. You may need to shrink your Emacs or Info window.) 307 isn't enough. You may need to shrink your Emacs or Info window.)
325 Then come back, with Spaces. 308 Then come back, with Spaces.
326 @end format 309
327 310 If your screen is very tall, all of this node might fit at once.
328 If your screen is very tall, all of this node might fit at once.
329 In that case, "b" won't do anything. Sorry; what can we do? 311 In that case, "b" won't do anything. Sorry; what can we do?
330 312
331 You have just learned a considerable number of commands. If you 313 You have just learned a considerable number of commands. If you
332 want to use one but have trouble remembering which, you should type 314 want to use one but have trouble remembering which, you should type
333 a @key{?} which prints out a brief list of commands. When you are 315 a @key{?} which prints out a brief list of commands. When you are
334 finished looking at the list, make it go away by typing a @key{SPC}. 316 finished looking at the list, make it go away by pressing @key{SPC}
335 317 repeatedly.
336 @format 318
337 >> Type a @key{?} now. After it finishes, type a @key{SPC}. 319 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of
338 @end format 320 >> the list until finished.
339
340 (If you are using the standalone Info reader, type `l' to return here.)
341 321
342 From now on, you will encounter large nodes without warning, and 322 From now on, you will encounter large nodes without warning, and
343 will be expected to know how to use Space and Delete to move 323 will be expected to know how to use Space and Delete to move
344 around in them without being told. Since not all terminals have 324 around in them without being told. Since not all terminals have
345 the same size screen, it would be impossible to warn you anyway. 325 the same size screen, it would be impossible to warn you anyway.
346 326
347 @format
348 >> Now type @kbd{n} to see the description of the @kbd{m} command. 327 >> Now type @kbd{n} to see the description of the @kbd{m} command.
349 @end format 328
350 329 @node Help-M, Help-Adv, Help-^L, Getting Started
351 @node Help-M, Help-Adv, Help-C-l, Getting Started
352 @comment node-name, next, previous, up 330 @comment node-name, next, previous, up
353 @section Menus 331 @section Menus
354 332
355 Menus and the @kbd{m} command 333 Menus and the @kbd{m} command
356 334
398 376
399 @noindent 377 @noindent
400 This means that the subtopic name and node name are the same; they are 378 This means that the subtopic name and node name are the same; they are
401 both @samp{Foo}. 379 both @samp{Foo}.
402 380
403 @format
404 >> Now use Spaces to find the menu in this node, then come back to 381 >> Now use Spaces to find the menu in this node, then come back to
405 the front with a @kbd{b} and some Spaces. As you see, a menu is 382 the front with a @kbd{b} and some Spaces. As you see, a menu is
406 actually visible in its node. If you cannot find a menu in a node 383 actually visible in its node. If you cannot find a menu in a node
407 by looking at it, then the node does not have a menu and the 384 by looking at it, then the node does not have a menu and the
408 @kbd{m} command is not available. 385 @kbd{m} command is not available.
409 @end format
410 386
411 The command to go to one of the subnodes is @kbd{m}---but @emph{do 387 The command to go to one of the subnodes is @kbd{m}---but @emph{do
412 not do it yet!} Before you use @kbd{m}, you must understand the 388 not do it yet!} Before you use @kbd{m}, you must understand the
413 difference between commands and arguments. So far, you have learned 389 difference between commands and arguments. So far, you have learned
414 several commands that do not need arguments. When you type one, Info 390 several commands that do not need arguments. When you type one, Info
451 not need to type the argument: you just type a Return, and it stands for 427 not need to type the argument: you just type a Return, and it stands for
452 the subtopic of the line you are on. 428 the subtopic of the line you are on.
453 429
454 Here is a menu to give you a chance to practice. 430 Here is a menu to give you a chance to practice.
455 431
456 * Menu: The menu starts here. 432 * Menu: The menu starts here.
457 433
458 This menu gives you three ways of going to one place, Help-FOO. 434 This menu gives you three ways of going to one place, Help-FOO.
459 435
460 * Foo: Help-FOO. A node you can visit for fun.@* 436 * Foo: Help-FOO. A node you can visit for fun.@*
461 * Bar: Help-FOO. Strange! two ways to get to the same place.@* 437 * Bar: Help-FOO. Strange! two ways to get to the same place.@*
462 * Help-FOO:: And yet another!@* 438 * Help-FOO:: And yet another!@*
463 439
464 440
465 @format
466 >> Now type just an @kbd{m} and see what happens: 441 >> Now type just an @kbd{m} and see what happens:
467 @end format
468 442
469 Now you are ``inside'' an @kbd{m} command. Commands cannot be used 443 Now you are ``inside'' an @kbd{m} command. Commands cannot be used
470 now; the next thing you will type must be the name of a subtopic. 444 now; the next thing you will type must be the name of a subtopic.
471 445
472 You can change your mind about doing the @kbd{m} by typing Control-g. 446 You can change your mind about doing the @kbd{m} by typing Control-g.
473 447
474 @format
475 >> Try that now; notice the bottom line clear. 448 >> Try that now; notice the bottom line clear.
476 449
477 >> Then type another @kbd{m}. 450 >> Then type another @kbd{m}.
478 451
479 >> Now type @samp{BAR} item name. Do not type Return yet. 452 >> Now type @samp{BAR} item name. Do not type Return yet.
480 @end format
481 453
482 While you are typing the item name, you can use the Delete key to 454 While you are typing the item name, you can use the Delete key to
483 cancel one character at a time if you make a mistake. 455 cancel one character at a time if you make a mistake.
484 456
485 @format
486 >> Type one to cancel the @samp{R}. You could type another @samp{R} to 457 >> Type one to cancel the @samp{R}. You could type another @samp{R} to
487 replace it. You do not have to, since @samp{BA} is a valid abbreviation. 458 replace it. You do not have to, since @samp{BA} is a valid abbreviation.
488 459
489 >> Now you are ready to go. Type a @key{RET}. 460 >> Now you are ready to go. Type a @key{RET}.
490 @end format
491 461
492 After visiting Help-FOO, you should return here. 462 After visiting Help-FOO, you should return here.
493 463
494 @format
495 >> Type @kbd{n} to see more commands. 464 >> Type @kbd{n} to see more commands.
496 @end format
497 465
498 @c If a menu appears at the end of this node, remove it. 466 @c If a menu appears at the end of this node, remove it.
499 @c It is an accident of the menu updating command. 467 @c It is an accident of the menu updating command.
500 468
501 Here is another way to get to Help-FOO, a menu. You can ignore this 469 Here is another way to get to Help-FOO, a menu. You can ignore this
520 You can go back to the node @samp{Help-M} by typing the command 488 You can go back to the node @samp{Help-M} by typing the command
521 @kbd{u} for ``Up''. That puts you at the @emph{front} of the 489 @kbd{u} for ``Up''. That puts you at the @emph{front} of the
522 node---to get back to where you were reading you have to type 490 node---to get back to where you were reading you have to type
523 some @key{SPC}s. 491 some @key{SPC}s.
524 492
525 @format
526 >> Now type @kbd{u} to move back up to @samp{Help-M}. 493 >> Now type @kbd{u} to move back up to @samp{Help-M}.
527 @end format
528 494
529 @node Help-Adv, Help-Q, Help-M, Getting Started 495 @node Help-Adv, Help-Q, Help-M, Getting Started
530 @comment node-name, next, previous, up 496 @comment node-name, next, previous, up
531 @section Some advanced Info commands 497 @section Some advanced Info commands
532 498
542 If you have been following directions, ad @kbd{l} command now will get 508 If you have been following directions, ad @kbd{l} command now will get
543 you back to @samp{Help-M}. Another @kbd{l} command would undo the 509 you back to @samp{Help-M}. Another @kbd{l} command would undo the
544 @kbd{u} and get you back to @samp{Help-FOO}. Another @kbd{l} would undo 510 @kbd{u} and get you back to @samp{Help-FOO}. Another @kbd{l} would undo
545 the @kbd{m} and get you back to @samp{Help-M}. 511 the @kbd{m} and get you back to @samp{Help-M}.
546 512
547 @format
548 >> Try typing three @kbd{l}'s, pausing in between to see what each 513 >> Try typing three @kbd{l}'s, pausing in between to see what each
549 @kbd{l} does. 514 @kbd{l} does.
550 @end format
551 515
552 Then follow directions again and you will end up back here. 516 Then follow directions again and you will end up back here.
553 517
554 Note the difference between @kbd{l} and @kbd{p}: @kbd{l} moves to 518 Note the difference between @kbd{l} and @kbd{p}: @kbd{l} moves to
555 where @emph{you} last were, whereas @kbd{p} always moves to the node 519 where @emph{you} last were, whereas @kbd{p} always moves to the node
559 The @samp{d} command gets you instantly to the Directory node. 523 The @samp{d} command gets you instantly to the Directory node.
560 This node, which is the first one you saw when you entered Info, 524 This node, which is the first one you saw when you entered Info,
561 has a menu which leads (directly, or indirectly through other menus), 525 has a menu which leads (directly, or indirectly through other menus),
562 to all the nodes that exist. 526 to all the nodes that exist.
563 527
564 @format
565 >> Try doing a @samp{d}, then do an @kbd{l} to return here (yes, 528 >> Try doing a @samp{d}, then do an @kbd{l} to return here (yes,
566 @emph{do} return). 529 @emph{do} return).
567 @end format
568 530
569 Sometimes, in Info documentation, you will see a cross reference. 531 Sometimes, in Info documentation, you will see a cross reference.
570 Cross references look like this: @xref{Help-Cross, Cross}. That is a 532 Cross references look like this: @xref{Help-Cross, Cross}. That is a
571 real, live cross reference which is named @samp{Cross} and points at 533 real, live cross reference which is named @samp{Cross} and points at
572 the node named @samp{Help-Cross}. 534 the node named @samp{Help-Cross}.
578 any reference, you can use @kbd{Control-g} to cancel the command. 540 any reference, you can use @kbd{Control-g} to cancel the command.
579 541
580 Completion is available in the @samp{f} command; you can complete among 542 Completion is available in the @samp{f} command; you can complete among
581 all the cross reference names in the current node by typing a Tab. 543 all the cross reference names in the current node by typing a Tab.
582 544
583 @format
584 >> Type @samp{f}, followed by @samp{Cross}, and a @key{RET}. 545 >> Type @samp{f}, followed by @samp{Cross}, and a @key{RET}.
585 @end format
586 546
587 To get a list of all the cross references in the current node, you can 547 To get a list of all the cross references in the current node, you can
588 type @kbd{?} after an @samp{f}. The @samp{f} continues to await a 548 type @kbd{?} after an @samp{f}. The @samp{f} continues to await a
589 cross reference name even after printing the list, so if you don't 549 cross reference name even after printing the list, so if you don't
590 actually want to follow a reference, you should type a @kbd{Control-g} 550 actually want to follow a reference, you should type a @kbd{Control-g}
591 to cancel the @samp{f}. 551 to cancel the @samp{f}.
592 552
593 @format
594 >> Type "f?" to get a list of the cross references in this node. Then 553 >> Type "f?" to get a list of the cross references in this node. Then
595 type a @kbd{Control-g} and see how the @samp{f} gives up. 554 type a @kbd{Control-g} and see how the @samp{f} gives up.
596 555
597 >> Now type @kbd{n} to see the last node of the course. 556 >> Now type @kbd{n} to see the last node of the course.
598 @end format
599 557
600 @c If a menu appears at the end of this node, remove it. 558 @c If a menu appears at the end of this node, remove it.
601 @c It is an accident of the menu updating command. 559 @c It is an accident of the menu updating command.
602 560
603 @node Help-Cross, , , Help-Adv 561 @node Help-Cross, , , Help-Adv
611 someplace else far away in the structure of Info. So you cannot expect 569 someplace else far away in the structure of Info. So you cannot expect
612 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to 570 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to
613 where you came from. In general, the @kbd{l} (el) command is the only 571 where you came from. In general, the @kbd{l} (el) command is the only
614 way to get back there. 572 way to get back there.
615 573
616 @format
617 >> Type @kbd{l} to return to the node where the cross reference was. 574 >> Type @kbd{l} to return to the node where the cross reference was.
618 @end format
619 575
620 @node Help-Q, , Help-Adv, Getting Started 576 @node Help-Q, , Help-Adv, Getting Started
621 @comment node-name, next, previous, up 577 @comment node-name, next, previous, up
622 @section Quitting Info 578 @section Quitting Info
623 579
628 commands that are meant for experienced users; they are useful, and you 584 commands that are meant for experienced users; they are useful, and you
629 can find them by looking in the directory node for documentation on 585 can find them by looking in the directory node for documentation on
630 Info. Finding them will be a good exercise in using Info in the usual 586 Info. Finding them will be a good exercise in using Info in the usual
631 manner. 587 manner.
632 588
633 @format
634 >> Type @samp{d} to go to the Info directory node; then type 589 >> Type @samp{d} to go to the Info directory node; then type
635 @samp{mInfo} and Return, to get to the node about Info and 590 @samp{mInfo} and Return, to get to the node about Info and
636 see what other help is available. 591 see what other help is available.
637 @end format
638 592
639 @node Advanced Info, Create an Info File, Getting Started, Top 593 @node Advanced Info, Create an Info File, Getting Started, Top
640 @comment node-name, next, previous, up 594 @comment node-name, next, previous, up
641 @chapter Info for Experts 595 @chapter Info for Experts
642 596
730 if hyou want to edit an Info file, here is how. 684 if hyou want to edit an Info file, here is how.
731 685
732 The new node can live in an existing documentation file, or in a new 686 The new node can live in an existing documentation file, or in a new
733 one. It must have a @key{^_} character before it (invisible to the 687 one. It must have a @key{^_} character before it (invisible to the
734 user; this node has one but you cannot see it), and it ends with either 688 user; this node has one but you cannot see it), and it ends with either
735 a @key{^_}, a @key{C-l}, or the end of file. Note: If you put in a 689 a @key{^_}, a @key{^L}, or the end of file. Note: If you put in a
736 @key{C-l} to end a new node, be sure that there is a @key{^_} after it 690 @key{^L} to end a new node, be sure that there is a @key{^_} after it
737 to start the next one, since @key{C-l} cannot @emph{start} a node. 691 to start the next one, since @key{^L} cannot @emph{start} a node.
738 Also, a nicer way to make a node boundary be a page boundary as well 692 Also, a nicer way to make a node boundary be a page boundary as well
739 is to put a @key{C-l} @emph{right after} the @key{^_}. 693 is to put a @key{^L} @emph{right after} the @key{^_}.
740 694
741 The @key{^_} starting a node must be followed by a newline or a 695 The @key{^_} starting a node must be followed by a newline or a
742 @key{C-l} newline, after which comes the node's header line. The 696 @key{^L} newline, after which comes the node's header line. The
743 header line must give the node's name (by which Info finds it), 697 header line must give the node's name (by which Info finds it),
744 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if 698 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if
745 there are any). As you can see, this node's @samp{Up} node is the node 699 there are any). As you can see, this node's @samp{Up} node is the node
746 @samp{Top}, which points at all the documentation for Info. The @samp{Next} 700 @samp{Top}, which points at all the documentation for Info. The @samp{Next}
747 node is @samp{Menus}. 701 node is @samp{Menus}.
919 you may wish to set one or several of these variables interactively, or 873 you may wish to set one or several of these variables interactively, or
920 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting 874 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting
921 Variables, Examining and Setting Variables, emacs, The GNU Emacs 875 Variables, Examining and Setting Variables, emacs, The GNU Emacs
922 Manual}. 876 Manual}.
923 877
924 @table @code 878 @vtable @code
925 @item Info-enable-edit 879 @item Info-enable-edit
926 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A 880 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A
927 non-@code{nil} value enables it. @xref{Add, Edit}. 881 non-@code{nil} value enables it. @xref{Add, Edit}.
928 882
929 @item Info-enable-active-nodes 883 @item Info-enable-active-nodes
930 When set to a non-@code{nil} value, allows Info to execute Lisp code 884 When set to a non-@code{nil} value, allows Info to execute Lisp code
931 associated with nodes. The Lisp code is executed when the node is 885 associated with nodes. The Lisp code is executed when the node is
932 selected. 886 selected.
933 887
934 @item Info-directory-list 888 @item Info-directory-list
935 The list of directories to search for Info files. This variable is set 889 The list of directories to search for Info files. Each element is a
936 on startup automatically either from the @code{INFOPATH} environment 890 string (directory name) or @code{nil} (try default directory).
937 variable (if it exists) or, else, @code{Info-default-directory-list}. 891
938 Any user settings of this variable will be ignored. 892 @item Info-directory
939 893 The standard directory for Info documentation files. Only used when the
940 @item Info-default-directory-list 894 function @code{Info-directory} is called.
941 List of default directories to search for Info documentation files. 895 @end vtable
942 This value is used as the default for @code{Info-directory-list} in the
943 absence of a setting for the @code{INFOPATH} environment variable.
944 @end table
945 896
946 @node Create an Info File, , Advanced Info, Top 897 @node Create an Info File, , Advanced Info, Top
947 @comment node-name, next, previous, up 898 @comment node-name, next, previous, up
948 @chapter Creating an Info File from a Makeinfo file 899 @chapter Creating an Info File from a Makeinfo file
949 900
955 Manual}, to learn how to create an Info file from a Texinfo file. 906 Manual}, to learn how to create an Info file from a Texinfo file.
956 907
957 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation 908 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation
958 Format}, to learn how to write a Texinfo file. 909 Format}, to learn how to write a Texinfo file.
959 910
960 @nwnode Using Stand-alone Info, Options, , Top
961 @chapter Using the Stand-alone Info Reader
962 @lowersections
963 @c Make the paragraph indentation match the rest of this file.
964 @paragraphindent 2
965 @include info-stnd.texi
966 @raisesections
967 @bye 911 @bye