Sophie

Sophie

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

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

<html lang="en">
<head>
<title>Customizing readline - 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-History.html#Commands-For-History" title="Commands For History">
<link rel="next" href="Customizing-the-Prompt.html#Customizing-the-Prompt" title="Customizing the Prompt">
<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="Customizing-readline"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Customizing-the-Prompt.html#Customizing-the-Prompt">Customizing the Prompt</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Commands-For-History.html#Commands-For-History">Commands For History</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.6 Customizing <code>readline</code></h4>

<p><a name="index-g_t_0040file_007b_007e_002f_002einputrc_007d-129"></a><a name="index-customizing-_0040code_007breadline_007d-130"></a><a name="index-g_t_0040code_007breadline_007d-customization-131"></a>
Octave uses the GNU Readline library for command-line editing and
history features.  Readline is very flexible and can be modified through
a configuration file of commands (See the GNU Readline library for the
exact command syntax).  The default configuration file is normally
<samp><span class="file">~/.inputrc</span></samp>.

   <p>Octave provides two commands for initializing Readline and thereby changing
the command line behavior.

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

<div class="defun">
&mdash; Built-in Function:  <b>read_readline_init_file</b> (<var>file</var>)<var><a name="index-read_005freadline_005finit_005ffile-132"></a></var><br>
<blockquote><p>Read the readline library initialization file <var>file</var>.  If
<var>file</var> is omitted, read the default initialization file (normally
<samp><span class="file">~/.inputrc</span></samp>).

        <p>See <a href="../readline/Readline-Init-File.html#Readline-Init-File">Readline Init File</a>,
for details. 
</p></blockquote></div>

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

<div class="defun">
&mdash; Built-in Function:  <b>re_read_readline_init_file</b> ()<var><a name="index-re_005fread_005freadline_005finit_005ffile-133"></a></var><br>
<blockquote><p>Re-read the last readline library initialization file that was read. 
See <a href="../readline/Readline-Init-File.html#Readline-Init-File">Readline Init File</a>,
for details. 
</p></blockquote></div>

   </body></html>