Bug#572432: clojure-repl: REPL does not use JLine ConsoleRunner or another readline-style library

Peter Collingbourne peter at pcc.me.uk
Thu Mar 4 14:00:20 UTC 2010


tag 572432 confirmed
thanks

On Thu, Mar 04, 2010 at 01:53:32AM -0600, C Erler wrote:
> Package: clojure
> Version: 1.0.0+dfsg-1
> Severity: normal
> 
> According to http://clojure.org/getting_started
> 
> > In the directory in which you expanded clojure.zip, run:
> > java -cp clojure.jar clojure.main
> > 
> > ...
> > 
> > The REPL has very rudimentary editing. For a better experience, try running it
> > via the JLine ConsoleRunner:
> > java -cp jline-0.9.91.jar:clojure.jar jline.ConsoleRunner clojure.main
> 
> The current clojure package uses something similar to the first invocation.  It would be much nicer if it was switched to use JLine with something like the second invocation, so that the up/down arrow history worked properly, as is standard on nearly all other programming language REPLs.

Thank you for your bug report.  This is a good idea and JLine will
be added as a Recommendation to the next version of the package with
optional support in the clojure script for JLine.

Thanks,
-- 
Peter





More information about the pkg-java-maintainers mailing list