1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
<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.11">
<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">
<p>
<a name="Customizing-readline"></a>
Next: <a rel="next" accesskey="n" href="Customizing-the-Prompt.html#Customizing-the-Prompt">Customizing the Prompt</a>,
Previous: <a rel="previous" accesskey="p" href="Commands-For-History.html#Commands-For-History">Commands For History</a>,
Up: <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">
— 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">
— 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>
|