When I push up / down, I should get - like unix - the previous commands, but instead get:
Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 6.0.0) Copyright (c) 1990-2011 University of Amsterdam, VU Amsterdam SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Please visit http://www.swi-prolog.org for details. For help, use ?- help(Topic). or ?- apropos(Word). 1 ?- ['nc']. % nc compiled into nc 0.00 sec, 84 clauses true. 2 ?- listing. true.
(I press the Up key to return the listing command .. then ..)
3 ?- **^[[A**
I compiled from the source without any additional "configure" or "make" options.
In a previous version of the swi prolog, I found that this worked erratically. Sometimes the console got into a mess, and I had to press ".". to make it finish the current line, then the story will start working again.
But this latest version .. nada .. I am using ubuntu linux, bash shell. This is like an os environmental issue or bug in swi-prolog. Keys / arrow history works great on Linux level.
magus source share