Re: [gamin] Gamin client ignores Ctrl-C while in FAMNextEvent?



On Thu, Oct 07, 2004 at 10:47:00PM -0700, Aleksey Nogin wrote:
> It seems that Gamin prevents Ctrl-C from taking effect while it is 
> inside FAMNextEvent - is this intentional?
> 
> I am seeing that when using FAM, OMake (http://omake.metaprl.org/) exits 
> right away on Ctrl-C. However when using Gamin, if Ctrl-C is pressed 
> while OMake is inside FAMNextEvent, then it will be ignored until after 
> FAMNextEvent returns (i.e. until after an event happens). Is this 
> intentional? If so, is there some easy way to make sure Ctrl-C works 
> right away?

  FAMNextEvent() blocks for the next event. Should it exit with an
error because read() got blocked due to an Ctrl-C event ?

> P.S. See also http://cvs.cs.cornell.edu:12000/bugzilla/show_bug.cgi?id=312

  Sounds like your application expects that behaviour from FAM.
I would have to change a bit of the code to do this, not 100% trivial.
Please bugzilla in Gnome or RedHat so it don't get lost,

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]