Customizing readline (GNU Octave (version 5.1.90))

Next: Customizing the Prompt, Previous: Commands for History, Up: Command Line Editing [Contents][Index]

#### 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.

readline_read_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 in GNU Readline Library, for details.

  See also: readline_re_read_init_file.

readline_re_read_init_file ()

  Re-read the last readline library initialization file that was read.

  See Readline Init File in GNU Readline Library, for details.

  See also: readline_read_init_file.