Charles Oliver Nutter wrote:
> Per Bothner wrote:
>> I'm inclined to think there is little use for this for Java
>> applications.  On Unix-like systems you'd presumably start up
>> your application using a wrapper binary or shell script, so your
>> users don't have to invoke Java manually.  And such as wrapper
>> can easily use rlwrap or Kawa's kawa.c wrapper, which avoids
>> the GPL issue, and thus the need for Editline.
> 
> In our case, Readline is necessary because the Ruby REPL "IRB" uses 
> Readline directly to hook in method completions and other features. So 
> having Jline or something similar as part of JRuby is the only way.

Good point - it's more difficult to handle tab-completion
when using a front-end.

However, it should be doable when using sockets, like Kawa does:
A tab calls the readline completer hook, which sends a message
to the backend, which sends back candidate completions.
-- 
        --Per Bothner
[EMAIL PROTECTED]   http://per.bothner.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to