Mail Archives: djgpp-workers/1998/01/12/04:20:19
On Sun, 11 Jan 1998, DJ Delorie wrote:
> 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.
OK, I will try to make this happen this weekend.
There's one thing that I don't understand, though, and it might affect
the implementation of this. It seems that our hardware keyboard
handler in exceptn.S leaves the key to be read by the previous
handler(s) we are chaining to. If this is true, what trick do we pull
for that? I always thought that when you read the keyboard port, you
remove the keystroke and it cannot be read again. Since our handler
does read that port, I am definitely missing something here.
I'm asking this because of the ``that key should be treated as any
other key'' part above. If the keystroke is indeed left in the
keyboard controller, then we don't need anything special besides
setting the signal handler to SIG_IGN to achieve that. Is this
correct?
- Raw text -