Next: Customizing the Prompt, Previous: Commands For History, Up: Command Line Editing

#### 2.4.6 Customizing `readline`

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 `~/.inputrc`.

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

— Built-in Function: read_readline_init_file (file)

> Read the readline library initialization file file. If file is omitted, read the default initialization file (normally `~/.inputrc`).

> See Readline Init File, for details.

— Built-in Function: re_read_readline_init_file ()

> Re-read the last readline library initialization file that was read. See Readline Init File, for details.