Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 3e60ff9d4d6f58c8fbd17208f14089fa > files > 103

octave-doc-3.2.3-3mdv2010.0.i586.rpm

<html lang="en">
<head>
<title>Commands For Completion - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Command-Line-Editing.html#Command-Line-Editing" title="Command Line Editing">
<link rel="prev" href="Commands-For-Text.html#Commands-For-Text" title="Commands For Text">
<link rel="next" href="Commands-For-History.html#Commands-For-History" title="Commands For History">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Commands-For-Completion"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Commands-For-History.html#Commands-For-History">Commands For History</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Commands-For-Text.html#Commands-For-Text">Commands For Text</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Command-Line-Editing.html#Command-Line-Editing">Command Line Editing</a>
<hr>
</div>

<h4 class="subsection">2.4.4 Letting Readline Type For You</h4>

<p><a name="index-command-completion-109"></a>
The following commands allow Octave to complete command and variable
names for you.

     <dl>
<dt><kbd>&lt;TAB&gt;</kbd><dd>Attempt to do completion on the text before the cursor.  Octave can
complete the names of commands and variables.

     <br><dt><kbd>M-?</kbd><dd>List the possible completions of the text before the cursor. 
</dl>

<!-- input.cc -->
   <p><a name="doc_002dcompletion_005fappend_005fchar"></a>

<div class="defun">
&mdash; Built-in Function: <var>val</var> = <b>completion_append_char</b> ()<var><a name="index-completion_005fappend_005fchar-110"></a></var><br>
&mdash; Built-in Function: <var>old_val</var> = <b>completion_append_char</b> (<var>new_val</var>)<var><a name="index-completion_005fappend_005fchar-111"></a></var><br>
<blockquote><p>Query or set the internal character variable that is appended to
successful command-line completion attempts.  The default
value is <code>" "</code> (a single space). 
</p></blockquote></div>

<!-- input.cc -->
   <p><a name="doc_002dcompletion_005fmatches"></a>

<div class="defun">
&mdash; Built-in Function:  <b>completion_matches</b> (<var>hint</var>)<var><a name="index-completion_005fmatches-112"></a></var><br>
<blockquote><p>Generate possible completions given <var>hint</var>.

        <p>This function is provided for the benefit of programs like Emacs which
might be controlling Octave and handling user input.  The current
command number is not incremented when this function is called.  This is
a feature, not a bug. 
</p></blockquote></div>

   </body></html>