home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / info / octave.info-8 < prev    next >
Encoding:
GNU Info File  |  1996-10-12  |  47.9 KB  |  1,275 lines

  1. This is Info file octave.info, produced by Makeinfo-1.64 from the input
  2. file octave.texi.
  3.  
  4.    Copyright (C) 1993, 1994, 1995 John W. Eaton.
  5.  
  6.    Permission is granted to make and distribute verbatim copies of this
  7. manual provided the copyright notice and this permission notice are
  8. preserved on all copies.
  9.  
  10.    Permission is granted to copy and distribute modified versions of
  11. this manual under the conditions for verbatim copying, provided that
  12. the entire resulting derived work is distributed under the terms of a
  13. permission notice identical to this one.
  14.  
  15.    Permission is granted to copy and distribute translations of this
  16. manual into another language, under the above conditions for modified
  17. versions.
  18.  
  19. 
  20. File: octave.info,  Node: Bug Criteria,  Next: Bug Lists,  Prev: Reporting Bugs,  Up: Trouble
  21.  
  22. Have You Found a Bug?
  23. =====================
  24.  
  25.    If you are not sure whether you have found a bug, here are some
  26. guidelines:
  27.  
  28.    * If Octave gets a fatal signal, for any input whatever, that is a
  29.      bug.  Reliable interpreters never crash.
  30.  
  31.    * If Octave produces incorrect results, for any input whatever, that
  32.      is a bug.
  33.  
  34.    * Some output may appear to be incorrect when it is in fact due to a
  35.      program whose behavior is undefined, which happened by chance to
  36.      give the desired results on another system.  For example, the
  37.      range operator may produce different results because of
  38.      differences in the way floating point arithmetic is handled on
  39.      various systems.
  40.  
  41.    * If Octave produces an error message for valid input, that is a bug.
  42.  
  43.    * If Octave does not produce an error message for invalid input,
  44.      that is a bug.  However, you should note that your idea of
  45.      "invalid input" might be my idea of "an extension" or "support for
  46.      traditional practice".
  47.  
  48.    * If you are an experienced user of programs like Octave, your
  49.      suggestions for improvement are welcome in any case.
  50.  
  51. 
  52. File: octave.info,  Node: Bug Lists,  Next: Bug Reporting,  Prev: Bug Criteria,  Up: Trouble
  53.  
  54. Where to Report Bugs
  55. ====================
  56.  
  57.    If you have Octave working at all, the easiest way to prepare a
  58. complete bug report is to use the Octave function `bug_report'.  When
  59. you execute this function, Octave will prompt you for a subject and then
  60. invoke the editor on a file that already contains all the configuration
  61. information.  When you exit the editor, Octave will mail the bug report
  62. for you.
  63.  
  64.    If for some reason you cannot use Octave's `bug_report' function,
  65. send bug reports for Octave to:
  66.  
  67.      bug-octave@che.utexas.edu
  68.  
  69.    *Do not send bug reports to `help-octave'*.  Most users of Octave do
  70. not want to receive bug reports.  Those that do have asked to be on
  71. `bug-octave'.
  72.  
  73.    As a last resort, send bug reports on paper to:
  74.  
  75.      Octave Bugs c/o John W. Eaton
  76.      Department of Chemical Engineering
  77.      The University of Texas at Austin
  78.      Austin, Texas 78712
  79.  
  80. 
  81. File: octave.info,  Node: Bug Reporting,  Next: Sending Patches,  Prev: Bug Lists,  Up: Trouble
  82.  
  83. How to Report Bugs
  84. ==================
  85.  
  86.    The fundamental principle of reporting bugs usefully is this:
  87. *report all the facts*.  If you are not sure whether to state a fact or
  88. leave it out, state it!
  89.  
  90.    Often people omit facts because they think they know what causes the
  91. problem and they conclude that some details don't matter.  Thus, you
  92. might assume that the name of the variable you use in an example does
  93. not matter.  Well, probably it doesn't, but one cannot be sure.
  94. Perhaps the bug is a stray memory reference which happens to fetch from
  95. the location where that name is stored in memory; perhaps, if the name
  96. were different, the contents of that location would fool the
  97. interpreter into doing the right thing despite the bug.  Play it safe
  98. and give a specific, complete example.
  99.  
  100.    Keep in mind that the purpose of a bug report is to enable someone to
  101. fix the bug if it is not known. Always write your bug reports on the
  102. assumption that the bug is not known.
  103.  
  104.    Sometimes people give a few sketchy facts and ask, "Does this ring a
  105. bell?"  This cannot help us fix a bug.  It is better to send a complete
  106. bug report to begin with.
  107.  
  108.    Try to make your bug report self-contained.  If we have to ask you
  109. for more information, it is best if you include all the previous
  110. information in your response, as well as the information that was
  111. missing.
  112.  
  113.    To enable someone to investigate the bug, you should include all
  114. these things:
  115.  
  116.    * The version of Octave.  You can get this by noting the version
  117.      number that is printed when Octave starts, or running it with the
  118.      `-v' option.
  119.  
  120.    * A complete input file that will reproduce the bug.
  121.  
  122.      A single statement may not be enough of an example--the bug might
  123.      depend on other details that are missing from the single statement
  124.      where the error finally occurs.
  125.  
  126.    * The command arguments you gave Octave to execute that example and
  127.      observe the bug.  To guarantee you won't omit something important,
  128.      list all the options.
  129.  
  130.      If we were to try to guess the arguments, we would probably guess
  131.      wrong and then we would not encounter the bug.
  132.  
  133.    * The type of machine you are using, and the operating system name
  134.      and version number.
  135.  
  136.    * The command-line arguments you gave to the `configure' command when
  137.      you installed the interpreter.
  138.  
  139.    * A complete list of any modifications you have made to the
  140.      interpreter source.
  141.  
  142.      Be precise about these changes--show a context diff for them.
  143.  
  144.    * Details of any other deviations from the standard procedure for
  145.      installing Octave.
  146.  
  147.    * A description of what behavior you observe that you believe is
  148.      incorrect.  For example, "The interpreter gets a fatal signal,"
  149.      or, "The output produced at line 208 is incorrect."
  150.  
  151.      Of course, if the bug is that the interpreter gets a fatal signal,
  152.      then one can't miss it.  But if the bug is incorrect output, we
  153.      might not notice unless it is glaringly wrong.
  154.  
  155.      Even if the problem you experience is a fatal signal, you should
  156.      still say so explicitly.  Suppose something strange is going on,
  157.      such as, your copy of the interpreter is out of synch, or you have
  158.      encountered a bug in the C library on your system.  Your copy
  159.      might crash and the copy here would not.  If you said to expect a
  160.      crash, then when the interpreter here fails to crash, we would
  161.      know that the bug was not happening.  If you don't say to expect a
  162.      crash, then we would not know whether the bug was happening.  We
  163.      would not be able to draw any conclusion from our observations.
  164.  
  165.      Often the observed symptom is incorrect output when your program
  166.      is run.  Unfortunately, this is not enough information unless the
  167.      program is short and simple.  It is very helpful if you can
  168.      include an explanation of the expected output, and why the actual
  169.      output is incorrect.
  170.  
  171.    * If you wish to suggest changes to the Octave source, send them as
  172.      context diffs.  If you even discuss something in the Octave source,
  173.      refer to it by context, not by line number, because the line
  174.      numbers in the development sources probalby won't match those in
  175.      your sources.
  176.  
  177.    Here are some things that are not necessary:
  178.  
  179.    * A description of the envelope of the bug.
  180.  
  181.      Often people who encounter a bug spend a lot of time investigating
  182.      which changes to the input file will make the bug go away and
  183.      which changes will not affect it.  Such information is usually not
  184.      necessary to enable us to fix bugs in Octave, but if you can find
  185.      a simpler example to report *instead* of the original one, that is
  186.      a convenience.  Errors in the output will be easier to spot,
  187.      running under the debugger will take less time, etc. Most Octave
  188.      bugs involve just one function, so the most straightforward way to
  189.      simplify an example is to delete all the function definitions
  190.      except the one in which the bug occurs.
  191.  
  192.      However, simplification is not vital; if you don't want to do
  193.      this, report the bug anyway and send the entire test case you used.
  194.  
  195.    * A patch for the bug.  Patches can be helpful, but if you find a
  196.      bug, you should report it, even if you cannot send a fix for the
  197.      problem.
  198.  
  199. 
  200. File: octave.info,  Node: Sending Patches,  Next: Service,  Prev: Bug Reporting,  Up: Trouble
  201.  
  202. Sending Patches for Octave
  203. ==========================
  204.  
  205.    If you would like to write bug fixes or improvements for Octave,
  206. that is very helpful.  When you send your changes, please follow these
  207. guidelines to avoid causing extra work for us in studying the patches.
  208.  
  209.    If you don't follow these guidelines, your information might still be
  210. useful, but using it will take extra work.  Maintaining Octave is a lot
  211. of work in the best of circumstances, and we can't keep up unless you do
  212. your best to help.
  213.  
  214.    * Send an explanation with your changes of what problem they fix or
  215.      what improvement they bring about.  For a bug fix, just include a
  216.      copy of the bug report, and explain why the change fixes the bug.
  217.  
  218.    * Always include a proper bug report for the problem you think you
  219.      have fixed.  We need to convince ourselves that the change is
  220.      right before installing it.  Even if it is right, we might have
  221.      trouble judging it if we don't have a way to reproduce the problem.
  222.  
  223.    * Include all the comments that are appropriate to help people
  224.      reading the source in the future understand why this change was
  225.      needed.
  226.  
  227.    * Don't mix together changes made for different reasons.  Send them
  228.      *individually*.
  229.  
  230.      If you make two changes for separate reasons, then we might not
  231.      want to install them both.  We might want to install just one.
  232.  
  233.    * Use `diff -c' to make your diffs.  Diffs without context are hard
  234.      for us to install reliably.  More than that, they make it hard for
  235.      us to study the diffs to decide whether we want to install them.
  236.      Unidiff format is better than contextless diffs, but not as easy
  237.      to read as `-c' format.
  238.  
  239.      If you have GNU diff, use `diff -cp', which shows the name of the
  240.      function that each change occurs in.
  241.  
  242.    * Write the change log entries for your changes.
  243.  
  244.      Read the `ChangeLog' file to see what sorts of information to put
  245.      in, and to learn the style that we use.  The purpose of the change
  246.      log is to show people where to find what was changed.  So you need
  247.      to be specific about what functions you changed; in large
  248.      functions, it's often helpful to indicate where within the
  249.      function the change was made.
  250.  
  251.      On the other hand, once you have shown people where to find the
  252.      change, you need not explain its purpose. Thus, if you add a new
  253.      function, all you need to say about it is that it is new.  If you
  254.      feel that the purpose needs explaining, it probably does--but the
  255.      explanation will be much more useful if you put it in comments in
  256.      the code.
  257.  
  258.      If you would like your name to appear in the header line for who
  259.      made the change, send us the header line.
  260.  
  261. 
  262. File: octave.info,  Node: Service,  Prev: Sending Patches,  Up: Trouble
  263.  
  264. How To Get Help with Octave
  265. ===========================
  266.  
  267.    If you need help installing, using or changing Octave, the mailing
  268. list
  269.  
  270.      help-octave@che.utexas.edu
  271.  
  272.    exists for the discussion of Octave matters related to using,
  273. installing, and porting Octave.  If you would like to join the
  274. discussion, please send a short note to
  275.  
  276.      help-octave-request@che.utexas.edu
  277.                  ^^^^^^^
  278.  
  279.    *Please do not* send requests to be added or removed from the the
  280. mailing list, or other administrative trivia to the list itself.
  281.  
  282. 
  283. File: octave.info,  Node: Command Line Editing,  Next: Using Info,  Prev: Trouble,  Up: Top
  284.  
  285. Command Line Editing
  286. ********************
  287.  
  288.    This text describes GNU's command line editing interface.  It is
  289. relatively old and may not be entirely correct now.  Please send a
  290. message to `bug-octave@che.utexas.edu' if you find any errors.  *Note
  291. Reporting Bugs::, for more information about how to report bugs.
  292.  
  293. * Menu:
  294.  
  295. * Introduction and Notation::   Notation used in this text.
  296. * Readline Interaction::        The minimum set of commands for editing a line.
  297. * Readline Bare Essentials::
  298. * Readline Movement Commands::
  299. * Readline Killing Commands::
  300. * Readline Arguments::
  301. * Readline Init File::          Customizing Readline from a user's view.
  302. * Readline Init Syntax::
  303. * Readline Vi Mode::
  304.  
  305. 
  306. File: octave.info,  Node: Introduction and Notation,  Next: Readline Interaction,  Prev: Command Line Editing,  Up: Command Line Editing
  307.  
  308. Introduction to Line Editing
  309. ============================
  310.  
  311.    The following paragraphs describe the notation we use to represent
  312. keystrokes.
  313.  
  314.    The text C-k is read as `Control-K' and describes the character
  315. produced when the Control key is depressed and the k key is struck.
  316.  
  317.    The text M-k is read as `Meta-K' and describes the character
  318. produced when the meta key (if you have one) is depressed, and the k
  319. key is struck.  If you do not have a meta key, the identical keystroke
  320. can be generated by typing ESC first, and then typing k.  Either
  321. process is known as "metafying" the k key.
  322.  
  323.    The text M-C-k is read as `Meta-Control-k' and describes the
  324. character produced by "metafying" C-k.
  325.  
  326.    In addition, several keys have their own names.  Specifically, DEL,
  327. ESC, LFD, SPC, RET, and TAB all stand for themselves when seen in this
  328. text, or in an init file (*note Readline Init File::., for more info).
  329.  
  330. 
  331. File: octave.info,  Node: Readline Interaction,  Next: Readline Bare Essentials,  Prev: Introduction and Notation,  Up: Command Line Editing
  332.  
  333. Readline Interaction
  334. ====================
  335.  
  336.    Often during an interactive session you type in a long line of text,
  337. only to notice that the first word on the line is misspelled.  The
  338. Readline library gives you a set of commands for manipulating the text
  339. as you type it in, allowing you to just fix your typo, and not forcing
  340. you to retype the majority of the line.  Using these editing commands,
  341. you move the cursor to the place that needs correction, and delete or
  342. insert the text of the corrections.  Then, when you are satisfied with
  343. the line, you simply press RETURN.  You do not have to be at the end of
  344. the line to press RETURN; the entire line is accepted regardless of the
  345. location of the cursor within the line.
  346.  
  347. * Menu:
  348.  
  349. * Readline Bare Essentials::    The least you need to know about Readline.
  350. * Readline Movement Commands::  Moving about the input line.
  351. * Readline Killing Commands::   How to delete text, and how to get it back!
  352. * Readline Arguments::          Giving numeric arguments to commands.
  353.  
  354. 
  355. File: octave.info,  Node: Readline Bare Essentials,  Next: Readline Movement Commands,  Prev: Readline Interaction,  Up: Command Line Editing
  356.  
  357. Readline Bare Essentials
  358. ========================
  359.  
  360.    In order to enter characters into the line, simply type them.  The
  361. typed character appears where the cursor was, and then the cursor moves
  362. one space to the right.  If you mistype a character, you can use DEL to
  363. back up, and delete the mistyped character.
  364.  
  365.    Sometimes you may miss typing a character that you wanted to type,
  366. and not notice your error until you have typed several other
  367. characters.  In that case, you can type C-b to move the cursor to the
  368. left, and then correct your mistake.  Afterwards, you can move the
  369. cursor to the right with C-f.
  370.  
  371.    When you add text in the middle of a line, you will notice that
  372. characters to the right of the cursor get `pushed over' to make room
  373. for the text that you have inserted.  Likewise, when you delete text
  374. behind the cursor, characters to the right of the cursor get `pulled
  375. back' to fill in the blank space created by the removal of the text.  A
  376. list of the basic bare essentials for editing the text of an input line
  377. follows.
  378.  
  379. C-b
  380.      Move back one character.
  381.  
  382. C-f
  383.      Move forward one character.
  384.  
  385. DEL
  386.      Delete the character to the left of the cursor.
  387.  
  388. C-d
  389.      Delete the character underneath the cursor.
  390.  
  391. Printing characters
  392.      Insert itself into the line at the cursor.
  393.  
  394. C-_
  395.      Undo the last thing that you did.  You can undo all the way back
  396.      to an empty line.
  397.  
  398. 
  399. File: octave.info,  Node: Readline Movement Commands,  Next: Readline Killing Commands,  Prev: Readline Bare Essentials,  Up: Command Line Editing
  400.  
  401. Readline Movement Commands
  402. ==========================
  403.  
  404.    The above table describes the most basic possible keystrokes that
  405. you need in order to do editing of the input line.  For your
  406. convenience, many other commands have been added in addition to C-b,
  407. C-f, C-d, and DEL.  Here are some commands for moving more rapidly
  408. about the line.
  409.  
  410. C-a
  411.      Move to the start of the line.
  412.  
  413. C-e
  414.      Move to the end of the line.
  415.  
  416. M-f
  417.      Move forward a word.
  418.  
  419. M-b
  420.      Move backward a word.
  421.  
  422. C-l
  423.      Clear the screen, reprinting the current line at the top.
  424.  
  425.    Notice how C-f moves forward a character, while M-f moves forward a
  426. word.  It is a loose convention that control keystrokes operate on
  427. characters while meta keystrokes operate on words.
  428.  
  429. 
  430. File: octave.info,  Node: Readline Killing Commands,  Next: Readline Arguments,  Prev: Readline Movement Commands,  Up: Command Line Editing
  431.  
  432. Readline Killing Commands
  433. =========================
  434.  
  435.    "Killing" text means to delete the text from the line, but to save
  436. it away for later use, usually by "yanking" it back into the line.  If
  437. the description for a command says that it `kills' text, then you can
  438. be sure that you can get the text back in a different (or the same)
  439. place later.
  440.  
  441.    Here is the list of commands for killing text.
  442.  
  443. C-k
  444.      Kill the text from the current cursor position to the end of the
  445.      line.
  446.  
  447. M-d
  448.      Kill from the cursor to the end of the current word, or if between
  449.      words, to the end of the next word.
  450.  
  451. M-DEL
  452.      Kill from the cursor to the start of the previous word, or if
  453.      between words, to the start of the previous word.
  454.  
  455. C-w
  456.      Kill from the cursor to the previous whitespace.  This is
  457.      different than M-DEL because the word boundaries differ.
  458.  
  459.    And, here is how to "yank" the text back into the line.  Yanking is
  460.  
  461. C-y
  462.      Yank the most recently killed text back into the buffer at the
  463.      cursor.
  464.  
  465. M-y
  466.      Rotate the kill-ring, and yank the new top.  You can only do this
  467.      if the prior command is C-y or M-y.
  468.  
  469.    When you use a kill command, the text is saved in a "kill-ring".
  470. Any number of consecutive kills save all of the killed text together, so
  471. that when you yank it back, you get it in one clean sweep.  The kill
  472. ring is not line specific; the text that you killed on a previously
  473. typed line is available to be yanked back later, when you are typing
  474. another line.
  475.  
  476. 
  477. File: octave.info,  Node: Readline Arguments,  Next: Readline Init File,  Prev: Readline Killing Commands,  Up: Command Line Editing
  478.  
  479. Readline Arguments
  480. ==================
  481.  
  482.    You can pass numeric arguments to Readline commands.  Sometimes the
  483. argument acts as a repeat count, other times it is the sign of the
  484. argument that is significant.  If you pass a negative argument to a
  485. command which normally acts in a forward direction, that command will
  486. act in a backward direction.  For example, to kill text back to the
  487. start of the line, you might type M- C-k.
  488.  
  489.    The general way to pass numeric arguments to a command is to type
  490. meta digits before the command.  If the first `digit' you type is a
  491. minus sign (-), then the sign of the argument will be negative.  Once
  492. you have typed one meta digit to get the argument started, you can type
  493. the remainder of the digits, and then the command.  For example, to give
  494. the C-d command an argument of 10, you could type M-1 0 C-d.
  495.  
  496. 
  497. File: octave.info,  Node: Readline Init File,  Next: Readline Init Syntax,  Prev: Readline Arguments,  Up: Command Line Editing
  498.  
  499. Readline Init File
  500. ==================
  501.  
  502.    Although the Readline library comes with a set of Emacs-like
  503. keybindings, it is possible that you would like to use a different set
  504. of keybindings.  You can customize programs that use Readline by putting
  505. commands in an "init" file in your home directory.  The name of this
  506. file is `~/.inputrc'.
  507.  
  508.    When a program which uses the Readline library starts up, the
  509. `~/.inputrc' file is read, and the keybindings are set.
  510.  
  511.    In addition, the C-x C-r command re-reads this init file, thus
  512. incorporating any changes that you might have made to it.
  513.  
  514. * Menu:
  515.  
  516. * Readline Init Syntax::        Syntax for the commands in `~/.inputrc'.
  517. * Readline Vi Mode::            Switching to `vi' mode in Readline.
  518.  
  519. 
  520. File: octave.info,  Node: Readline Init Syntax,  Next: Readline Vi Mode,  Prev: Readline Init File,  Up: Command Line Editing
  521.  
  522. Readline Init Syntax
  523. ====================
  524.  
  525.    There are only four constructs allowed in the `~/.inputrc' file:
  526.  
  527. Variable Settings
  528.      You can change the state of a few variables in Readline.  You do
  529.      this by using the `set' command within the init file.  Here is how
  530.      you would specify that you wish to use Vi line editing commands:
  531.  
  532.           set editing-mode vi
  533.  
  534.      Right now, there are only a few variables which can be set; so few
  535.      in fact, that we just iterate them here:
  536.  
  537.     `editing-mode'
  538.           The `editing-mode' variable controls which editing mode you
  539.           are using.  By default, GNU Readline starts up in Emacs
  540.           editing mode, where the keystrokes are most similar to Emacs.
  541.           This variable can either be set to `emacs' or `vi'.
  542.  
  543.     `horizontal-scroll-mode'
  544.           This variable can either be set to `On' or `Off'.  Setting it
  545.           to `On' means that the text of the lines that you edit will
  546.           scroll horizontally on a single screen line when they are
  547.           larger than the width of the screen, instead of wrapping onto
  548.           a new screen line.  By default, this variable is set to `Off'.
  549.  
  550.     `mark-modified-lines'
  551.           This variable when set to `On', says to display an asterisk
  552.           (`*') at the starts of history lines which have been modified.
  553.           This variable is off by default.
  554.  
  555.     `prefer-visible-bell'
  556.           If this variable is set to `On' it means to use a visible
  557.           bell if one is available, rather than simply ringing the
  558.           terminal bell.  By default, the value is `Off'.
  559.  
  560. Key Bindings
  561.      The syntax for controlling keybindings in the `~/.inputrc' file is
  562.      simple.  First you have to know the name of the command that you
  563.      want to change.  The following pages contain tables of the command
  564.      name, the default keybinding, and a short description of what the
  565.      command does.
  566.  
  567.      Once you know the name of the command, simply place the name of
  568.      the key you wish to bind the command to, a colon, and then the
  569.      name of the command on a line in the `~/.inputrc' file.  The name
  570.      of the key can be expressed in different ways, depending on which
  571.      is most comfortable for you.
  572.  
  573.     KEYNAME: FUNCTION-NAME or MACRO
  574.           KEYNAME is the name of a key spelled out in English.  For
  575.           example:
  576.                Control-u: universal-argument
  577.                Meta-Rubout: backward-kill-word
  578.                Control-o: ">&output"
  579.  
  580.           In the above example, C-u is bound to the function
  581.           `universal-argument', and C-o is bound to run the macro
  582.           expressed on the right hand side (that is, to insert the text
  583.           `>&output' into the line).
  584.  
  585.     "KEYSEQ": FUNCTION-NAME or MACRO
  586.           KEYSEQ differs from KEYNAME above in that strings denoting an
  587.           entire key sequence can be specified.  Simply place the key
  588.           sequence in double quotes.  GNU Emacs style key escapes can
  589.           be used, as in the following example:
  590.  
  591.                "\C-u": universal-argument
  592.                "\C-x\C-r": re-read-init-file
  593.                "\e[11~": "Function Key 1"
  594.  
  595.           In the above example, C-u is bound to the function
  596.           `universal-argument' (just as it was in the first example),
  597.           C-x C-r is bound to the function `re-read-init-file', and ESC
  598.           [ 1 1 ~ is bound to insert the text `Function Key 1'.
  599.  
  600. * Menu:
  601.  
  602. * Commands For Moving::         Moving about the line.
  603. * Commands For History::        Getting at previous lines.
  604. * Commands For Text::           Commands for changing text.
  605. * Commands For Killing::        Commands for killing and yanking.
  606. * Numeric Arguments::           Specifying numeric arguments, repeat counts.
  607. * Commands For Completion::     Getting Readline to do the typing for you.
  608. * Miscellaneous Commands::      Other miscellaneous commands.
  609.  
  610. 
  611. File: octave.info,  Node: Commands For Moving,  Next: Commands For History,  Prev: Readline Init Syntax,  Up: Readline Init Syntax
  612.  
  613. Commands For Moving
  614. -------------------
  615.  
  616. `beginning-of-line (C-a)'
  617.      Move to the start of the current line.
  618.  
  619. `end-of-line (C-e)'
  620.      Move to the end of the line.
  621.  
  622. `forward-char (C-f)'
  623.      Move forward a character.
  624.  
  625. `backward-char (C-b)'
  626.      Move back a character.
  627.  
  628. `forward-word (M-f)'
  629.      Move forward to the end of the next word.
  630.  
  631. `backward-word (M-b)'
  632.      Move back to the start of this, or the previous, word.
  633.  
  634. `clear-screen (C-l)'
  635.      Clear the screen leaving the current line at the top of the screen.
  636.  
  637. 
  638. File: octave.info,  Node: Commands For History,  Next: Commands For Text,  Prev: Commands For Moving,  Up: Readline Init Syntax
  639.  
  640. Commands For Manipulating The History
  641. -------------------------------------
  642.  
  643. `accept-line (Newline, Return)'
  644.      Accept the line regardless of where the cursor is.  If this line is
  645.      non-empty, add it to the history list.  If this line was a history
  646.      line, then restore the history line to its original state.
  647.  
  648. `previous-history (C-p)'
  649.      Move `up' through the history list.
  650.  
  651. `next-history (C-n)'
  652.      Move `down' through the history list.
  653.  
  654. `beginning-of-history (M-<)'
  655.      Move to the first line in the history.
  656.  
  657. `end-of-history (M->)'
  658.      Move to the end of the input history, i.e., the line you are
  659.      entering!
  660.  
  661. `reverse-search-history (C-r)'
  662.      Search backward starting at the current line and moving `up'
  663.      through the history as necessary.  This is an incremental search.
  664.  
  665. `forward-search-history (C-s)'
  666.      Search forward starting at the current line and moving `down'
  667.      through the the history as necessary.
  668.  
  669. 
  670. File: octave.info,  Node: Commands For Text,  Next: Commands For Killing,  Prev: Commands For History,  Up: Readline Init Syntax
  671.  
  672. Commands For Changing Text
  673. --------------------------
  674.  
  675. `delete-char (C-d)'
  676.      Delete the character under the cursor.  If the cursor is at the
  677.      beginning of the line, and there are no characters in the line, and
  678.      the last character typed was not C-d, then return EOF.
  679.  
  680. `backward-delete-char (Rubout)'
  681.      Delete the character behind the cursor.  A numeric arg says to kill
  682.      the characters instead of deleting them.
  683.  
  684. `quoted-insert (C-q, C-v)'
  685.      Add the next character that you type to the line verbatim.  This is
  686.      how to insert things like C-q for example.
  687.  
  688. `tab-insert (M-TAB)'
  689.      Insert a tab character.
  690.  
  691. `self-insert (a, b, A, 1, !, ...)'
  692.      Insert yourself.
  693.  
  694. `transpose-chars (C-t)'
  695.      Drag the character before point forward over the character at
  696.      point.  Point moves forward as well.  If point is at the end of
  697.      the line, then transpose the two characters before point.
  698.      Negative args don't work.
  699.  
  700. `transpose-words (M-t)'
  701.      Drag the word behind the cursor past the word in front of the
  702.      cursor moving the cursor over that word as well.
  703.  
  704. `upcase-word (M-u)'
  705.      Uppercase the current (or following) word.  With a negative
  706.      argument, do the previous word, but do not move point.
  707.  
  708. `downcase-word (M-l)'
  709.      Lowercase the current (or following) word.  With a negative
  710.      argument, do the previous word, but do not move point.
  711.  
  712. `capitalize-word (M-c)'
  713.      Uppercase the current (or following) word.  With a negative
  714.      argument, do the previous word, but do not move point.
  715.  
  716. 
  717. File: octave.info,  Node: Commands For Killing,  Next: Numeric Arguments,  Prev: Commands For Text,  Up: Readline Init Syntax
  718.  
  719. Killing And Yanking
  720. -------------------
  721.  
  722. `kill-line (C-k)'
  723.      Kill the text from the current cursor position to the end of the
  724.      line.
  725.  
  726. `backward-kill-line ()'
  727.      Kill backward to the beginning of the line.  This is normally
  728.      unbound.
  729.  
  730. `kill-word (M-d)'
  731.      Kill from the cursor to the end of the current word, or if between
  732.      words, to the end of the next word.
  733.  
  734. `backward-kill-word (M-DEL)'
  735.      Kill the word behind the cursor.
  736.  
  737. `unix-line-discard (C-u)'
  738.      Do what C-u used to do in Unix line input.  We save the killed
  739.      text on the kill-ring, though.
  740.  
  741. `unix-word-rubout (C-w)'
  742.      Do what C-w used to do in Unix line input.  The killed text is
  743.      saved on the kill-ring.  This is different than backward-kill-word
  744.      because the word boundaries differ.
  745.  
  746. `yank (C-y)'
  747.      Yank the top of the kill ring into the buffer at point.
  748.  
  749. `yank-pop (M-y)'
  750.      Rotate the kill-ring, and yank the new top.  You can only do this
  751.      if the prior command is yank or yank-pop.
  752.  
  753. 
  754. File: octave.info,  Node: Numeric Arguments,  Next: Commands For Completion,  Prev: Commands For Killing,  Up: Readline Init Syntax
  755.  
  756. Specifying Numeric Arguments
  757. ----------------------------
  758.  
  759. `digit-argument (M-0, M-1, ... M--)'
  760.      Add this digit to the argument already accumulating, or start a new
  761.      argument.  M- starts a negative argument.
  762.  
  763. `universal-argument ()'
  764.      Do what C-u does in emacs.  By default, this is not bound.
  765.  
  766. 
  767. File: octave.info,  Node: Commands For Completion,  Next: Miscellaneous Commands,  Prev: Numeric Arguments,  Up: Readline Init Syntax
  768.  
  769. Letting Readline Type For You
  770. -----------------------------
  771.  
  772. `complete (TAB)'
  773.      Attempt to do completion on the text before point.  This is
  774.      implementation defined.  Generally, if you are typing a file name
  775.      argument, you can do file name completion; if you are typing a
  776.      command, you can do command completion, if you are typing in a
  777.      symbol to GDB, you can do symbol name completion, if you are
  778.      typing in a variable to Bash, you can do variable name
  779.      completion...
  780.  
  781. `possible-completions (M-?)'
  782.      List the possible completions of the text before point.
  783.  
  784. 
  785. File: octave.info,  Node: Miscellaneous Commands,  Prev: Commands For Completion,  Up: Readline Init Syntax
  786.  
  787. Some Miscellaneous Commands
  788. ---------------------------
  789.  
  790. `re-read-init-file (C-x C-r)'
  791.      Read in the contents of your `~/.inputrc' file, and incorporate
  792.      any bindings found there.
  793.  
  794. `abort (C-g)'
  795.      Ding!  Stops things.
  796.  
  797. `do-uppercase-version (M-a, M-b, ...)'
  798.      Run the command that is bound to your uppercase brother.
  799.  
  800. `prefix-meta (ESC)'
  801.      Make the next character that you type be metafied.  This is for
  802.      people without a meta key.  Typing ESC f is equivalent to typing
  803.      M-f.
  804.  
  805. `undo (C-_)'
  806.      Incremental undo, separately remembered for each line.
  807.  
  808. `revert-line (M-r)'
  809.      Undo all changes made to this line.  This is like typing the `undo'
  810.      command enough times to get back to the beginning.
  811.  
  812. 
  813. File: octave.info,  Node: Readline Vi Mode,  Prev: Readline Init Syntax,  Up: Command Line Editing
  814.  
  815. Readline Vi Mode
  816. ================
  817.  
  818.    While the Readline library does not have a full set of Vi editing
  819. functions, it does contain enough to allow simple editing of the line.
  820.  
  821.    In order to switch interactively between Emacs and Vi editing modes,
  822. use the command M-C-j (toggle-editing-mode).
  823.  
  824.    When you enter a line in Vi mode, you are already placed in
  825. `insertion' mode, as if you had typed an `i'.  Pressing ESC switches
  826. you into `edit' mode, where you can edit the text of the line with the
  827. standard Vi movement keys, move to previous history lines with `k', and
  828. following lines with `j', and so forth.
  829.  
  830. 
  831. File: octave.info,  Node: Using Info,  Next: Concept Index,  Prev: Command Line Editing,  Up: Top
  832.  
  833. Using Info
  834. **********
  835.  
  836. * Menu:
  837.  
  838. * Cursor Commands::
  839. * Scrolling Commands::
  840. * Node Commands::
  841. * Searching Commands::
  842. * Xref Commands::
  843. * Window Commands::
  844. * Printing Nodes::
  845. * Other Info Commands::
  846. * Info Variables::
  847.  
  848.    "Info" is a program which is used to view info files on an ASCII
  849. terminal. "info files" are the result of processing texinfo files with
  850. the program `makeinfo' or with  the Emacs command `M-x
  851. texinfo-format-buffer'.  Finally, "texinfo" is a documentation language
  852. which allows a printed manual and on-line documentation (an info file)
  853. to be produced from a single source file.
  854.  
  855. * Menu:
  856.  
  857. * Cursor Commands::        Commands which move the cursor within a node.
  858. * Scrolling Commands::        Commands for moving the node around in a window.
  859. * Node Commands::        Commands for selecting a new node.
  860. * Searching Commands::        Commands for searching an info file.
  861. * Xref Commands::        Commands for selecting cross references.
  862. * Window Commands::        Commands which manipulate multiple windows.
  863. * Printing Nodes::        How to print out the contents of a node.
  864. * Other Info Commands::     A few commands that defy categories.
  865. * Info Variables::        How to change the default behavior of Info.
  866.  
  867. 
  868. File: octave.info,  Node: Cursor Commands,  Next: Scrolling Commands,  Prev: Using Info,  Up: Using Info
  869.  
  870. Moving the Cursor
  871. =================
  872.  
  873.    Many people find that reading screens of text page by page is made
  874. easier when one is able to indicate particular pieces of text with some
  875. kind of pointing device.  Since this is the case, GNU Info (both the
  876. Emacs and standalone versions) have several commands which allow you to
  877. move the cursor about the screen.  The notation used in this manual to
  878. describe keystrokes is identical to the notation used within the Emacs
  879. manual, and the GNU Readline manual.  *Note Character Conventions:
  880. (emacs)Characters, if you are unfamiliar with the notation.
  881.  
  882.    The following table lists the basic cursor movement commands in Info.
  883. Each entry consists of the key sequence you should type to execute the
  884. cursor movement, the `M-x'(1) command name (displayed in parentheses),
  885. and a short description of what the command does.  All of the cursor
  886. motion commands can take an "numeric" argument (*note
  887. `universal-argument': Other Info Commands.), to find out how to supply
  888. them.  With a numeric argument, the motion commands are simply executed
  889. that many times; for example, a numeric argument of 4 given to
  890. `next-line' causes the cursor to move down 4 lines.  With a negative
  891. numeric argument, the motion is reversed; an argument of -4 given to the
  892. `next-line' command would cause the cursor to move *up* 4 lines.
  893.  
  894. `C-n' (`next-line')
  895.      Moves the cursor down to the next line.
  896.  
  897. `C-p' (`prev-line')
  898.      Move the cursor up to the previous line.
  899.  
  900. `C-a' (`beginning-of-line')
  901.      Move the cursor to the start of the current line.
  902.  
  903. `C-e' (`end-of-line')
  904.      Moves the cursor to the end of the current line.
  905.  
  906. `C-f' (`forward-char')
  907.      Move the cursor forward a character.
  908.  
  909. `C-b' (`backward-char')
  910.      Move the cursor backward a character.
  911.  
  912. `M-f' (`forward-word')
  913.      Moves the cursor forward a word.
  914.  
  915. `M-b' (`backward-word')
  916.      Moves the cursor backward a word.
  917.  
  918. `M-<' (`beginning-of-node')
  919. `b'
  920.      Moves the cursor to the start of the current node.
  921.  
  922. `M->' (`end-of-node')
  923.      Moves the cursor to the end of the current node.
  924.  
  925. `M-r' (`move-to-window-line')
  926.      Moves the cursor to a specific line of the window.  Without a
  927.      numeric argument, `M-r' moves the cursor to the start of the line
  928.      in the center of the window.  With a numeric argument of N, `M-r'
  929.      moves the cursor to the start of the Nth line in the window.
  930.  
  931.    ---------- Footnotes ----------
  932.  
  933.    (1)  `M-x' is also a command; it invokes `execute-extended-command'.
  934. *Note Executing an extended command: (emacs)M-x, for more detailed
  935. information.
  936.  
  937. 
  938. File: octave.info,  Node: Scrolling Commands,  Next: Node Commands,  Prev: Cursor Commands,  Up: Using Info
  939.  
  940. Moving Text Within a Window
  941. ===========================
  942.  
  943.    Sometimes you are looking at a screenful of text, and only part of
  944. the current paragraph you are reading is visible on the screen.  The
  945. commands detailed in this section are used to shift which part of the
  946. current node is visible on the screen.
  947.  
  948. `SPC' (`scroll-forward')
  949. `C-v'
  950.      Shift the text in this window up.  That is, show more of the node
  951.      which is currently below the bottom of the window.  With a numeric
  952.      argument, show that many more lines at the bottom of the window; a
  953.      numeric argument of 4 would shift all of the text in the window up
  954.      4 lines (discarding the top 4 lines), and show you four new lines
  955.      at the bottom of the window.  Without a numeric argument, SPC
  956.      takes the bottom two lines of the window and places them at the
  957.      top of the window, redisplaying almost a completely new screenful
  958.      of lines.
  959.  
  960. `DEL' (`scroll-backward')
  961. `M-v'
  962.      Shift the text in this window down.  The inverse of
  963.      `scroll-forward'.
  964.  
  965.    The `scroll-forward' and `scroll-backward' commands can also move
  966. forward and backward through the node structure of the file.  If you
  967. press SPC while viewing the end of a node, or DEL while viewing the
  968. beginning of a node, what happens is controlled by the variable
  969. `scroll-behaviour'.  *Note `scroll-behaviour': Info Variables, for more
  970. information.
  971.  
  972. `C-l' (`redraw-display')
  973.      Redraw the display from scratch, or shift the line containing the
  974.      cursor to a specified location.  With no numeric argument, `C-l'
  975.      clears the screen, and then redraws its entire contents.  Given a
  976.      numeric argument of N, the line containing the cursor is shifted
  977.      so that it is on the Nth line of the window.
  978.  
  979. `C-x w' (`toggle-wrap')
  980.      Toggles the state of line wrapping in the current window.
  981.      Normally, lines which are longer than the screen width "wrap",
  982.      i.e., they are continued on the next line.  Lines which wrap have
  983.      a `\' appearing in the rightmost column of the screen.  You can
  984.      cause such lines to be terminated at the rightmost column by
  985.      changing the state of line wrapping in the window with `C-x w'.
  986.      When a line which needs more space than one screen width to
  987.      display is displayed, a `$' appears in the rightmost column of the
  988.      screen, and the remainder of the line is invisible.
  989.  
  990. 
  991. File: octave.info,  Node: Node Commands,  Next: Searching Commands,  Prev: Scrolling Commands,  Up: Using Info
  992.  
  993. Selecting a New Node
  994. ====================
  995.  
  996.    This section details the numerous Info commands which select a new
  997. node to view in the current window.
  998.  
  999.    The most basic node commands are `n', `p', `u', and `l'.
  1000.  
  1001.    When you are viewing a node, the top line of the node contains some
  1002. Info "pointers" which describe where the next, previous, and up nodes
  1003. are.  Info uses this line to move about the node structure of the file
  1004. when you use the following commands:
  1005.  
  1006. `n' (`next-node')
  1007.      Selects the `Next' node.
  1008.  
  1009. `p' (`prev-node')
  1010.      Selects the `Prev' node.
  1011.  
  1012. `u' (`up-node')
  1013.      Selects the `Up' node.
  1014.  
  1015.    You can easily select a node that you have already viewed in this
  1016. window by using the `l' command - this name stands for "last", and
  1017. actually moves through the list of already visited nodes for this
  1018. window.  `l' with a negative numeric argument moves forward through the
  1019. history of nodes for this window, so you can quickly step between two
  1020. adjacent (in viewing history) nodes.
  1021.  
  1022. `l' (`history-node')
  1023.      Selects the most recently selected node in this window.
  1024.  
  1025.    Two additional commands make it easy to select the most commonly
  1026. selected nodes; they are `t' and `d'.
  1027.  
  1028. `t' (`top-node')
  1029.      Selects the node `Top' in the current info file.
  1030.  
  1031. `d' (`dir-node')
  1032.      Selects the directory node (i.e., the node `(dir)').
  1033.  
  1034.    Here are some other commands which immediately result in the
  1035. selection of a different node in the current window:
  1036.  
  1037. `<' (`first-node')
  1038.      Selects the first node which appears in this file.  This node is
  1039.      most often `Top', but it doesn't have to be.
  1040.  
  1041. `>' (`last-node')
  1042.      Selects the last node which appears in this file.
  1043.  
  1044. `]' (`global-next-node')
  1045.      Moves forward or down through node structure.  If the node that
  1046.      you are currently viewing has a `Next' pointer, that node is
  1047.      selected.  Otherwise, if this node has a menu, the first menu item
  1048.      is selected.  If there is no `Next' and no menu, the same process
  1049.      is tried with the `Up' node of this node.
  1050.  
  1051. `[' (`global-prev-node')
  1052.      Moves backward or up through node structure.  If the node that you
  1053.      are currently viewing has a `Prev' pointer, that node is selected.
  1054.      Otherwise, if the node has an `Up' pointer, that node is selected,
  1055.      and if it has a menu, the last item in the menu is selected.
  1056.  
  1057.    You can get the same behavior as `global-next-node' and
  1058. `global-prev-node' while simply scrolling through the file with SPC and
  1059. DEL; *Note `scroll-behaviour': Info Variables, for more information.
  1060.  
  1061. `g' (`goto-node')
  1062.      Reads the name of a node and selects it.  No completion is done
  1063.      while reading the node name, since the desired node may reside in
  1064.      a separate file.  The node must be typed exactly as it appears in
  1065.      the info file.  A file name may be included as with any node
  1066.      specification, for example
  1067.  
  1068.           `g(emacs)Buffers'
  1069.  
  1070.      finds the node `Buffers' in the info file `emacs'.
  1071.  
  1072. `C-x k' (`kill-node')
  1073.      Kills a node.  The node name is prompted for in the echo area,
  1074.      with a default of the current node.  "Killing" a node means that
  1075.      Info tries hard to forget about it, removing it from the list of
  1076.      history nodes kept for the window where that node is found.
  1077.      Another node is selected in the window which contained the killed
  1078.      node.
  1079.  
  1080. `C-x C-f' (`view-file')
  1081.      Reads the name of a file and selects the entire file.  The command
  1082.           `C-x C-f FILENAME'
  1083.      is equivalent to typing
  1084.           `g(FILENAME)*'
  1085.  
  1086. `C-x C-b' (`list-visited-nodes')
  1087.      Makes a window containing a menu of all of the currently visited
  1088.      nodes.  This window becomes the selected window, and you may use
  1089.      the standard Info commands within it.
  1090.  
  1091. `C-x b' (`select-visited-node')
  1092.      Selects a node which has been previously visited in a visible
  1093.      window.  This is similar to `C-x C-b' followed by `m', but no
  1094.      window is created.
  1095.  
  1096. 
  1097. File: octave.info,  Node: Searching Commands,  Next: Xref Commands,  Prev: Node Commands,  Up: Using Info
  1098.  
  1099. Searching an Info File
  1100. ======================
  1101.  
  1102.    GNU Info allows you to search for a sequence of characters
  1103. throughout an entire info file, search through the indices of an info
  1104. file, or find areas within an info file which discuss a particular
  1105. topic.
  1106.  
  1107. `s' (`search')
  1108.      Reads a string in the echo area and searches for it.
  1109.  
  1110. `C-s' (`isearch-forward')
  1111.      Interactively searches forward through the info file for a string
  1112.      as you type it.
  1113.  
  1114. `C-r' (`isearch-backward')
  1115.      Interactively searches backward through the info file for a string
  1116.      as you type it.
  1117.  
  1118. `i' (`index-search')
  1119.      Looks up a string in the indices for this info file, and selects a
  1120.      node where the found index entry points to.
  1121.  
  1122. `,' (`next-index-match')
  1123.      Moves to the node containing the next matching index item from the
  1124.      last `i' command.
  1125.  
  1126.    The most basic searching command is `s' (`search').  The `s' command
  1127. prompts you for a string in the echo area, and then searches the
  1128. remainder of the info file for an occurrence of that string.  If the
  1129. string is found, the node containing it is selected, and the cursor is
  1130. left positioned at the start of the found string.  Subsequent `s'
  1131. commands show you the default search string within `[' and `]';
  1132. pressing RET instead of typing a new string will use the default search
  1133. string.
  1134.  
  1135.    "Incremental searching" is similar to basic searching, but the
  1136. string is looked up while you are typing it, instead of waiting until
  1137. the entire search string has been specified.
  1138.  
  1139. 
  1140. File: octave.info,  Node: Xref Commands,  Next: Window Commands,  Prev: Searching Commands,  Up: Using Info
  1141.  
  1142. Selecting Cross References
  1143. ==========================
  1144.  
  1145.    We have already discussed the `Next', `Prev', and `Up' pointers
  1146. which appear at the top of a node.  In addition to these pointers, a
  1147. node may contain other pointers which refer you to a different node,
  1148. perhaps in another info file.  Such pointers are called "cross
  1149. references", or "xrefs" for short.
  1150.  
  1151. * Menu:
  1152.  
  1153. * Parts of an Xref::            What a cross reference is made of.
  1154. * Selecting Xrefs::             Commands for selecting menu or note items.
  1155.  
  1156. 
  1157. File: octave.info,  Node: Parts of an Xref,  Next: Selecting Xrefs,  Prev: Xref Commands,  Up: Xref Commands
  1158.  
  1159. Parts of an Xref
  1160. ----------------
  1161.  
  1162.    Cross references have two major parts: the first part is called the
  1163. "label"; it is the name that you can use to refer to the cross
  1164. reference, and the second is the "target"; it is the full name of the
  1165. node that the cross reference points to.
  1166.  
  1167.    The target is separated from the label by a colon `:'; first the
  1168. label appears, and then the target.  For example, in the sample menu
  1169. cross reference below, the single colon separates the label from the
  1170. target.
  1171.  
  1172.      * Foo Label: Foo Target.    More information about Foo.
  1173.  
  1174.    Note the `.' which ends the name of the target.  The `.' is not part
  1175. of the target; it serves only to let Info know where the target name
  1176. ends.
  1177.  
  1178.    A shorthand way of specifying references allows two adjacent colons
  1179. to stand for a target name which is the same as the label name:
  1180.  
  1181.      * Foo Commands::        Commands pertaining to Foo.
  1182.  
  1183.    In the above example, the name of the target is the same as the name
  1184. of the label, in this case `Foo Commands'.
  1185.  
  1186.    You will normally see two types of cross references while viewing
  1187. nodes: "menu" references, and "note" references.  Menu references
  1188. appear within a node's menu; they begin with a `*' at the beginning of
  1189. a line, and continue with a label, a target, and a comment which
  1190. describes what the contents of the node pointed to contains.
  1191.  
  1192.    Note references appear within the body of the node text; they begin
  1193. with `*Note', and continue with a label and a target.
  1194.  
  1195.    Like `Next', `Prev' and `Up' pointers, cross references can point to
  1196. any valid node.  They are used to refer you to a place where more
  1197. detailed information can be found on a particular subject.  Here is a
  1198. cross reference which points to a node within the Texinfo
  1199. documentation:  *Note Writing an Xref: (texinfo)xref, for more
  1200. information on creating your own texinfo cross references.
  1201.  
  1202. 
  1203. File: octave.info,  Node: Selecting Xrefs,  Prev: Parts of an Xref,  Up: Xref Commands
  1204.  
  1205. Selecting Xrefs
  1206. ---------------
  1207.  
  1208.    The following table lists the Info commands which operate on menu
  1209. items.
  1210.  
  1211. `1' (`menu-digit')
  1212. `2' ... `9'
  1213.      Within an Info window, pressing a single digit, (such as `1'),
  1214.      selects that menu item, and places its node in the current window.
  1215.      For convenience, there is one exception; pressing `0' selects the
  1216.      *last* item in the node's menu.
  1217.  
  1218. `0' (`last-menu-item')
  1219.      Select the last item in the current node's menu.
  1220.  
  1221. `m' (`menu-item')
  1222.      Reads the name of a menu item in the echo area and selects its
  1223.      node.  Completion is available while reading the menu label.
  1224.  
  1225. `M-x find-menu'
  1226.      Moves the cursor to the start of this node's menu.
  1227.  
  1228.    This table lists the Info commands which operate on note cross
  1229. references.
  1230.  
  1231. `f' (`xref-item')
  1232. `r'
  1233.      Reads the name of a note cross reference in the echo area and
  1234.      selects its node.  Completion is available while reading the cross
  1235.      reference label.
  1236.  
  1237.    Finally, the next few commands operate on menu or note references
  1238. alike:
  1239.  
  1240. `TAB' (`move-to-next-xref')
  1241.      Moves the cursor to the start of the next nearest menu item or note
  1242.      reference in this node.  You can then use RET
  1243.      (`select-reference-this-line' to select the menu or note reference.
  1244.  
  1245. `M-TAB' (`move-to-prev-xref')
  1246.      Moves the cursor the start of the nearest previous menu item or
  1247.      note reference in this node.
  1248.  
  1249. `RET' (`select-reference-this-line')
  1250.      Selects the menu item or note reference appearing on this line.
  1251.  
  1252. 
  1253. File: octave.info,  Node: Window Commands,  Next: Printing Nodes,  Prev: Xref Commands,  Up: Using Info
  1254.  
  1255. Manipulating Multiple Windows
  1256. =============================
  1257.  
  1258.    A "window" is a place to show the text of a node.  Windows have a
  1259. view area where the text of the node is displayed, and an associated
  1260. "mode line", which briefly describes the node being viewed.
  1261.  
  1262.    GNU Info supports multiple windows appearing in a single screen; each
  1263. window is separated from the next by its modeline.  At any time, there
  1264. is only one "active" window, that is, the window in which the cursor
  1265. appears.  There are commands available for creating windows, changing
  1266. the size of windows, selecting which window is active, and for deleting
  1267. windows.
  1268.  
  1269. * Menu:
  1270.  
  1271. * The Mode Line::               What appears in the mode line?
  1272. * Basic Windows::               Manipulating windows in Info.
  1273. * The Echo Area::               Used for displaying errors and reading input.
  1274.  
  1275.