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

📄 userdoc.texi

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 TEXI
📖 第 1 页 / 共 4 页
字号:
window 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@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-----Info: (dir)Top, 40 lines --Top---------------------------------------            ^^   ^   ^^^        ^^          (file)Node #lines    where@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@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-windowSelects 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-windowSelects 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-windowSplits 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-windowDeletes 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-windowDeletes 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-windowScrolls the other window, in the same fashion that @samp{C-v} mightscroll the current window.  Given a negative argument, the "other"window is scrolled backward.@item @code{C-x ^} (@code{grow-window})@kindex C-x ^@findex grow-windowGrows (or shrinks) the current window.  Given a numeric argument, growsthe current window that many lines; with a negative numeric argument,the window is shrunk instead.@item @code{C-x t} (@code{tile-windows})@cindex tiling@kindex C-x t@findex tile-windowsDivides 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@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-forwardMoves forward a character.@item @code{C-b} (@code{echo-area-backward})@kindex C-b, in the echo area@findex echo-area-backwardMoves 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-lineMoves 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-lineMoves 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-wordMoves forward a word.@item @code{M-b} (@code{echo-area-backward-word})@kindex M-b, in the echo area@findex echo-area-backward-wordMoves backward a word.@item @code{C-d} (@code{echo-area-delete})@kindex C-d, in the echo area@findex echo-area-deleteDeletes the character under the cursor.@item @code{DEL} (@code{echo-area-rubout})@kindex DEL, in the echo area@findex echo-area-ruboutDeletes the character behind the cursor.@item @code{C-g} (@code{echo-area-abort})@kindex C-g, in the echo area@findex echo-area-abortCancels or quits 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-newlineAccepts (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-insertInserts 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-insertInserts the character.@item @code{M-TAB} (@code{echo-area-tab-insert})@kindex M-TAB, in the echo area@findex echo-area-tab-insertInserts a TAB character.@item @code{C-t} (@code{echo-area-transpose-chars})@kindex C-t, in the echo area@findex echo-area-transpose-charsTransposes 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-wordKills 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-wordKills 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-lineKills 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-lineKills 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-yankYanks 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-popYanks 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-completeInserts as much of a completion as is possible.@item @code{?} (@code{echo-area-possible-completions})@kindex ?, in the echo area@findex echo-area-possible-completionsDisplays a window containing a list of the possible completions of whatyou have typed so far.  For example, if the available choices are:@examplebarfoliatefoodforget@end exampleand you have typed an @samp{f}, followed by @samp{?}, the possiblecompletions would contain:@examplefoliatefoodforget@end examplei.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-windowScrolls the completions window, if that is visible, or the "other"window if not.@end table@node Printing Nodes@chapter Printing Out Nodes@cindex printingYou may wish to print out the contents of a node as  a quick referencedocument for later use.  Info provides you with a command for doingthis.  In general, we recommend that you use @TeX{} to format thedocument and print sections of it, by running @code{tex} on the texinfosource file.@table @asis@item @code{M-x print-node}@findex print-node@cindex INFO_PRINT_COMMAND, environment variablePipes the contents of the current node through the command in the

⌨️ 快捷键说明

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