doing some test with readline and autoexecutable scripts
Use readline. Complete rewrite