|
From: Ethan M. <merritt@u.washington.edu> - 2010-01-29 07:04:13
|
On Thursday 28 January 2010, Tatsuro MATSUOKA wrote: > Hello > > --- Tatsuro MATSUOKA wrote: > > > Hello > > > > --- Petr Mikulik wrote: > > > > > > The patch gives s gui 'gnuplot pause' window when the command 'pause -1' > > > > is executed when terminal is set to 'windows'. When WGP_CONSOLE is true. > > > > the code should be modified. I have encountered this problem and I have > > > > considered to treat the side effect. I will show it afterwards. > > > > > > "pause -1" shows a GUI Pause dialog. You would prefer to have just > > > fgets(stdin) for gnuplot.exe. I've tried it, but then mouse hotkeys are not > > > working during pause. So I prefer the current GUI dialog. > > > > What do you mean mouse hotkeys? > > > > Is 'the hotkey 'h' in the graph window' a example of mouse hotkey. > > > > The gnuplot.exe on windows on current state (without your patch) allows hotkeys ,'h','p', > > 'l'...... on > > graph window when gnuplot is in pause -1 and pause mouse mode. > > In pause -1 mode, we can use mouse zooming on the current gnuplot.exe on windows. > > > > Is the above a problem? > > > > However only return key breaks 'pause -1' for wgnuplot and gnuplot-x11(I have confirmed on > > cygwin) but > > any key breaks pause -1. > > > > That is a problem, I think. > > > > You patch at least changes of the feature of pause -1 on gnuplot.exe on windows from current > > state. > > If people hope this change, I am not against it. > > Although I wrote the above, the gui dialog on gnuplot.exe for windows is not my favor. > Perhaps it is better hear the opinions from other people. > > > BTW > > I found that Petr applied his patch for 'pause mouse' to cvs trees. I have build them and tried > all.dem > > I have found a serious side effect of this patch. Gui dialog 'gnuplot pause' does not appear on > wgnuplot when terminal is wxt. > > We can break pause press return on the command window of wgnuplot.exe but after return the graph > window is active, we have to turn back to the command window. This is really annoying to carry out > all.dem. That "after return the graph window is active" problem is there all the time when running the windows terminal under linux/wine. I have assumed that people using MSWin want it that way, although I myself find it incredibly annoying. My preference would be to never allow the program to steal focus from the command window, and get rid of the pop-up "pause" widget altogether. But I'm not using MSWin anyway. So if these behaviours are considered normal by people who do use MSWin, go ahead and ignore me. Ethan > The should be corrected, I think. > > Regards > > Tatsuro |