On Thursday 09 February 2006 11:11 pm, Thomas E Enebo wrote:
>   IRB known problems:
>     readline -- Perhaps we can make empty terminal or make irb use
>       Swing/AWT (and make a GUI-based readline)
>     binding -- you have a patch which may be good enough here?
>     trap -- no way to interrupt SIGINT without taking down system.  Perhaps
>       a GUI-based irb is not so bad after all..

You can install a hook in java that catches CTRL-C (isn't that what SIGINT 
is?).  The exact bits of how to do it escape me, but it's in java.lang, 
possibly System.

>
>   sample/eval.rb is a super poor mans irb also.
>
>   I also got debug.rb to run by commenting out the trap (we may need
> to stub this one out since it appears in most interactive ruby scripts).
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to