⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userdoc.texi

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 TEXI
📖 第 1 页 / 共 4 页
字号:
@kindex p@findex prev-nodeSelects the `Prev' node.@item @code{u} (@code{up-node})@kindex u@findex up-nodeSelects the `Up' node.@end tableYou can easily select a node that you have already viewed in this windowby using the @samp{l} command -- this name stands for "last", andactually moves through the list of already visited nodes for thiswindow.  @samp{l} with a negative numeric argument moves forward throughthe history of nodes for this window, so you can quickly step betweentwo adjacent (in viewing history) nodes.@table @asis@item @code{l} (@code{history-node})@kindex l@findex history-nodeSelects the most recently selected node in this window.@end tableTwo additional commands make it easy to select the most commonlyselected nodes; they are @samp{t} and @samp{d}.@table @asis@item @code{t} (@code{top-node})@kindex t@findex top-nodeSelects the node @samp{Top} in the current info file.@item @code{d} (@code{dir-node})@kindex d@findex dir-nodeSelects the directory node (i.e., the node @samp{(dir)}).@end tableHere are some other commands which immediately result in the selectionof a different node in the current window:@table @asis@item @code{<} (@code{first-node})@kindex <@findex first-nodeSelects the first node which appears in this file.  This node is mostoften @samp{Top}, but it doesn't have to be.@item @code{>} (@code{last-node})@kindex >@findex last-nodeSelects the last node which appears in this file.@item @code{]} (@code{global-next-node})@kindex ]@findex global-next-nodeMoves forward or down through node structure.  If the node that you arecurrently viewing has a @samp{Next} pointer, that node is selected.Otherwise, if this node has a menu, the first menu item is selected.  Ifthere is no @samp{Next} and no menu, the same process is tried with the@samp{Up} node of this node.@item @code{[} (@code{global-prev-node})@kindex [@findex global-prev-nodeMoves backward or up through node structure.  If the node that you arecurrently viewing has a @samp{Prev} pointer, that node is selected.Otherwise, if the node has an @samp{Up} pointer, that node is selected,and if it has a menu, the last item in the menu is selected.@end tableYou can get the same behaviour as @code{global-next-node} and@code{global-prev-node} while simply scrolling through the file with@key{SPC} and @key{DEL}; @xref{Variables, @code{scroll-behaviour}}, formore information.@table @asis@item @code{g} (@code{goto-node})@kindex g@findex goto-nodeReads the name of a node and selects it.  No completion is done whilereading the node name, since the desired node may reside in a separatefile.  The node must be typed exactly as it appears in the info file.  Afile name may be included as with any node specification, for example@example@code{g(emacs)Buffers}@end examplefinds the node @samp{Buffers} in the info file @file{emacs}.@item @code{C-x k} (@code{kill-node})@kindex C-x k@findex kill-nodeKills a node.  The node name is prompted for in the echo area, with adefault of the current node.  @dfn{Killing} a node means that Info trieshard to forget about it, removing it from the list of history nodes keptfor the window where that node is found.  Another node is selected inthe window which contained the killed node.@item @code{C-x C-f} (@code{view-file})@kindex C-x C-f@findex view-fileReads the name of a file and selects the entire file.  The command@example@code{C-x C-f @var{filename}}@end exampleis equivalent to typing@example@code{g(@var{filename})*}@end example@item @code{C-x C-b} (@code{list-visited-nodes})@kindex C-x C-b@findex list-visited-nodesMakes a window containing a menu of all of the currently visited nodes.This window becomes the selected window, and you may use the standardInfo commands within it.@item @code{C-x b} (@code{select-visited-node})@kindex C-x b@findex select-visited-nodeSelects a node which has been previously visited in a visible window.This is similar to @samp{C-x C-b} followed by @samp{m}, but no window iscreated.@end table@node Searching Commands@chapter Searching an Info File@cindex searchingGNU Info allows you to search for a sequence of characters throughout anentire info file, search through the indices of an info file, or findareas within an info file which discuss a particular topic.@table @asis@item @code{s} (@code{search})@kindex s@findex searchReads a string in the echo area and searches for it.@item @code{C-s} (@code{isearch-forward})@kindex C-s@findex isearch-forwardInteractively searches forward through the info file for a string as youtype it.@item @code{C-r} (@code{isearch-backward})@kindex C-r@findex isearch-backwardInteractively searches backward through the info file for a string asyou type it.@item @code{i} (@code{index-search})@kindex i@findex index-searchLooks up a string in the indices for this info file, and selects a nodewhere the found index entry points to.@item @code{,} (@code{next-index-match})@kindex ,@findex next-index-matchMoves to the node containing the next matching index item from the last@samp{i} command.@end tableThe most basic searching command is @samp{s} (@code{search}).  The@samp{s} command prompts you for a string in the echo area, and thensearches the remainder of the info file for an ocurrence of that string.If the string is found, the node containing it is selected, and thecursor is left positioned at the start of the found string.  Subsequent@samp{s} commands show you the default search string within @samp{[} and@samp{]}; pressing @key{RET} instead of typing a new string will use thedefault search string.@dfn{Incremental searching} is similar to basic searching, but thestring is looked up while you are typing it, instead of waiting untilthe entire search string has been specified.@node Xref Commands@chapter Selecting Cross ReferencesWe have already discussed the @samp{Next}, @samp{Prev}, and @samp{Up}pointers which appear at the top of a node.  In addition to thesepointers, a node may contain other pointers which refer you to adifferent node, perhaps in another info file.  Such pointers are called@dfn{cross references}, or @dfn{xrefs} for short.@menu* Parts of an Xref::	What a cross reference is made of.* Selecting Xrefs::	Commands for selecting menu or note items.@end menu@node Parts of an Xref@section Parts of an XrefCross references have two major parts: the first part is called the@dfn{label}; it is the name that you can use to refer to the crossreference, and the second is the @dfn{target}; it is the full name ofthe node that the cross reference points to.The target is separated from the label by a colon @samp{:}; first thelabel appears, and then the target.  For example, in the sample menucross reference below, the single colon separates the label from thetarget.@example* Foo Label: Foo Target.	More information about Foo.@end exampleNote the @samp{.} which ends the name of the target.  The @samp{.} isnot part of the target; it serves only to let Info know where the targetname ends.A shorthand way of specifying references allows two adjacent colons tostand for a target name which is the same as the label name:@example* Foo Commands::		Commands pertaining to Foo.@end exampleIn the above example, the name of the target is the same as the name ofthe label, in this case @code{Foo Commands}.You will normally see two types of cross references while viewing nodes:@dfn{menu} references, and @dfn{note} references.  Menu referencesappear within a node's menu; they begin with a @samp{*} at the beginningof a line, and continue with a label, a target, and a comment whichdescribes what the contents of the node pointed to contains.Note references appear within the body of the node text; they begin with@code{*Note}, and continue with a label and a target.Like @samp{Next}, @samp{Prev} and @samp{Up} pointers, cross referencescan point to any valid node.  They are used to refer you to a placewhere more detailed information can be found on a particular subject.Here is a cross reference which points to a node within the Texinfodocumentation:  @xref{xref, , Writing an Xref, texinfo, the TexinfoManual}, for more information on creating your own texinfo crossreferences.@node Selecting Xrefs@section Selecting XrefsThe following table lists the Info commands which operate on menu items.@table @asis@item @code{1} (@code{menu-digit})@itemx @code{2} @dots{} @code{9}@cindex 1 @dots{} 9, in Info windows@kindex 1 @dots{} 9, in Info windows@findex menu-digitWithin an Info window, pressing a single digit, (such as @samp{1}),selects that menu item, and places its node in the current window.For convenience, there is one exception; pressing @samp{0} selects the@emph{last} item in the node's menu.@item @code{0} (@code{last-menu-item})@kindex 0, in Info windows@findex last-menu-itemSelect the last item in the current node's menu.@item @code{m} (@code{menu-item})@kindex m@findex menu-itemReads the name of a menu item in the echo area and selects its node.Completion is available while reading the menu label.@item @code{M-x find-menu}@findex find-menuMoves the cursor to the start of this node's menu.@end tableThis table lists the Info commands which operate on note cross references.@table @asis@item @code{f} (@code{xref-item})@itemx @code{r}@kindex f@kindex r@findex xref-itemReads the name of a note cross reference in the echo area and selectsits node.  Completion is available while reading the cross referencelabel.@end tableFinally, the next few commands operate on menu or note references alike:@table @asis@item @code{TAB} (@code{move-to-next-xref})@kindex TAB, in Info windows@findex move-to-next-xrefMoves the cursor to the start of the next nearest menu item or notereference in this node.  You can then use @key{RET}(@code{select-reference-this-line} to select the menu or note reference.@item @code{M-TAB} (@code{move-to-prev-xref})@kindex M-TAB, in Info windows@findex move-to-prev-xrefMoves the cursor the start of the nearest previous menu item or notereference in this node.@item @code{RET} (@code{select-reference-this-line})@kindex RET, in Info windows@findex select-reference-this-lineSelects the menu item or note reference appearing on this line.@end table@node Window Commands@chapter Manipulating Multiple Windows@cindex windows, manipulatingA @dfn{window} is a place to show the text of a node.  Windows have aview area where the text of the node is displayed, and an associated@dfn{mode line}, which briefly describes the node being viewed.GNU Info supports multiple windows appearing in a single screen; each

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -