On 29/08/2007, Toni Menzel <[EMAIL PROTECTED]> wrote: > > Niclas, > the api supports configuring the magic completion behavior - so it isn't > magic. Looks like the native benefit is just to get better buffering of the > incoming stream (this is why System.in by default is pretty ugly) > > Having a pure java solution couldn't be too hard (just think of java5/6) > but actually haven't been done yet. :-(
well in Java 6 there is the new Console class: http://java.sun.com/javase/6/docs/api/java/io/Console.html but to properly support auto-complete in earlier releases you'll need to dig below Java... What currently blocks me from testing jline is the fact that it does not > work on my current corporate machine based running winXP. > Anyone got that ? (there is a bug at > http://sourceforge.net/tracker/index.php?func=detail&aid=1671224&group_id=64033&atid=506056 > ) > > Toni > > -------- Original-Nachricht -------- > > Datum: Wed, 29 Aug 2007 16:52:52 +0800 > > Von: Niclas Hedhman <[EMAIL PROTECTED]> > > An: [email protected] > > Betreff: Re: Felix Shell TUI and JLine > > > On Wednesday 29 August 2007 15:27, Karl Pauls wrote: > > > it used shutdown hooks to switch the tty back to buffered mode; > > > and the native code (which is only used for windows btw.) didn't work > > > for me under XP. > > > > I must be dense, but why is such library going down to the shell/native > at > > all?? > > > > How does tab completion have any clue that "bun<tab>" means "bundle " > and > > can > > only be followed by bundle IDs of installed bundles?? > > > > And how hard could it be to do such support directly in Shell TUI?? > > > > > > Cheers > > -- > > Niclas Hedhman, Software Developer > > > > I live here; http://tinyurl.com/2qq9er > > I work here; http://tinyurl.com/2ymelc > > I relax here; http://tinyurl.com/2cgsug > -- Cheers, Stuart
