annotate man/info-stnd.texi @ 422:95016f13131a r21-2-19

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