Re: Graceful exit of report
Posted in 1995
>From: hassler@gshp9000.gradsch.ohio-state.edu (Dick Hassler) >Date: 3 Mar 1995 11:25:25 -0500 >X-Informix-List-Id: <news.11964> > >Once a 4gl report program (basically there is no input, etc type command >statement where I can check the keystroke used) is there any way to >gracefully exit the program if Interrupt is depressed. If I could >determine this then I could add a line to the report that it had been >aborted etc. Basically, this is bug B24799: BUG NUMBER 24799 Product: 4GL Date: 02/25/94 REPORTS IGNORE INTERRUPT AND QUIT SIGNALS The function openoutput() in fgllib/fglrepgo.c and fgi/fgirepgo.c saves the interrupt handle function and then ignores (SIG_IGN) interrupt and quit signals. This is anti-social, not to mention a confounded nuisance. A different signal handler should be installed which does whatever clean up work is necessary for reports. This has not yet been scheduled for fixing. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>