[Gambas-devel] Question about GB.CanRaise()

tobi tobias at ...692...
Sat May 26 17:37:57 CEST 2012


On Sat, 26 May 2012, Benoît Minisini wrote:
> Le 26/05/2012 14:41, tobi a écrit :
> >
> > Hum, I don't want to bother you again but I find my answer even less helpful now than yesterday. Let
> > me explain the code a bit as I intend to tidy it up afterwards anyway.
> >
> > All input related stuff is worried about by the INPUT module input.c. It gets initialised by the
> > main hook and then enters cbreak mode which I personally find the most useful for ncurses programs
> > (signal generation from, e.g., ctrl-c and character-by-character input). Therefore, stdin becomes
> > watched. A callback is associated to this watching, which is INPUT_callback(). This simply calls
> > WINDOW_raise_read() (when entering NoDelay mode things get trickier internally but the event stuff
> > will remain the same because, if even, only the watched fd changes). Then we are already at the
> > problem with GB.CanRaise().
> >
> > Don't stress yourself, I continue gb.ncurses on another frontier happily in the meantime.
> >
> > Regards,
> > Tobi
> >
> 
> Do you have some Gambas project to let met check that?
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 

Attached.
You see that there are outputs to stderr at some points in the input.c and none of them are reached.
The gambas code has, too, but neither that is reached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar
Type: application/x-tar
Size: 20480 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120526/22effbc5/attachment.tar>


More information about the Devel mailing list