|
From: Ethan A M. <sf...@us...> - 2015-08-28 21:24:10
|
On Saturday, 29 August, 2015 01:48:58 Jun T. wrote: > > 2015/08/28 04:41, Ethan A Merritt <sf...@us...> wrote: > > > Patch 1 prevents "pause mouse" from returning prematurely > > With this patch "pause mouse" works now on my Mac. Thanks. Thanks for confirming. I will add the patches to CVS for 5.0 and 5.1 > But if I hit ^C in the console before closing the wxt window > then gnuplot hangs. Is the SIGINT handler at the end of > wxt_gui.cpp also used in the mono-threaded case? During normal operation, yes. However there is some funny business at the top of the the wxt_atexit() code that involves resetting sigint handling and is only executed in multi-threaded mode. I do not know if this is relevant to what you are seeing. > And --persist (without pause mouse) still doesn't work, for example > > $ echo 'set term wxt;plot sin(x)' | gnuplot -d -p > > quits immediately after opening the plot window. This may be due to > that the forked child (without exec) does not work well on Mac. > I guess supporting --persist on Mac would be rather difficult. I can't reproduce either of these problems on linux, so I think I will have to leave exploration of possible fixes to someone with an OSX system to experiment on. Ethan |