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

📄 info-stnd.texi

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 TEXI
📖 第 1 页 / 共 4 页
字号:
@table @asis@item @code{TAB} (@code{move-to-next-xref})@kindex TAB, in Info windows@findex move-to-next-xrefMove 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-xrefMove 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-lineSelect the menu item or note reference appearing on this line.@end table@node Window Commands, Printing Nodes, Xref Commands, Top@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; eachwindow is separated from the next by its modeline.  At any time, thereis only one @dfn{active} window, that is, the window in which the cursorappears.  There are commands available for creating windows, changingthe size of windows, selecting which window is active, and for deletingwindows.@menu* The Mode Line::               What appears in the mode line?* Basic Windows::               Manipulating windows in Info.* The Echo Area::               Used for displaying errors and reading input.@end menu@node The Mode Line, Basic Windows,  , Window Commands@section The Mode LineA @dfn{mode line} is a line of inverse video which appears at the bottomof an Info window.  It describes the contents of the window just aboveit; this information includes the name of the file and node appearing inthat window, the number of screen lines it takes to display the node,and the percentage of text that is above the top of the window.  It canalso tell you if the indirect tags table for this Info file needs to beupdated, and whether or not the Info file was compressed when stored ondisk.Here is a sample mode line for a window containing an uncompressed filenamed @file{dir}, showing the node @samp{Top}.@example@group-----Info: (dir)Top, 40 lines --Top---------------------------------------            ^^   ^   ^^^        ^^          (file)Node #lines    where@end group@end exampleWhen a node comes from a file which is compressed on disk, this isindicated in the mode line with two small @samp{z}'s.  In addition, ifthe Info file containing the node has been split into subfiles, the nameof the subfile containing the node appears in the modeline as well:@example--zz-Info: (emacs)Top, 291 lines --Top-- Subfile: emacs-1.Z---------------@end example When Info makes a node internally, such that there is no correspondinginfo file on disk, the name of the node is surrounded by asterisks(@samp{*}).  The name itself tells you what the contents of the windoware; the sample mode line below shows an internally constructed nodeshowing possible completions:@example-----Info: *Completions*, 7 lines --All-----------------------------------@end example@node Basic Windows, The Echo Area, The Mode Line, Window Commands@section Window CommandsIt can be convenient to view more than one node at a time.  To allowthis, Info can display more than one @dfn{window}.  Each window has itsown mode line (@pxref{The Mode Line}) and history of nodes viewed in thatwindow (@pxref{Node Commands, , @code{history-node}}).@table @asis@item @code{C-x o} (@code{next-window})@cindex windows, selecting@kindex C-x o@findex next-windowSelect the next window on the screen.  Note that the echo area can only beselected if it is already in use, and you have left it temporarily.Normally, @samp{C-x o} simply moves the cursor into the next window onthe screen, or if you are already within the last window, into the firstwindow on the screen.  Given a numeric argument, @samp{C-x o} moves overthat many windows.  A negative argument causes @samp{C-x o} to selectthe previous window on the screen.@item @code{M-x prev-window}@findex prev-windowSelect the previous window on the screen.  This is identical to@samp{C-x o} with a negative argument.@item @code{C-x 2} (@code{split-window})@cindex windows, creating@kindex C-x 2@findex split-windowSplit the current window into two windows, both showing the same node.Each window is one half the size of the original window, and the cursorremains in the original window.  The variable @code{automatic-tiling}can cause all of the windows on the screen to be resized for youautomatically, please @pxref{Variables, , automatic-tiling} for moreinformation.@item @code{C-x 0} (@code{delete-window})@cindex windows, deleting@kindex C-x 0@findex delete-windowDelete the current window from the screen.  If you have made too manywindows and your screen appears cluttered, this is the way to get rid ofsome of them.@item @code{C-x 1} (@code{keep-one-window})@kindex C-x 1@findex keep-one-windowDelete all of the windows excepting the current one.@item @code{ESC C-v} (@code{scroll-other-window})@kindex ESC C-v, in Info windows@findex scroll-other-windowScroll the other window, in the same fashion that @samp{C-v} mightscroll the current window.  Given a negative argument, scroll the"other" window backward.@item @code{C-x ^} (@code{grow-window})@kindex C-x ^@findex grow-windowGrow (or shrink) the current window.  Given a numeric argument, growthe current window that many lines; with a negative numeric argument,shrink the window instead.@item @code{C-x t} (@code{tile-windows})@cindex tiling@kindex C-x t@findex tile-windowsDivide the available screen space among all of the visible windows.Each window is given an equal portion of the screen in which to displayits contents.  The variable @code{automatic-tiling} can cause@code{tile-windows} to be called when a window is created or deleted.@xref{Variables, , @code{automatic-tiling}}.@end table@node The Echo Area,  , Basic Windows, Window Commands@section The Echo Area@cindex echo areaThe @dfn{echo area} is a one line window which appears at the bottom ofthe screen.  It is used to display informative or error messages, and toread lines of input from you when that is necessary.  Almost all of thecommands available in the echo area are identical to their Emacscounterparts, so please refer to that documentation for greater depth ofdiscussion on the concepts of editing a line of text.  The followingtable briefly lists the commands that are available while input is beingread in the echo area:@table @asis@item @code{C-f} (@code{echo-area-forward})@kindex C-f, in the echo area@findex echo-area-forwardMove forward a character.@item @code{C-b} (@code{echo-area-backward})@kindex C-b, in the echo area@findex echo-area-backwardMove backward a character.@item @code{C-a} (@code{echo-area-beg-of-line})@kindex C-a, in the echo area@findex echo-area-beg-of-lineMove to the start of the input line.@item @code{C-e} (@code{echo-area-end-of-line})@kindex C-e, in the echo area@findex echo-area-end-of-lineMove to the end of the input line.@item @code{M-f} (@code{echo-area-forward-word})@kindex M-f, in the echo area@findex echo-area-forward-wordMove forward a word.@item @code{M-b} (@code{echo-area-backward-word})@kindex M-b, in the echo area@findex echo-area-backward-wordMove backward a word.@item @code{C-d} (@code{echo-area-delete})@kindex C-d, in the echo area@findex echo-area-deleteDelete the character under the cursor.@item @code{DEL} (@code{echo-area-rubout})@kindex DEL, in the echo area@findex echo-area-ruboutDelete the character behind the cursor.@item @code{C-g} (@code{echo-area-abort})@kindex C-g, in the echo area@findex echo-area-abortCancel or quit the current operation.  If completion is being read,@samp{C-g} discards the text of the input line which does not match anycompletion.  If the input line is empty, @samp{C-g} aborts the callingfunction.@item @code{RET} (@code{echo-area-newline})@kindex RET, in the echo area@findex echo-area-newlineAccept (or forces completion of) the current input line.@item @code{C-q} (@code{echo-area-quoted-insert})@kindex C-q, in the echo area@findex echo-area-quoted-insertInsert the next character verbatim.  This is how you can insert controlcharacters into a search string, for example.@item @var{printing character} (@code{echo-area-insert})@kindex printing characters, in the echo area@findex echo-area-insertInsert the character.@item @code{M-TAB} (@code{echo-area-tab-insert})@kindex M-TAB, in the echo area@findex echo-area-tab-insertInsert a TAB character.@item @code{C-t} (@code{echo-area-transpose-chars})@kindex C-t, in the echo area@findex echo-area-transpose-charsTranspose the characters at the cursor.@end tableThe next group of commands deal with @dfn{killing}, and @dfn{yanking}text.  For an in depth discussion of killing and yanking,@pxref{Killing, , Killing and Deleting, emacs, the GNU Emacs Manual}@table @asis@item @code{M-d} (@code{echo-area-kill-word})@kindex M-d, in the echo area@findex echo-area-kill-wordKill the word following the cursor.@item @code{M-DEL} (@code{echo-area-backward-kill-word})@kindex M-DEL, in the echo area@findex echo-area-backward-kill-wordKill the word preceding the cursor.@item @code{C-k} (@code{echo-area-kill-line})@kindex C-k, in the echo area@findex echo-area-kill-lineKill the text from the cursor to the end of the line.@item @code{C-x DEL} (@code{echo-area-backward-kill-line})@kindex C-x DEL, in the echo area@findex echo-area-backward-kill-lineKill the text from the cursor to the beginning of the line.@item @code{C-y} (@code{echo-area-yank})@kindex C-y, in the echo area@findex echo-area-yankYank back the contents of the last kill.@item @code{M-y} (@code{echo-area-yank-pop})@kindex M-y, in the echo area@findex echo-area-yank-popYank back a previous kill, removing the last yanked text first.@end tableSometimes when reading input in the echo area, the command that neededinput will only accept one of a list of several choices.  The choicesrepresent the @dfn{possible completions}, and you must respond with oneof them.  Since there are a limited number of responses you can make,Info allows you to abbreviate what you type, only typing as much of theresponse as is necessary to uniquely identify it.  In addition, you canrequest Info to fill in as much of the response as is possible; thisis called @dfn{completion}.The following commands are available when completing in the echo area:@table @asis@item @code{TAB} (@code{echo-area-complete})@itemx @code{SPC}@kindex TAB, in the echo area@kindex SPC, in the echo area@findex echo-area-completeInsert as much of a completion as is possible.@item @code{?} (@code{echo-area-possible-completions})@kindex ?, in the echo area@findex echo-area-possible-completionsDisplay a window containing a list of the possible completions of whatyou have typed so far.  For example, if the available choices are:@example@groupbarfoliatefoodforget@end group@end example@noindentand you have typed an @samp{f}, followed by @samp{?}, the possiblecompletions would contain:@example@groupfoliatefoodforget@end group@end example@noindenti.e., all of the choices which begin with @samp{f}.  Pressing @key{SPC}or @key{TAB} would result in @samp{fo} appearing in the echo area, sinceall of the choices which begin with @samp{f} continue with @samp{o}.Now, typing @samp{l} followed by @samp{TAB} results in @samp{foliate}appearing in the echo area, since that is the only choice which beginswith @samp{fol}.@item @code{ESC C-v} (@code{echo-area-scroll-completions-window})@kindex ESC C-v, in the echo area@findex echo-area-scroll-completions-windowScroll the completions window, if that is visible, or the "other"window if not.@end table

⌨️ 快捷键说明

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