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 ()
: 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.