Monday, October 8, 2007

Readline setup in Jython on OSX

In the last blog post I neglected to state that I included enabling readline support in the startup script for Jython. to remove this comment out:

-Dpython.console=org.python.util.ReadlineConsole \
-Dpython.console.readlinelib=GnuReadline \


If you want to enable readline support on OSX however download this file, unzip the file and move the 2 files into the /Library/Java/Extensions folder. Do not move the folder there just the 2 files that are contained by the folder. I did not compile these personally, unfortunately I lost the reference to the site that lead me to this epiphany.

No comments: