You could use Rob Andres jline (http://jline.sourceforge.net) module
for a textorientated readline replacement. It is written in Java,
so you need to load the jarfiles jline.jar and JSupport.jar and you
have to define: python.console=JSupport.JLineConsole at startup.
Look for Rob Andre's mail on this list. There is no support for TAB
completion right now. And yes, readline is a C extension.
> Hi all,
> Just a short quick question
I want to do a little shell so I am using
> the cmd class to help me out. Of course I would also like to be able to
> do things as completion and history but it doesnt seem to be working
> Jython (I guess I need the readline module). Is this something that is
> written I C and therefore is not available to jython or is there
> something that I have missed?
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz