Mail Archives: djgpp-workers/1998/01/04/12:14:36
On Sun, 4 Jan 1998, DJ Delorie wrote:
> > We could always disable it by default (by making the QUIT key variable
> > be zero).
>
> Would Ctrl-@ trigger it, then?
No, the INTR and QUIT keys are stored as scan code in the lower byte and
keyboard shift mask in the higher byte. Since no key has a scan code of
zero, setting that variable to zero means effectively disabling the
feature.
> > Would asking about this on c.o.m.d. (to reach wider audience) be a
> > good idea?
>
> Yes. We're looking for *dos* programs that use Ctrl-\ without being
> careful.
I will ask.
> Perhaps signal() and sigaction() could enable SIGQUIT the first time
> someone sets a handler for it?
I will see if that will do the trick.
- Raw text -