Date: Thu, 29 Jan 1998 10:57:12 +0200 (IST) From: Eli Zaretskii To: Jerry van Dijk cc: djgpp AT delorie DOT com Subject: Re: ctrl-c handling question In-Reply-To: <01bd2bf2$0f2058a0$542c5c8b@aptiva> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 28 Jan 1998, Jerry van Dijk wrote: > However, when running the following program: > > int main(void) > { > while (1) { > } > } > > pressing CTRL-C has no effect. > > Anyone have any idea as to the cause and how to get around it ? I have an idea: read the documentation of the DJGPP signal-handling mechanism. From the DOS prompt type "info libc alpha signal" and read there. Near the end of the description there are notes about the DJGPP implementation of signals which should make the reasons for the above behavior clear.