annotate man/info-stnd.texi @ 129:e292c9648bb9 xemacs-20-1p3

Import from CVS: tag xemacs-20-1p3
author cvs
date Mon, 13 Aug 2007 09:28:38 +0200
parents 131b0175ea99
children 2d532a89d707
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1 @c This file is meant to be included in any arbitrary piece of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
2 @c documentation that wishes to describe the info program.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
3 @c
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
4 @c This file documents the use of the standalone GNU Info program,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
5 @c versions 2.7 and later. It was authored by Brian Fox (bfox@ai.mit.edu).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
7 @ifclear InfoProgVer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
8 @set InfoProgVer 2.10
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
9 @end ifclear
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 @synindex vr cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @synindex fn cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 @synindex ky cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
14 @heading What is Info?
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
16 This text documents the use of the GNU Info program, version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
17 @value{InfoProgVer}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
19 @dfn{Info} is a program which is used to view info files on an ASCII
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
20 terminal. @dfn{info files} are the result of processing texinfo files
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
21 with the program @code{makeinfo} or with the Emacs command @code{M-x
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
22 texinfo-format-buffer}. Finally, @dfn{texinfo} is a documentation
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
23 language which allows a printed manual and online documentation (an info
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
24 file) to be produced from a single source file.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 @menu
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
27 * Options:: Options you can pass on the command line.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
28 * Cursor Commands:: Commands which move the cursor within a node.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
29 * Scrolling Commands:: Commands for moving the node around in a window.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
30 * Node Commands:: Commands for selecting a new node.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
31 * Searching Commands:: Commands for searching an info file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
32 * Xref Commands:: Commands for selecting cross references.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
33 * Window Commands:: Commands which manipulate multiple windows.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
34 * Printing Nodes:: How to print out the contents of a node.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
35 * Miscellaneous Commands:: A few commands that defy categories.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
36 * Variables:: How to change the default behaviour of Info.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
37 @ifset NOTSET
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
38 * Info for Sys Admins:: How to setup Info. Using special options.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
39 @end ifset
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
40 @ifset STANDALONE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
41 * GNU Info Global Index:: Global index containing keystrokes, command names,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
42 variable names, and general concepts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
43 @end ifset
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
46 @node Options
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @chapter Command Line Options
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 @cindex command line options
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 @cindex arguments, command line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 GNU Info accepts several options to control the initial node being
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
52 viewed, and to specify which directories to search for info files. Here
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 is a template showing an invocation of GNU Info from the shell:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 info [--@var{option-name} @var{option-value}] @var{menu-item}@dots{}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 The following @var{option-names} are available when invoking Info from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 the shell:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @cindex directory path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @item --directory @var{directory-path}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @itemx -d @var{directory-path}
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
66 Adds @var{directory-path} to the list of directory paths searched when
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 Info needs to find a file. You may issue @code{--directory} multiple
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
68 times; once for each directory which contains info files.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 Alternatively, you may specify a value for the environment variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 @code{INFOPATH}; if @code{--directory} is not given, the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 @code{INFOPATH} is used. The value of @code{INFOPATH} is a colon
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
72 separated list of directory names. If you do not supply
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
73 @code{INFOPATH} or @code{--directory-path} a default path is used.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 @item --file @var{filename}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 @itemx -f @var{filename}
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
77 @cindex info file, selecting
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
78 Specifies a particular info file to visit. Instead of visiting the file
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
79 @code{dir}, Info will start with @code{(@var{filename})Top} as the first
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
80 file and node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 @item --node @var{nodename}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 @itemx -n @var{nodename}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 @cindex node, selecting
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
85 Specifies a particular node to visit in the initial file loaded. This
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
86 is especially useful in conjunction with @code{--file}@footnote{Of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
87 course, you can specify both the file and node in a @code{--node}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
88 command; but don't forget to escape the open and close parentheses from
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
89 the shell as in: @code{info --node '(emacs)Buffers'}}. You may specify
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
90 @code{--node} multiple times; for an interactive Info, each
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
91 @var{nodename} is visited in its own window, for a non-interactive Info
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
92 (such as when @code{--output} is given) each @var{nodename} is processed
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
93 sequentially.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 @item --output @var{filename}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @itemx -o @var{filename}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 @cindex file, outputting to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 @cindex outputting to a file
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
99 Specify @var{filename} as the name of a file to output to. Each node
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
100 that Info visits will be output to @var{filename} instead of
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 interactively viewed. A value of @code{-} for @var{filename} specifies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 the standard output.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 @item --subnodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 @cindex @code{--subnodes}, command line option
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 This option only has meaning when given in conjunction with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 @code{--output}. It means to recursively output the nodes appearing in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 the menus of each node being output. Menu items which resolve to
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
109 external info files are not output, and neither are menu items which are
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 members of an index. Each node is only output once.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @item --help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @itemx -h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 Produces a relatively brief description of the available Info options.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 @item --version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 @cindex version information
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 Prints the version information of Info and exits.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 @item @var{menu-item}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 @cindex menu, following
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
122 Remaining arguments to Info are treated as the names of menu items. The
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
123 first argument would be a menu item in the initial node visited, while
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
124 the second argument would be a menu item in the first argument's node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 You can easily move to the node of your choice by specifying the menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 names which describe the path to that node. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 info emacs buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 first selects the menu item @samp{Emacs} in the node @samp{(dir)Top},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 and then selects the menu item @samp{Buffers} in the node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 @samp{(emacs)Top}.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
135
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
138 @node Cursor Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 @chapter Moving the Cursor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 @cindex cursor, moving
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 Many people find that reading screens of text page by page is made
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 easier when one is able to indicate particular pieces of text with some
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 kind of pointing device. Since this is the case, GNU Info (both the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 Emacs and standalone versions) have several commands which allow you to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 move the cursor about the screen. The notation used in this manual to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 describe keystrokes is identical to the notation used within the Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 manual, and the GNU Readline manual. @xref{Characters, , Character
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
148 Conventions, emacs, the GNU Emacs Manual}, if you are unfamilar with the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 notation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 The following table lists the basic cursor movement commands in Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 Each entry consists of the key sequence you should type to execute the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 cursor movement, the @code{M-x}@footnote{@code{M-x} is also a command; it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 invokes @code{execute-extended-command}. @xref{M-x, , Executing an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 extended command, emacs, the GNU Emacs Manual}, for more detailed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 information.} command name (displayed in parentheses), and a short
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 description of what the command does. All of the cursor motion commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 can take an @dfn{numeric} argument (@pxref{Miscellaneous Commands,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 @code{universal-argument}}), to find out how to supply them. With a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 numeric argument, the motion commands are simply executed that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 many times; for example, a numeric argument of 4 given to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 @code{next-line} causes the cursor to move down 4 lines. With a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 negative numeric argument, the motion is reversed; an argument of -4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 given to the @code{next-line} command would cause the cursor to move
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 @emph{up} 4 lines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 @item @code{C-n} (@code{next-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 @kindex C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 @findex next-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
171 Moves the cursor down to the next line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 @item @code{C-p} (@code{prev-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 @kindex C-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 @findex prev-line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 Move the cursor up to the previous line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 @item @code{C-a} (@code{beginning-of-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 @kindex C-a, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 @findex beginning-of-line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 Move the cursor to the start of the current line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 @item @code{C-e} (@code{end-of-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 @kindex C-e, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 @findex end-of-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
186 Moves the cursor to the end of the current line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 @item @code{C-f} (@code{forward-char})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 @kindex C-f, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 @findex forward-char
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 Move the cursor forward a character.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 @item @code{C-b} (@code{backward-char})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @kindex C-b, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 @findex backward-char
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 Move the cursor backward a character.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 @item @code{M-f} (@code{forward-word})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 @kindex M-f, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 @findex forward-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
201 Moves the cursor forward a word.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 @item @code{M-b} (@code{backward-word})
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
204 @kindex M-b, in Info winows
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 @findex backward-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
206 Moves the cursor backward a word.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 @item @code{M-<} (@code{beginning-of-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 @itemx @code{b}
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
210 @kindex b, in Info winows
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 @kindex M-<
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 @findex beginning-of-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
213 Moves the cursor to the start of the current node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 @item @code{M->} (@code{end-of-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 @kindex M->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 @findex end-of-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
218 Moves the cursor to the end of the current node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 @item @code{M-r} (@code{move-to-window-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 @kindex M-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 @findex move-to-window-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
223 Moves the cursor to a specific line of the window. Without a numeric
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 argument, @code{M-r} moves the cursor to the start of the line in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 center of the window. With a numeric argument of @var{n}, @code{M-r}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 moves the cursor to the start of the @var{n}th line in the window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
229 @node Scrolling Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 @chapter Moving Text Within a Window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 @cindex scrolling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 Sometimes you are looking at a screenful of text, and only part of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 current paragraph you are reading is visible on the screen. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 commands detailed in this section are used to shift which part of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 current node is visible on the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 @item @code{SPC} (@code{scroll-forward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 @itemx @code{C-v}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 @kindex SPC, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 @kindex C-v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 @findex scroll-forward
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Shift the text in this window up. That is, show more of the node which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 is currently below the bottom of the window. With a numeric argument,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 show that many more lines at the bottom of the window; a numeric
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 argument of 4 would shift all of the text in the window up 4 lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 (discarding the top 4 lines), and show you four new lines at the bottom
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 of the window. Without a numeric argument, @key{SPC} takes the bottom
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 two lines of the window and places them at the top of the window,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 redisplaying almost a completely new screenful of lines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 @item @code{DEL} (@code{scroll-backward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 @itemx @code{M-v}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 @kindex DEL, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 @kindex M-v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 @findex scroll-backward
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 Shift the text in this window down. The inverse of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 @code{scroll-forward}.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
260
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 @cindex scrolling through node structure
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 The @code{scroll-forward} and @code{scroll-backward} commands can also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 move forward and backward through the node structure of the file. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 you press @key{SPC} while viewing the end of a node, or @key{DEL} while
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 viewing the beginning of a node, what happens is controlled by the
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
268 variable @code{scroll-behaviour}. @xref{Variables,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
269 @code{scroll-behaviour}}, for more information.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 @item @code{C-l} (@code{redraw-display})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 @kindex C-l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 @findex redraw-display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 Redraw the display from scratch, or shift the line containing the cursor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 to a specified location. With no numeric argument, @samp{C-l} clears
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 the screen, and then redraws its entire contents. Given a numeric
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 argument of @var{n}, the line containing the cursor is shifted so that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 it is on the @var{n}th line of the window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 @item @code{C-x w} (@code{toggle-wrap})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 @kindex C-w
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 @findex toggle-wrap
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 Toggles the state of line wrapping in the current window. Normally,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 lines which are longer than the screen width @dfn{wrap}, i.e., they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 continued on the next line. Lines which wrap have a @samp{\} appearing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 in the rightmost column of the screen. You can cause such lines to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 terminated at the rightmost column by changing the state of line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 wrapping in the window with @code{C-x w}. When a line which needs more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 space than one screen width to display is displayed, a @samp{$} appears
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 in the rightmost column of the screen, and the remainder of the line is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 invisible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
295 @node Node Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 @chapter Selecting a New Node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 @cindex nodes, selection of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 This section details the numerous Info commands which select a new node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 to view in the current window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 The most basic node commands are @samp{n}, @samp{p}, @samp{u}, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 @samp{l}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 When you are viewing a node, the top line of the node contains some Info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 @dfn{pointers} which describe where the next, previous, and up nodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 are. Info uses this line to move about the node structure of the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 when you use the following commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 @item @code{n} (@code{next-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 @kindex n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 @findex next-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
314 Selects the `Next' node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 @item @code{p} (@code{prev-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 @kindex p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 @findex prev-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
319 Selects the `Prev' node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 @item @code{u} (@code{up-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 @kindex u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 @findex up-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
324 Selects the `Up' node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 You can easily select a node that you have already viewed in this window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 by using the @samp{l} command -- this name stands for "last", and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 actually moves through the list of already visited nodes for this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 window. @samp{l} with a negative numeric argument moves forward through
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 the history of nodes for this window, so you can quickly step between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 two adjacent (in viewing history) nodes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 @item @code{l} (@code{history-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 @kindex l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 @findex history-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
338 Selects the most recently selected node in this window.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 Two additional commands make it easy to select the most commonly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 selected nodes; they are @samp{t} and @samp{d}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 @item @code{t} (@code{top-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 @kindex t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 @findex top-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
348 Selects the node @samp{Top} in the current info file.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 @item @code{d} (@code{dir-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 @kindex d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 @findex dir-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
353 Selects the directory node (i.e., the node @samp{(dir)}).
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 Here are some other commands which immediately result in the selection
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 of a different node in the current window:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 @item @code{<} (@code{first-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 @kindex <
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 @findex first-node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 Selects the first node which appears in this file. This node is most
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
364 often @samp{Top}, but it doesn't have to be.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 @item @code{>} (@code{last-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 @kindex >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 @findex last-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
369 Selects the last node which appears in this file.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 @item @code{]} (@code{global-next-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 @kindex ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 @findex global-next-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
374 Moves forward or down through node structure. If the node that you are
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 currently viewing has a @samp{Next} pointer, that node is selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 Otherwise, if this node has a menu, the first menu item is selected. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 there is no @samp{Next} and no menu, the same process is tried with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 @samp{Up} node of this node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 @item @code{[} (@code{global-prev-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 @kindex [
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 @findex global-prev-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
383 Moves backward or up through node structure. If the node that you are
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 currently viewing has a @samp{Prev} pointer, that node is selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 Otherwise, if the node has an @samp{Up} pointer, that node is selected,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 and if it has a menu, the last item in the menu is selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
389 You can get the same behaviour as @code{global-next-node} and
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 @code{global-prev-node} while simply scrolling through the file with
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
391 @key{SPC} and @key{DEL}; @xref{Variables, @code{scroll-behaviour}}, for
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 more information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 @item @code{g} (@code{goto-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 @kindex g
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 @findex goto-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
398 Reads the name of a node and selects it. No completion is done while
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 reading the node name, since the desired node may reside in a separate
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
400 file. The node must be typed exactly as it appears in the info file. A
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 file name may be included as with any node specification, for example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 @code{g(emacs)Buffers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
407 finds the node @samp{Buffers} in the info file @file{emacs}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 @item @code{C-x k} (@code{kill-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 @kindex C-x k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 @findex kill-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
412 Kills a node. The node name is prompted for in the echo area, with a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 default of the current node. @dfn{Killing} a node means that Info tries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 hard to forget about it, removing it from the list of history nodes kept
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 for the window where that node is found. Another node is selected in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 the window which contained the killed node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 @item @code{C-x C-f} (@code{view-file})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 @kindex C-x C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 @findex view-file
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
421 Reads the name of a file and selects the entire file. The command
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 @code{C-x C-f @var{filename}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 is equivalent to typing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 @code{g(@var{filename})*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 @item @code{C-x C-b} (@code{list-visited-nodes})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 @kindex C-x C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 @findex list-visited-nodes
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
433 Makes a window containing a menu of all of the currently visited nodes.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 This window becomes the selected window, and you may use the standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 Info commands within it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 @item @code{C-x b} (@code{select-visited-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 @kindex C-x b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 @findex select-visited-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
440 Selects a node which has been previously visited in a visible window.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 This is similar to @samp{C-x C-b} followed by @samp{m}, but no window is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
445 @node Searching Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 @chapter Searching an Info File
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 @cindex searching
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 GNU Info allows you to search for a sequence of characters throughout an
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
450 entire info file, search through the indices of an info file, or find
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
451 areas within an info file which discuss a particular topic.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 @item @code{s} (@code{search})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 @kindex s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 @findex search
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
457 Reads a string in the echo area and searches for it.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 @item @code{C-s} (@code{isearch-forward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 @kindex C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 @findex isearch-forward
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
462 Interactively searches forward through the info file for a string as you
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 type it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 @item @code{C-r} (@code{isearch-backward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 @kindex C-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 @findex isearch-backward
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
468 Interactively searches backward through the info file for a string as
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 you type it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 @item @code{i} (@code{index-search})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 @kindex i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 @findex index-search
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
474 Looks up a string in the indices for this info file, and selects a node
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 where the found index entry points to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 @item @code{,} (@code{next-index-match})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 @kindex ,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 @findex next-index-match
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
480 Moves to the node containing the next matching index item from the last
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 @samp{i} command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 The most basic searching command is @samp{s} (@code{search}). The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 @samp{s} command prompts you for a string in the echo area, and then
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
486 searches the remainder of the info file for an ocurrence of that string.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 If the string is found, the node containing it is selected, and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 cursor is left positioned at the start of the found string. Subsequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 @samp{s} commands show you the default search string within @samp{[} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 @samp{]}; pressing @key{RET} instead of typing a new string will use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 default search string.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 @dfn{Incremental searching} is similar to basic searching, but the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 string is looked up while you are typing it, instead of waiting until
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 the entire search string has been specified.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
497 @node Xref Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 @chapter Selecting Cross References
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 We have already discussed the @samp{Next}, @samp{Prev}, and @samp{Up}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 pointers which appear at the top of a node. In addition to these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 pointers, a node may contain other pointers which refer you to a
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
503 different node, perhaps in another info file. Such pointers are called
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 @dfn{cross references}, or @dfn{xrefs} for short.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 @menu
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
507 * Parts of an Xref:: What a cross reference is made of.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
508 * Selecting Xrefs:: Commands for selecting menu or note items.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
511 @node Parts of an Xref
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 @section Parts of an Xref
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 Cross references have two major parts: the first part is called the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 @dfn{label}; it is the name that you can use to refer to the cross
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 reference, and the second is the @dfn{target}; it is the full name of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 the node that the cross reference points to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 The target is separated from the label by a colon @samp{:}; first the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 label appears, and then the target. For example, in the sample menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 cross reference below, the single colon separates the label from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 target.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 @example
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
525 * Foo Label: Foo Target. More information about Foo.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 Note the @samp{.} which ends the name of the target. The @samp{.} is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 not part of the target; it serves only to let Info know where the target
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 name ends.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 A shorthand way of specifying references allows two adjacent colons to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 stand for a target name which is the same as the label name:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 @example
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
536 * Foo Commands:: Commands pertaining to Foo.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 In the above example, the name of the target is the same as the name of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 the label, in this case @code{Foo Commands}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
542 You will normally see two types of cross references while viewing nodes:
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 @dfn{menu} references, and @dfn{note} references. Menu references
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 appear within a node's menu; they begin with a @samp{*} at the beginning
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 of a line, and continue with a label, a target, and a comment which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 describes what the contents of the node pointed to contains.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 Note references appear within the body of the node text; they begin with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 @code{*Note}, and continue with a label and a target.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
551 Like @samp{Next}, @samp{Prev} and @samp{Up} pointers, cross references
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 can point to any valid node. They are used to refer you to a place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 where more detailed information can be found on a particular subject.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 Here is a cross reference which points to a node within the Texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 documentation: @xref{xref, , Writing an Xref, texinfo, the Texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 Manual}, for more information on creating your own texinfo cross
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 references.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
559 @node Selecting Xrefs
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 @section Selecting Xrefs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 The following table lists the Info commands which operate on menu items.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 @item @code{1} (@code{menu-digit})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 @itemx @code{2} @dots{} @code{9}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 @cindex 1 @dots{} 9, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 @kindex 1 @dots{} 9, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 @findex menu-digit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 Within an Info window, pressing a single digit, (such as @samp{1}),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 selects that menu item, and places its node in the current window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 For convenience, there is one exception; pressing @samp{0} selects the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 @emph{last} item in the node's menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 @item @code{0} (@code{last-menu-item})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 @kindex 0, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 @findex last-menu-item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 Select the last item in the current node's menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 @item @code{m} (@code{menu-item})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 @kindex m
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 @findex menu-item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 Reads the name of a menu item in the echo area and selects its node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 Completion is available while reading the menu label.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 @item @code{M-x find-menu}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 @findex find-menu
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
588 Moves the cursor to the start of this node's menu.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 This table lists the Info commands which operate on note cross references.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 @item @code{f} (@code{xref-item})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 @itemx @code{r}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 @kindex f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 @kindex r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 @findex xref-item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 Reads the name of a note cross reference in the echo area and selects
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 its node. Completion is available while reading the cross reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 label.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 Finally, the next few commands operate on menu or note references alike:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 @item @code{TAB} (@code{move-to-next-xref})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 @kindex TAB, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 @findex move-to-next-xref
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
610 Moves the cursor to the start of the next nearest menu item or note
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 reference in this node. You can then use @key{RET}
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
612 (@code{select-reference-this-line} to select the menu or note reference.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 @item @code{M-TAB} (@code{move-to-prev-xref})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 @kindex M-TAB, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 @findex move-to-prev-xref
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
617 Moves the cursor the start of the nearest previous menu item or note
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 reference in this node.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 @item @code{RET} (@code{select-reference-this-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 @kindex RET, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 @findex select-reference-this-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
623 Selects the menu item or note reference appearing on this line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
626 @node Window Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 @chapter Manipulating Multiple Windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 @cindex windows, manipulating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 A @dfn{window} is a place to show the text of a node. Windows have a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 view area where the text of the node is displayed, and an associated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 @dfn{mode line}, which briefly describes the node being viewed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 GNU Info supports multiple windows appearing in a single screen; each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 window is separated from the next by its modeline. At any time, there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 is only one @dfn{active} window, that is, the window in which the cursor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 appears. There are commands available for creating windows, changing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 the size of windows, selecting which window is active, and for deleting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 windows.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 @menu
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
642 * The Mode Line:: What appears in the mode line?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
643 * Basic Windows:: Manipulating windows in Info.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
644 * The Echo Area:: Used for displaying errors and reading input.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
647 @node The Mode Line
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 @section The Mode Line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 A @dfn{mode line} is a line of inverse video which appears at the bottom
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
651 of an info window. It describes the contents of the window just above
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 it; this information includes the name of the file and node appearing in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 that window, the number of screen lines it takes to display the node,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 and the percentage of text that is above the top of the window. It can
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
655 also tell you if the indirect tags table for this info file needs to be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
656 updated, and whether or not the info file was compressed when stored on
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 disk.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 Here is a sample mode line for a window containing an uncompressed file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 named @file{dir}, showing the node @samp{Top}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 -----Info: (dir)Top, 40 lines --Top---------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 ^^ ^ ^^^ ^^
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 (file)Node #lines where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 When a node comes from a file which is compressed on disk, this is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 indicated in the mode line with two small @samp{z}'s. In addition, if
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
670 the info file containing the node has been split into subfiles, the name
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 of the subfile containing the node appears in the modeline as well:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 --zz-Info: (emacs)Top, 291 lines --Top-- Subfile: emacs-1.Z---------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 When Info makes a node internally, such that there is no corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 info file on disk, the name of the node is surrounded by asterisks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 (@samp{*}). The name itself tells you what the contents of the window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 are; the sample mode line below shows an internally constructed node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 showing possible completions:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 -----Info: *Completions*, 7 lines --All-----------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
687 @node Basic Windows
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 @section Window Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 It can be convenient to view more than one node at a time. To allow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 this, Info can display more than one @dfn{window}. Each window has its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 own mode line (@pxref{The Mode Line}) and history of nodes viewed in that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 window (@pxref{Node Commands, , @code{history-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 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 @item @code{C-x o} (@code{next-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 @cindex windows, selecting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 @kindex C-x o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 @findex next-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
700 Selects the next window on the screen. Note that the echo area can only be
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 selected if it is already in use, and you have left it temporarily.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 Normally, @samp{C-x o} simply moves the cursor into the next window on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 the screen, or if you are already within the last window, into the first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 window on the screen. Given a numeric argument, @samp{C-x o} moves over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 that many windows. A negative argument causes @samp{C-x o} to select
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 the previous window on the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 @item @code{M-x prev-window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 @findex prev-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
710 Selects the previous window on the screen. This is identical to
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 @samp{C-x o} with a negative argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 @item @code{C-x 2} (@code{split-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 @cindex windows, creating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 @kindex C-x 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 @findex split-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
717 Splits the current window into two windows, both showing the same node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 Each window is one half the size of the original window, and the cursor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 remains in the original window. The variable @code{automatic-tiling}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 can cause all of the windows on the screen to be resized for you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 automatically, please @pxref{Variables, , automatic-tiling} for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 @item @code{C-x 0} (@code{delete-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 @cindex windows, deleting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 @kindex C-x 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 @findex delete-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
728 Deletes the current window from the screen. If you have made too many
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 windows and your screen appears cluttered, this is the way to get rid of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 some of them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 @item @code{C-x 1} (@code{keep-one-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 @kindex C-x 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 @findex keep-one-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
735 Deletes all of the windows excepting the current one.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 @item @code{ESC C-v} (@code{scroll-other-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 @kindex ESC C-v, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 @findex scroll-other-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
740 Scrolls the other window, in the same fashion that @samp{C-v} might
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
741 scroll the current window. Given a negative argument, the "other"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
742 window is scrolled backward.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 @item @code{C-x ^} (@code{grow-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 @kindex C-x ^
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 @findex grow-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
747 Grows (or shrinks) the current window. Given a numeric argument, grows
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 the current window that many lines; with a negative numeric argument,
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
749 the window is shrunk instead.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 @item @code{C-x t} (@code{tile-windows})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 @cindex tiling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 @kindex C-x t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 @findex tile-windows
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
755 Divides the available screen space among all of the visible windows.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 Each window is given an equal portion of the screen in which to display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 its contents. The variable @code{automatic-tiling} can cause
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 @code{tile-windows} to be called when a window is created or deleted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 @xref{Variables, , @code{automatic-tiling}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
762 @node The Echo Area
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 @section The Echo Area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 @cindex echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 The @dfn{echo area} is a one line window which appears at the bottom of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 the screen. It is used to display informative or error messages, and to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 read lines of input from you when that is necessary. Almost all of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 commands available in the echo area are identical to their Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 counterparts, so please refer to that documentation for greater depth of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 discussion on the concepts of editing a line of text. The following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 table briefly lists the commands that are available while input is being
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 read in the echo area:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 @item @code{C-f} (@code{echo-area-forward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 @kindex C-f, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 @findex echo-area-forward
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
779 Moves forward a character.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 @item @code{C-b} (@code{echo-area-backward})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 @kindex C-b, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 @findex echo-area-backward
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
784 Moves backward a character.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 @item @code{C-a} (@code{echo-area-beg-of-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 @kindex C-a, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 @findex echo-area-beg-of-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
789 Moves to the start of the input line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 @item @code{C-e} (@code{echo-area-end-of-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 @kindex C-e, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 @findex echo-area-end-of-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
794 Moves to the end of the input line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 @item @code{M-f} (@code{echo-area-forward-word})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 @kindex M-f, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 @findex echo-area-forward-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
799 Moves forward a word.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 @item @code{M-b} (@code{echo-area-backward-word})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 @kindex M-b, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 @findex echo-area-backward-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
804 Moves backward a word.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 @item @code{C-d} (@code{echo-area-delete})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 @kindex C-d, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 @findex echo-area-delete
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
809 Deletes the character under the cursor.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 @item @code{DEL} (@code{echo-area-rubout})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 @kindex DEL, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 @findex echo-area-rubout
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
814 Deletes the character behind the cursor.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 @item @code{C-g} (@code{echo-area-abort})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 @kindex C-g, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 @findex echo-area-abort
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
819 Cancels or quits the current operation. If completion is being read,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 @samp{C-g} discards the text of the input line which does not match any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 completion. If the input line is empty, @samp{C-g} aborts the calling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 function.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 @item @code{RET} (@code{echo-area-newline})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 @kindex RET, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 @findex echo-area-newline
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
827 Accepts (or forces completion of) the current input line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 @item @code{C-q} (@code{echo-area-quoted-insert})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 @kindex C-q, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 @findex echo-area-quoted-insert
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
832 Inserts the next character verbatim. This is how you can insert control
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 characters into a search string, for example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 @item @var{printing character} (@code{echo-area-insert})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 @kindex printing characters, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 @findex echo-area-insert
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
838 Inserts the character.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 @item @code{M-TAB} (@code{echo-area-tab-insert})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 @kindex M-TAB, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 @findex echo-area-tab-insert
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
843 Inserts a TAB character.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 @item @code{C-t} (@code{echo-area-transpose-chars})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 @kindex C-t, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 @findex echo-area-transpose-chars
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
848 Transposes the characters at the cursor.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 The next group of commands deal with @dfn{killing}, and @dfn{yanking}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 text. For an in depth discussion of killing and yanking,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 @pxref{Killing, , Killing and Deleting, emacs, the GNU Emacs Manual}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856 @item @code{M-d} (@code{echo-area-kill-word})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 @kindex M-d, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 @findex echo-area-kill-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
859 Kills the word following the cursor.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 @item @code{M-DEL} (@code{echo-area-backward-kill-word})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 @kindex M-DEL, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 @findex echo-area-backward-kill-word
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
864 Kills the word preceding the cursor.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 @item @code{C-k} (@code{echo-area-kill-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 @kindex C-k, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 @findex echo-area-kill-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
869 Kills the text from the cursor to the end of the line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 @item @code{C-x DEL} (@code{echo-area-backward-kill-line})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 @kindex C-x DEL, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 @findex echo-area-backward-kill-line
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
874 Kills the text from the cursor to the beginning of the line.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 @item @code{C-y} (@code{echo-area-yank})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 @kindex C-y, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 @findex echo-area-yank
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
879 Yanks back the contents of the last kill.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 @item @code{M-y} (@code{echo-area-yank-pop})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 @kindex M-y, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 @findex echo-area-yank-pop
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
884 Yanks back a previous kill, removing the last yanked text first.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 Sometimes when reading input in the echo area, the command that needed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 input will only accept one of a list of several choices. The choices
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 represent the @dfn{possible completions}, and you must respond with one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 of them. Since there are a limited number of responses you can make,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 Info allows you to abbreviate what you type, only typing as much of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 response as is necessary to uniquely identify it. In addition, you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 request Info to fill in as much of the response as is possible; this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 is called @dfn{completion}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 The following commands are available when completing in the echo area:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 @item @code{TAB} (@code{echo-area-complete})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 @itemx @code{SPC}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 @kindex TAB, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902 @kindex SPC, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 @findex echo-area-complete
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
904 Inserts as much of a completion as is possible.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 @item @code{?} (@code{echo-area-possible-completions})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 @kindex ?, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 @findex echo-area-possible-completions
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
909 Displays a window containing a list of the possible completions of what
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 you have typed so far. For example, if the available choices are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 bar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 foliate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914 food
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 forget
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 and you have typed an @samp{f}, followed by @samp{?}, the possible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 completions would contain:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 foliate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921 food
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 forget
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 i.e., all of the choices which begin with @samp{f}. Pressing @key{SPC}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 or @key{TAB} would result in @samp{fo} appearing in the echo area, since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926 all of the choices which begin with @samp{f} continue with @samp{o}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 Now, typing @samp{l} followed by @samp{TAB} results in @samp{foliate}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 appearing in the echo area, since that is the only choice which begins
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929 with @samp{fol}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
931 @item @code{ESC C-v} (@code{echo-area-scroll-completions-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 @kindex ESC C-v, in the echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
933 @findex echo-area-scroll-completions-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
934 Scrolls the completions window, if that is visible, or the "other"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 window if not.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
938 @node Printing Nodes
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939 @chapter Printing Out Nodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 @cindex printing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942 You may wish to print out the contents of a node as a quick reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 document for later use. Info provides you with a command for doing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 this. In general, we recommend that you use @TeX{} to format the
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
945 document and print sections of it, by running @code{tex} on the texinfo
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 source file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 @item @code{M-x print-node}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 @findex print-node
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 @cindex INFO_PRINT_COMMAND, environment variable
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
952 Pipes the contents of the current node through the command in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
953 environment variable @code{INFO_PRINT_COMMAND}. If the variable doesn't
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 exist, the node is simply piped to @code{lpr}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
957 @node Miscellaneous Commands
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 @chapter Miscellaneous Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 GNU Info contains several commands which self-document GNU Info:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 @item @code{M-x describe-command}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 @cindex functions, describing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 @cindex commands, describing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 @findex describe-command
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
967 Reads the name of an Info command in the echo area and then displays a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 brief description of what that command does.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970 @item @code{M-x describe-key}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 @cindex keys, describing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 @findex describe-key
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
973 Reads a key sequence in the echo area, and then displays the name and
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 documentation of the Info command that the key sequence invokes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 @item @code{M-x describe-variable}
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
977 Reads the name of a variable in the echo area and then displays a brief
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978 description of what the variable affects.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980 @item @code{M-x where-is}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981 @findex where-is
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
982 Reads the name of an Info command in the echo area, and then displays
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 a key sequence which can be typed in order to invoke that command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 @item @code{C-h} (@code{get-help-window})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 @itemx @code{?}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 @kindex C-h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 @kindex ?, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989 @findex get-help-window
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
990 Creates (or moves into) the window displaying @code{*Help*}, and places
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 a node containing a quick reference card into it. This window displays
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 the most concise information about GNU Info available.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 @item @code{h} (@code{get-info-help-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 @kindex h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 @findex get-info-help-node
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
997 Tries hard to visit the node @code{(info)Help}. The info file
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 @file{info.texi} distributed with GNU Info contains this node. Of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 course, the file must first be processed with @code{makeinfo}, and then
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1000 placed into the location of your info directory.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003 Here are the commands for creating a numeric argument:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006 @item @code{C-u} (@code{universal-argument})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 @cindex numeric arguments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 @kindex C-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 @findex universal-argument
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1010 Starts (or multiplies by 4) the current numeric argument. @samp{C-u} is
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 a good way to give a small numeric argument to cursor movement or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 scrolling commands; @samp{C-u C-v} scrolls the screen 4 lines, while
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 @samp{C-u C-u C-n} moves the cursor down 16 lines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 @item @code{M-1} (@code{add-digit-to-numeric-arg})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 @itemx @code{M-2} @dots{} @code{M-9}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017 @kindex M-1 @dots{} M-9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 @findex add-digit-to-numeric-arg
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1019 Adds the digit value of the invoking key to the current numeric
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020 argument. Once Info is reading a numeric argument, you may just type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 the digits of the argument, without the Meta prefix. For example, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 might give @samp{C-l} a numeric argument of 32 by typing:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 @kbd{C-u 3 2 C-l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 @kbd{M-3 2 C-l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033 @samp{C-g} is used to abort the reading of a multi-character key
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1034 sequence, to cancel lengthy operations (such as multi-file searches) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035 to cancel reading input in the echo area.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038 @item @code{C-g} (@code{abort-key})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039 @cindex cancelling typeahead
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 @cindex cancelling the current operation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1041 @kindex C-g, in Info windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1042 @findex abort-key
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1043 Cancels current operation.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1044 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046 The @samp{q} command of Info simply quits running Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049 @item @code{q} (@code{quit})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 @cindex quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 @kindex q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 @findex quit
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1053 Exits GNU Info.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 If the operating system tells GNU Info that the screen is 60 lines tall,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 and it is actually only 40 lines tall, here is a way to tell Info that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1058 the operating system is correct.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1059
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1060 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1061 @item @code{M-x set-screen-height}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1062 @findex set-screen-height
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1063 @cindex screen, changing the height of
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1064 Reads a height value in the echo area and sets the height of the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065 displayed screen to that value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 Finally, Info provides a convenient way to display footnotes which might
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 be associated with the current node that you are viewing:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1070
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1071 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1072 @item @code{ESC C-f} (@code{show-footnotes})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073 @kindex ESC C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 @findex show-footnotes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 @cindex footnotes, displaying
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1076 Shows the footnotes (if any) associated with the current node in another
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077 window. You can have Info automatically display the footnotes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 associated with a node when the node is selected by setting the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1079 @code{automatic-footnotes}. @xref{Variables, , @code{automatic-footnotes}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1080 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1081
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1082 @node Variables
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083 @chapter Manipulating Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1085 GNU Info contains several @dfn{variables} whose values are looked at by various
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1086 Info commands. You can change the values of these variables, and thus
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1087 change the behaviour of Info to more closely match your environment and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1088 info file reading manner.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 @item @code{M-x set-variable}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092 @cindex variables, setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1093 @findex set-variable
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1094 Reads the name of a variable, and the value for it, in the echo area and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1095 then sets the variable to that value. Completion is available when
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 reading the variable name; often, completion is available when reading
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 the value to give to the variable, but that depends on the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1098 itself. If a variable does @emph{not} supply multiple choices to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099 complete over, it expects a numeric value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 @item @code{M-x describe-variable}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 @cindex variables, describing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 @findex describe-variable
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1104 Reads the name of a variable in the echo area and then displays a brief
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105 description of what the variable affects.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108 Here is a list of the variables that you can set in Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 @item automatic-footnotes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112 @vindex automatic-footnotes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 When set to @code{On}, footnotes appear and disappear automatically.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 This variable is @code{On} by default. When a node is selected, a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115 window containing the footnotes which appear in that node is created,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 and the footnotes are displayed within the new window. The window that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 Info creates to contain the footnotes is called @samp{*Footnotes*}. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 a node is selected which contains no footnotes, and a @samp{*Footnotes*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119 window is on the screen, the @samp{*Footnotes*} window is deleted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 Footnote windows created in this fashion are not automatically tiled so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121 that they can use as little of the display as is possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 @item automatic-tiling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 @vindex automatic-tiling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125 When set to @code{On}, creating or deleting a window resizes other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 windows. This variable is @code{Off} by default. Normally, typing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 @samp{C-x 2} divides the current window into two equal parts. When
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128 @code{automatic-tiling} is set to @code{On}, all of the windows are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129 resized automatically, keeping an equal number of lines visible in each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 window. There are exceptions to the automatic tiling; specifically, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 windows @samp{*Completions*} and @samp{*Footnotes*} are @emph{not}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 resized through automatic tiling; they remain their original size.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 @item visible-bell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 @vindex visible-bell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 When set to @code{On}, GNU Info attempts to flash the screen instead of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 ringing the bell. This variable is @code{Off} by default. Of course,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 Info can only flash the screen if the terminal allows it; in the case
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 that the terminal does not allow it, the setting of this variable has no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140 effect. However, you can make Info perform quietly by setting the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141 @code{errors-ring-bell} variable to @code{Off}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 @item errors-ring-bell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 @vindex errors-ring-bell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145 When set to @code{On}, errors cause the bell to ring. The default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 setting of this variable is @code{On}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1148 @item gc-compressed-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 @vindex gc-compressed-files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1150 When set to @code{On}, Info garbage collects files which had to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1151 uncompressed. The default value of this variable is @code{Off}.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1152 Whenever a node is visited in Info, the info file containing that node
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1153 is read into core, and Info reads information about the tags and nodes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 contained in that file. Once the tags information is read by Info, it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1155 is never forgotten. However, the actual text of the nodes does not need
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1156 to remain in core unless a particular info window needs it. For
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157 non-compressed files, the text of the nodes does not remain in core when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 it is no longer in use. But de-compressing a file can be a time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 consuming operation, and so Info tries hard not to do it twice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160 @code{gc-compressed-files} tells Info it is okay to garbage collect the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 text of the nodes of a file which was compressed on disk.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 @item show-index-match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164 @vindex show-index-match
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165 When set to @code{On}, the portion of the matched search string is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166 highlighted in the message which explains where the matched search
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 string was found. The default value of this variable is @code{On}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1168 When Info displays the location where an index match was found,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 (@pxref{Searching Commands, , @code{next-index-match}}), the portion of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170 string that you had typed is highlighted by displaying it in the inverse
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 case from its surrounding characters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1173 @item scroll-behaviour
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1174 @vindex scroll-behaviour
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1175 Controls what happens when forward scrolling is requested at the end of
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176 a node, or when backward scrolling is requested at the beginning of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177 node. The default value for this variable is @code{Continuous}. There
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 are three possible values for this variable:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181 @item Continuous
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1182 Tries to get the first item in this node's menu, or failing that, the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 @samp{Next} node, or failing that, the @samp{Next} of the @samp{Up}.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1184 This behaviour is identical to using the @samp{]}
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185 (@code{global-next-node}) and @samp{[} (@code{global-prev-node})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186 commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1188 @item Next Only
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1189 Only tries to get the @samp{Next} node.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191 @item Page Only
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1192 Simply gives up, changing nothing. If @code{scroll-behaviour} is
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1193 @code{Page Only}, no scrolling command can change the node that is being
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194 viewed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1195 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1197 @item scroll-step
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1198 @vindex scroll-step
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1199 The number of lines to scroll when the cursor moves out of the window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200 Scrolling happens automatically if the cursor has moved out of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201 visible portion of the node text when it is time to display. Usually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202 the scrolling is done so as to put the cursor on the center line of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203 current window. However, if the variable @code{scroll-step} has a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204 nonzero value, Info attempts to scroll the node text by that many lines;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205 if that is enough to bring the cursor back into the window, that is what
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1206 is done. The default value of this variable is 0, thus placing the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207 cursor (and the text it is attached to) in the center of the window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 Setting this variable to 1 causes a kind of "smooth scrolling" which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209 some people prefer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211 @item ISO-Latin
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1212 @cindex ISO Latin-1 characters
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 @vindex ISO-Latin
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1214 When set to @code{On}, Info accepts and displays ISO Latin-1 characters.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215 By default, Info assumes an ASCII character set. @code{ISO-Latin} tells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216 Info that it is running in an environment where the European standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1217 character set is in use, and allows you to input such characters to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1218 Info, as well as display them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1219 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1220
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1221 @c The following node and its children are currently unfinished. Please feel
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1222 @c free to finish it!
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1223
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1224 @ifset NOTSET
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1225 @node Info for Sys Admins
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1226 @chapter Info for System Administrators
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1228 This text describes some common ways of setting up an Info heierarchy
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229 from scratch, and details the various options that are available when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230 installing Info. This text is designed for the person who is installing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231 GNU Info on the system; although users may find the information present
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 in this section interesting, none of it is vital to understanding how to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1233 use GNU Info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1234
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1235 @menu
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1236 * Setting the INFOPATH:: Where are my Info files kept?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1237 * Editing the DIR node:: What goes in `DIR', and why?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1238 * Storing Info files:: Alternate formats allow flexibilty in setups.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1239 * Using `localdir':: Building DIR on the fly.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1240 * Example setups:: Some common ways to origanize Info files.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1241 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1242
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1243 @node Setting the INFOPATH
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1244 @section Setting the INFOPATH
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1245 Where are my Info files kept?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1246
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1247 @node Editing the DIR node
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1248 @section Editing the DIR node
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1249 What goes in `DIR', and why?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1251 @node Storing Info files
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1252 @section Storing Info files
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1253 Alternate formats allow flexibilty in setups.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1254
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1255 @node Using `localdir'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1256 @section Using `localdir'
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1257 Building DIR on the fly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1259 @node Example setups
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1260 @section Example setups
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1261 Some common ways to origanize Info files.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1262 @end ifset
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1264 @ifset STANDALONE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1265 @node GNU Info Global Index
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 @appendix Global Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 @printindex cp
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
1268 @end ifset