Date: Sun, 4 Jan 1998 19:14:29 +0200 (IST) From: Eli Zaretskii To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: Re: djgpp v2.02 alpha 980101 In-Reply-To: <199801041521.KAA26437@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.