ยป rlwrap
Thanks to Tene for pointing this out to me. It seems like a really useful tool. I am playing with Clojure in my spare time (ha!), and its repl doesn't have readline support (or anything like it). The clojure website suggests some Java readline-like jar, but I like this solution much better. I just made a script to wrap clojure in rlwrap, and it's working great.
$ cat ~/bin/clojure
#!/bin/sh
exec rlwrap java -jar ~/src/clojure/clojure.jar





