SBCL REPL use up arrow keys to show history

Install rlwrap and then run rlwrap sbcl.

You can get rlwrap through macports or homebrew.

It's pretty much as simple as that.


You could also also use Linedit. This is SBCL REPL specific, so it causes problems in other environments (like SLIME).

Or, you can try the SBCL-Readline project. Not sure how this works in SLIME, haven't tried it personally.

Both Uses UFFI to implement the use of C libraries. Just make sure to skim through the source code and change the paths to libraries etc for your system, before trying them out!