Open GoogleCodeExporter opened 9 years ago
That's easily done with jline. You can download the jar from:
http://jline.sourceforge.net/index.html
I assume you put your jars in /opt/lib. Run:
java -cp /opt/lib/jline.jar:/opt/lib/bsh-2.1b5.jar jline.ConsoleRunner
bsh.Interpreter
Voila! Beanshell with readline capabilities ;-)
Original comment by lyderic....@gmail.com
on 29 May 2012 at 1:31
Interesting. Thanks for the reply. I'll give this a shot.
Any reason this functionality should not be bundle with BeanShell by default?
Seems like a necessary feature, given the expectations created by the average
REPL and interactive interpreters.
Original comment by jml...@gmail.com
on 29 May 2012 at 1:34
Well I guess many people don't run Beanshell in interactive mode (I don't), so
it is no use to bloat the jar...
Personally, I would prefer to keep it the way it is now.
Original comment by lyderic....@gmail.com
on 29 May 2012 at 2:12
Fair enough.
Thanks for the replies.
Original comment by jml...@gmail.com
on 29 May 2012 at 2:22
Original issue reported on code.google.com by
jml...@gmail.com
on 25 Sep 2011 at 8:07