Hello Helmut, You are probably looking for utop ( https://opam.ocaml.org/packages/utop/ ) which also has autocompletion and other nice features. Alternatively, you can use rlwrap ( https://linux.die.net/man/1/rlwrap ) to wrap any non-readline program into readline. cheers, Martin On 7/2/19 6:48 PM, Helmut Brandl wrote: > Hello list, > > is there a possibility to write an interactive console program in ocaml using a functionality like gnu’s readline i.e. allowing the user to press e.g. arrow up to get the previous line? > > Regards > Helmut >