Date: Tue, 2 Mar 1999 18:09:25 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: SIGINT handling with CTRL-C In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 1 Mar 1999, Mike Ruskai wrote: > I've set up a handler with signal(), and tried calling __djgpp_set_ctrl_c() > both before and after it. For starters, I don't understand why did you need to call __djgpp_set_ctrl_c at all. The SIGINT handler should have been called without it. > But CTRL-C still results in an immediate end to the program, without going to > the SIGINT handler. On what operating system? DOS? Windows 3.X? Windows 9X? Windows NT? Linux/DOSEmu?