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

📄 userdoc.texi

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 TEXI
📖 第 1 页 / 共 4 页
字号:
environment variable @code{INFO_PRINT_COMMAND}.  If the variable doesn'texist, the node is simply piped to @code{lpr}.@end table@node Miscellaneous Commands@chapter Miscellaneous CommandsGNU Info contains several commands which self-document GNU Info:@table @asis@item @code{M-x describe-command}@cindex functions, describing@cindex commands, describing@findex describe-commandReads the name of an Info command in the echo area and then displays abrief description of what that command does.@item @code{M-x describe-key}@cindex keys, describing@findex describe-keyReads a key sequence in the echo area, and then displays the name anddocumentation of the Info command that the key sequence invokes.@item @code{M-x describe-variable}Reads the name of a variable in the echo area and then displays a briefdescription of what the variable affects.@item @code{M-x where-is}@findex where-isReads the name of an Info command in the echo area, and then displaysa key sequence which can be typed in order to invoke that command.@item @code{C-h} (@code{get-help-window})@itemx @code{?}@kindex C-h@kindex ?, in Info windows@findex get-help-windowCreates (or moves into) the window displaying @code{*Help*}, and placesa node containing a quick reference card into it.  This window displaysthe most concise information about GNU Info available.@item @code{h} (@code{get-info-help-node})@kindex h@findex get-info-help-nodeTries hard to visit the node @code{(info)Help}.  The info file@file{info.texi} distributed with GNU Info contains this node.  Ofcourse, the file must first be processed with @code{makeinfo}, and thenplaced into the location of your info directory.@end tableHere are the commands for creating a numeric argument:@table @asis@item @code{C-u} (@code{universal-argument})@cindex numeric arguments@kindex C-u@findex universal-argumentStarts (or multiplies by 4) the current numeric argument.  @samp{C-u} isa good way to give a small numeric argument to cursor movement orscrolling commands; @samp{C-u C-v} scrolls the screen 4 lines, while@samp{C-u C-u C-n} moves the cursor down 16 lines.@item @code{M-1} (@code{add-digit-to-numeric-arg})@itemx @code{M-2} @dots{} @code{M-9}@kindex M-1 @dots{} M-9@findex add-digit-to-numeric-argAdds the digit value of the invoking key to the current numericargument.  Once Info is reading a numeric argument, you may just typethe digits of the argument, without the Meta prefix.  For example, youmight give @samp{C-l} a numeric argument of 32 by typing:@example@kbd{C-u 3 2 C-l}@end exampleor@example@kbd{M-3 2 C-l}@end example@end table@samp{C-g} is used to abort the reading of a multi-character keysequence, to cancel lengthy operations (such as multi-file searches) andto cancel reading input in the echo area.@table @asis@item @code{C-g} (@code{abort-key})@cindex cancelling typeahead@cindex cancelling the current operation@kindex C-g, in Info windows@findex abort-keyCancels current operation.@end tableThe @samp{q} command of Info simply quits running Info.@table @asis@item @code{q} (@code{quit})@cindex quitting@kindex q@findex quitExits GNU Info.@end tableIf the operating system tells GNU Info that the screen is 60 lines tall,and it is actually only 40 lines tall, here is a way to tell Info thatthe operating system is correct.@table @asis@item @code{M-x set-screen-height}@findex set-screen-height@cindex screen, changing the height ofReads a height value in the echo area and sets the height of thedisplayed screen to that value.@end tableFinally, Info provides a convenient way to display footnotes which mightbe associated with the current node that you are viewing:@table @asis@item @code{ESC C-f} (@code{show-footnotes})@kindex ESC C-f@findex show-footnotes@cindex footnotes, displayingShows the footnotes (if any) associated with the current node in anotherwindow.  You can have Info automatically display the footnotesassociated with a node when the node is selected by setting the variable@code{automatic-footnotes}.  @xref{Variables, , @code{automatic-footnotes}}.@end table@node Variables@chapter Manipulating VariablesGNU Info contains several @dfn{variables} whose values are looked at by variousInfo commands.  You can change the values of these variables, and thuschange the behaviour of Info to more closely match your environment andinfo file reading manner.@table @asis@item @code{M-x set-variable}@cindex variables, setting@findex set-variableReads the name of a variable, and the value for it, in the echo area andthen sets the variable to that value.  Completion is available whenreading the variable name; often, completion is available when readingthe value to give to the variable, but that depends on the variableitself.  If a variable does @emph{not} supply multiple choices tocomplete over, it expects a numeric value.@item @code{M-x describe-variable}@cindex variables, describing@findex describe-variableReads the name of a variable in the echo area and then displays a briefdescription of what the variable affects.@end tableHere is a list of the variables that you can set in Info.@table @code@item automatic-footnotes@vindex automatic-footnotesWhen set to @code{On}, footnotes appear and disappear automatically.This variable is @code{On} by default.  When a node is selected, awindow containing the footnotes which appear in that node is created,and the footnotes are displayed within the new window.  The window thatInfo creates to contain the footnotes is called @samp{*Footnotes*}.  Ifa node is selected which contains no footnotes, and a @samp{*Footnotes*}window is on the screen, the @samp{*Footnotes*} window is deleted.Footnote windows created in this fashion are not automatically tiled sothat they can use as little of the display as is possible.@item automatic-tiling@vindex automatic-tilingWhen set to @code{On}, creating or deleting a window resizes otherwindows.  This variable is @code{Off} by default.  Normally, typing@samp{C-x 2} divides the current window into two equal parts.  When@code{automatic-tiling} is set to @code{On}, all of the windows areresized automatically, keeping an equal number of lines visible in eachwindow.  There are exceptions to the automatic tiling; specifically, thewindows @samp{*Completions*} and @samp{*Footnotes*} are @emph{not}resized through automatic tiling; they remain their original size.@item visible-bell@vindex visible-bellWhen set to @code{On}, GNU Info attempts to flash the screen instead ofringing the bell.  This variable is @code{Off} by default.  Of course,Info can only flash the screen if the terminal allows it; in the casethat the terminal does not allow it, the setting of this variable has noeffect.  However, you can make Info perform quietly by setting the@code{errors-ring-bell} variable to @code{Off}.@item errors-ring-bell@vindex errors-ring-bellWhen set to @code{On}, errors cause the bell to ring.  The defaultsetting of this variable is @code{On}.@item gc-compressed-files@vindex gc-compressed-filesWhen set to @code{On}, Info garbage collects files which had to beuncompressed.  The default value of this variable is @code{Off}.Whenever a node is visited in Info, the info file containing that nodeis read into core, and Info reads information about the tags and nodescontained in that file.  Once the tags information is read by Info, itis never forgotten.  However, the actual text of the nodes does not needto remain in core unless a particular info window needs it.  Fornon-compressed files, the text of the nodes does not remain in core whenit is no longer in use.  But de-compressing a file can be a timeconsuming operation, and so Info tries hard not to do it twice.@code{gc-compressed-files} tells Info it is okay to garbage collect thetext of the nodes of a file which was compressed on disk.@item show-index-match@vindex show-index-matchWhen set to @code{On}, the portion of the matched search string ishighlighted in the message which explains where the matched searchstring was found.  The default value of this variable is @code{On}.When Info displays the location where an index match was found,(@pxref{Searching Commands, , @code{next-index-match}}), the portion of thestring that you had typed is highlighted by displaying it in the inversecase from its surrounding characters.@item scroll-behaviour@vindex scroll-behaviourControls what happens when forward scrolling is requested at the end ofa node, or when backward scrolling is requested at the beginning of anode.  The default value for this variable is @code{Continuous}.  Thereare three possible values for this variable:@table @code@item ContinuousTries to get the first item in this node's menu, or failing that, the@samp{Next} node, or failing that, the @samp{Next} of the @samp{Up}.This behaviour is identical to using the @samp{]}(@code{global-next-node}) and @samp{[} (@code{global-prev-node})commands.@item Next OnlyOnly tries to get the @samp{Next} node.@item Page OnlySimply gives up, changing nothing.  If @code{scroll-behaviour} is@code{Page Only}, no scrolling command can change the node that is beingviewed.@end table@item scroll-step@vindex scroll-stepThe number of lines to scroll when the cursor moves out of the window.Scrolling happens automatically if the cursor has moved out of thevisible portion of the node text when it is time to display.  Usuallythe scrolling is done so as to put the cursor on the center line of thecurrent window.  However, if the variable @code{scroll-step} has anonzero value, Info attempts to scroll the node text by that many lines;if that is enough to bring the cursor back into the window, that is whatis done.  The default value of this variable is 0, thus placing thecursor (and the text it is attached to) in the center of the window.Setting this variable to 1 causes a kind of "smooth scrolling" whichsome people prefer.@item ISO-Latin@cindex ISO Latin characters@vindex ISO-LatinWhen set to @code{On}, Info accepts and displays ISO Latin characters.By default, Info assumes an ASCII character set.  @code{ISO-Latin} tellsInfo that it is running in an environment where the European standardcharacter set is in use, and allows you to input such characters toInfo, as well as display them.@end table@c The following node and its children are currently unfinished.  Please feel@c free to finish it!@ifset NOTSET@node Info for Sys Admins@chapter Info for System AdministratorsThis text describes some common ways of setting up an Info heierarchyfrom scratch, and details the various options that are available wheninstalling Info.  This text is designed for the person who is installingGNU Info on the system; although users may find the information presentin this section interesting, none of it is vital to understanding how touse GNU Info.@menu* Setting the INFOPATH::	Where are my Info files kept?* Editing the DIR node::	What goes in `DIR', and why?* Storing Info files::		Alternate formats allow flexibilty in setups.* Using `localdir'::		Building DIR on the fly.* Example setups::		Some common ways to origanize Info files.@end menu@node Setting the INFOPATH@section Setting the INFOPATHWhere are my Info files kept?@node Editing the DIR node@section Editing the DIR nodeWhat goes in `DIR', and why?@node Storing Info files@section Storing Info filesAlternate formats allow flexibilty in setups.@node Using `localdir'@section Using `localdir'Building DIR on the fly.@node Example setups@section Example setupsSome common ways to origanize Info files.@end ifset@ifset STANDALONE@node GNU Info Global Index@appendix Global Index@printindex cp@end ifset

⌨️ 快捷键说明

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