On 7/31/07, David Chisnall <[EMAIL PROTECTED]> wrote:
> On 1 Aug 2007, at 00:12, Yen-Ju Chen wrote:
>
> >   The solution is to catch signal 'SIGINT' as MenuServer,
> >   but I don't know how portable it is.
>
> SIGINT is basic POSIX.  The realtime extensions with the signal
> handlers that are actually useful are not so well supported (work
> well on Solaris, work on FreeBSD, sometimes work on Linux, don't work
> on OpenBSD).
>
> I think Cocoa's NSApplication registers a signal handler for this so
> sending a process a SIGINT injects a message into the run queue which
> calls a method which calls applicationWillTerminate: and then exits
> cleanly.  I'm a bit surprised GNUstep doesn't do this.

  Maybe we should file a feature request to GNUstep ?

  Yen-Ju

>
> David
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à