Marc Prud'hommeaux has released a new version of his Jline utility which adds
history and editing functionality to command line apps. It can be used with
BeanShell on the command line in a pass-through mode.
----- Forwarded message from Marc Prud'hommeaux <mwp1@...> -----
Just thought I would let you know that I've released a new version of
xxx Jline, which has the nice feature of a command pass-through for
other console applications. E.g., to run beanshell through it:
java jline.ConsoleRunner bsh.Interpreter
It doesn't have any default tab-completors written for it yet (I was
thinking that a java syntax-parsing completor would be nifty, but I
haven't gotten around to it), but line editing and command history
functions work pretty well. Also, this version supports Windows (albeit
with the need to it to extract and load a .dll).
Anyway, thought you might be interested in checking it out. I use the
beanshell command interpreter every day, and this vastly improves the
experience for me. Docs are at http://jline.sf.net . Feel free to
include it in the beanshell distribution if you like.