|
Re: Q: No Doskey in Jython console?: msg#00052lang.jython.user
Johannes Eble wrote: ok, I found out from the FAQ that console shortcuts are not supported in Yes. But it requires compiling your own customized Jython. The best docs for doing this are here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-readline/java-readline/contrib/jpython/jython-install.txt?rev=1.1 java-readline has three choices of back-end library: GNU Readline, BSD Editline, and Getline. Getline is the easiest to compile, has no license clashes with Jython, and works fine for me. I highly recommend using Getline. After you compile and install Jython with java-readline support, you'll need to add a couple of lines to your Jython registry (see http://www.jython.org/docs/registry.html): python.console=org.python.util.ReadlineConsole python.console.readlinelib=Getline -- David Ripton dripton@xxxxxxxxxx ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ANN] cubictemp on jython, Ashish Shrestha |
|---|---|
| Next by Date: | Jython and Grasshopper : NullPointerException, Johannes Eble |
| Previous by Thread: | Re: Q: No Doskey in Jython console?, Johannes Eble |
| Next by Thread: | JBJython (Jython and JBuilder 5), Johannes Eble |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |