The following predicates are available if
current_prolog_flag(readline, true)
succeeds. They allow
for direct interaction with the GNU readline library. See also
readline(3)
/.inputrc
. This predicate may be used to read alternative
readline initialisation files.