|
From: Ethan M. <merritt@u.washington.edu> - 2010-01-29 01:12:20
|
On Thursday 28 January 2010 15:33:48 Tatsuro MATSUOKA wrote: > Hello > > I have remembered that Benjamin have posted concerning issue of ctrl+c on gnuplot.exe for windows. > > http://old.nabble.com/MSWin-issues-holding-up-4.4.rc1-td25793940.html#a26015183 > > **************** > --- gnuplot-4.3.0-2009-07-08-orig/src/plot.c 2009-09-20 20:16:47 +0200 > +++ gnuplot-4.3.0-2009-07-08/src/plot.c 2009-10-18 13:06:08 +0200 > @@ -684,7 +684,11 @@ > setmatherr(purec_matherr); > #endif > > +#if defined(WGP_CONSOLE) > + (void) signal(SIGINT, SIG_IGN); > +#else > (void) signal(SIGINT, (sigfunc) inter); > +#endif > > #ifdef SIGPIPE > /* ignore pipe errors, this might happen with set output "|head" */ > ****************** > > The above seems not to be applied yet. That would cause the program to ignore ctrl-c. It would be better to fix the signal-handling routine so that it responds to ctrl-c correctly. Does someone know the history of this problem? Did ctrl-c work on Windows in older versions of gnuplot? If so, when did it break? -- Ethan A Merritt |