Re: [MacRuby-devel] Noob q: Press any key to cancel

2011-12-07 Thread Maik Kempe
preciated .. tnx, > Rob > > ___ > > MacRuby-devel mailing list > > MacRuby-devel at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > >• Previous message: [MacRuby-de

Re: [MacRuby-devel] Noob q: Press any key to cancel

2011-12-07 Thread Daniel Westendorf
; > MacRuby-devel at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > >• Previous message: [MacRuby-devel] Noob q: Press any key to cancel >• Next message: [MacRuby-devel] #welovemacruby >

Re: [MacRuby-devel] Noob q: Press any key to cancel

2011-12-07 Thread Rob Ista
g list MacRuby-devel at lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel • Previous message: [MacRuby-devel] Noob q: Press any key to cancel • Next message: [MacRuby-devel] #welovemacruby • Messages sorted by: [ date ] [ thread ] [

Re: [MacRuby-devel] Noob q: Press any key to cancel

2011-12-05 Thread Terry Moore
Could you wrap the process into an NSTask and use pipes to communicate? Terry On 6/12/2011, at 11:43 AM, Rob Ista wrote: > Hi, i have broken my braincells while trying to find a simple solution for > interrupting a potentially long running calculation loop. > A key event seems to wait until th

[MacRuby-devel] Noob q: Press any key to cancel

2011-12-05 Thread Rob Ista
Hi, i have broken my braincells while trying to find a simple solution for interrupting a potentially long running calculation loop. A key event seems to wait until the app gets back to the main loop, a system("stty raw -echo") just hangs, gets and read.non-block either wait or want a enter to