I’m using: SWI-Prolog version "(threaded, 64 bits, version 8.4.2) "
Instead of seeing previous queries recalled, a student of mine using swipl on Linux via Konsole just sees ^[[A echo when he hits up-arrow at the query prompt. It looks like this:
Possibly Kubuntu chopped up Prolog into even more pieces or the package is incomplete. The normal distribution comes with command line editors based on GNU libreadline and BSD libedit. In some Linux packages these may not be part of the -core package though.