|
From: Jim H. <ji...@my...> - 2001-01-16 05:48:10
|
I'm surprised there isn't better readline support in the JDK. From poking around a bit I'm finding the console support in Java to be terrible. Has anyone tried making a very basic AWT (or Swing) app out of the jython interpreter? This way it looks like an interpreter but can use the AWT's Keyevents, which do support the up arrow. Having Jython run in a frame with a textarea should be all that's needed. It should then be able to read and append to the text area as usual. -Jim > Jim wrote: > > " > I'm new to this list so I'm sorry if this has been answered recently (I > did a search through the archive and it didn't come up with anything). > > Anyway, I'm having a problem with the command history in Jython. When I > hit the up arrow, instead of getting my previous commands, I get ^[OA. > Command history works correctly in CPython 2.0. Is this feature > supported in Jython? > > I'm running on JDK 1.3 (Blackdown 1.3.0 FCS). > > Any suggestions? > " |