X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Mon, 14 Jan 2002 13:12:54 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: ROLAND cc: djgpp AT delorie DOT com Subject: Re: PMCOM & signals In-Reply-To: <20020114094223.8595.qmail@web9103.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 14 Jan 2002, ROLAND wrote: > I have been in touch with Mr. Marinov, and he told me > that if CTRL-C has been pressed it is indeed possible > that the program crashes. > I then tried to catch the interrupt and handle it > correct, but for some reason my program doesn't catch > the CTRL-C and still gives me the error on pressing > CTRL-C. > Does anybody know how to solve this? If you want to disable Ctrl-C's effect on the program's data selector, this will do it: __djgpp_set_ctrl_c(0);