Mail Archives: djgpp-workers/1998/01/11/14:09:50
> There are two possible ways to introduce it without such effects:
> either we disable SIGQUIT generation at startup and tell people to
> call `__djgpp_set_sigquit_key' if they want it enabled; or we enable
> it at startup, but define its default handler to be SIG_IGN. Which
> way do you prefer me to do it?
Of the two, I prefer the second. How's this sound:
The default handler for SIGQUIT should be SIG_IGN instead of unix's
standard core dump. Even setting SIGQUIT to SIG_DFL should set it to
SIG_IGN. When SIGQUIT is ignored, that key should be treated as any
other key.
That way, unsuspecting DOS programs won't get surprised, unix programs
expecting SIGQUIT will get it, and other unix programs will think it's
on some other key that the user never hits.
- Raw text -