Home Contents Index Summary Previous Next

A.4 Readline Interaction

The following predicates are available if feature(readline, true) succeeds. They allow for direct interaction with the GNU readline library. See also readline(3)

rl_read_init_file(+File)
Read a readline initialisation file. Readline by default reads ~/.inputrc. This predicate may be used to read alternative readline initialisation files.

rl_add_history(+Line)
Add a line to the Control-P/Control-N history system of the readline library.