Why doesn Jython have a command-line history?
The shells and other tools commonly associated with having a command-line history get this functionality from the C ‘readline’ package. The java-readline library exposes readline to java. See ReadlineSetup in the wiki for instructions on configuring it and other alternatives. For the 2.1 release, there is console.py in the demo directory that adds a simple up/down.