:- use_module(library(editline)).forall(el_setup(Input), true) after 
the input stream has been wrapped, the default Prolog commands have been 
added and the default user setup file has been sourced using
el_source/2. It can be used to 
define and bind additional commands.