Sophie

Sophie

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

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

<html lang="en">
<head>
<title>Command Line Editing - 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="Getting-Started.html#Getting-Started" title="Getting Started">
<link rel="prev" href="Getting-Help.html#Getting-Help" title="Getting Help">
<link rel="next" href="Errors.html#Errors" title="Errors">
<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="Command-Line-Editing"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Errors.html#Errors">Errors</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Getting-Help.html#Getting-Help">Getting Help</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Getting-Started.html#Getting-Started">Getting Started</a>
<hr>
</div>

<h3 class="section">2.4 Command Line Editing</h3>

<p><a name="index-command_002dline-editing-104"></a><a name="index-editing-the-command-line-105"></a>
Octave uses the GNU Readline library to provide an extensive set of
command-line editing and history features.  Only the most common
features are described in this manual.  In addition, all of the editing
functions can be bound to different key strokes at the user's discretion. 
This manual assumes no changes from the default Emacs bindings.  See the GNU
Readline Library manual for more information on customizing Readline and
for a complete feature list.

   <p>To insert printing characters (letters, digits, symbols, etc.), simply
type the character.  Octave will insert the character at the cursor and
advance the cursor forward.

   <p>Many of the command-line editing functions operate using control
characters.  For example, the character <kbd>Control-a</kbd> moves the cursor
to the beginning of the line.  To type <kbd>C-a</kbd>, hold down &lt;CTRL&gt;
and then press &lt;a&gt;.  In the following sections, control characters
such as <kbd>Control-a</kbd> are written as <kbd>C-a</kbd>.

   <p>Another set of command-line editing functions use Meta characters.  To
type <kbd>M-u</kbd>, hold down the &lt;META&gt; key and press &lt;u&gt;.  Depending
on the keyboard, the &lt;META&gt; key may be labeled &lt;ALT&gt; or
even &lt;WINDOWS&gt;.  If your terminal does not have a &lt;META&gt; key, you
can still type Meta characters using two-character sequences starting
with <kbd>ESC</kbd>.  Thus, to enter <kbd>M-u</kbd>, you would type
&lt;ESC&gt; &lt;u&gt;.  The <kbd>ESC</kbd> character sequences are also allowed on
terminals with real Meta keys.  In the following sections, Meta
characters such as <kbd>Meta-u</kbd> are written as <kbd>M-u</kbd>.

<ul class="menu">
<li><a accesskey="1" href="Cursor-Motion.html#Cursor-Motion">Cursor Motion</a>
<li><a accesskey="2" href="Killing-and-Yanking.html#Killing-and-Yanking">Killing and Yanking</a>
<li><a accesskey="3" href="Commands-For-Text.html#Commands-For-Text">Commands For Text</a>
<li><a accesskey="4" href="Commands-For-Completion.html#Commands-For-Completion">Commands For Completion</a>
<li><a accesskey="5" href="Commands-For-History.html#Commands-For-History">Commands For History</a>
<li><a accesskey="6" href="Customizing-readline.html#Customizing-readline">Customizing readline</a>
<li><a accesskey="7" href="Customizing-the-Prompt.html#Customizing-the-Prompt">Customizing the Prompt</a>
<li><a accesskey="8" href="Diary-and-Echo-Commands.html#Diary-and-Echo-Commands">Diary and Echo Commands</a>
</ul>

   </body></html>