|
From: Ethan A M. <sf...@us...> - 2014-08-04 21:36:11
|
On Monday, 04 August, 2014 22:56:47 Petr Mikulik wrote:
> >> I have just tried the current cvs to which the enclosed patch has been applied
> >> but all the commands
> >> pause mouse ...
> >> do not work now (gnuplot command prompt is frozen till Ctrl/C).
> >> Can you please repair it?
> >
> > What terminal and what operating system? 4.6 or 5.0?
>
> Cvs of both 4.6 and 5.0.
> Linux with x11 and wxt terminals.
Very strange.
I don't see any problems here, and I can't fix it if I can't see it.
The patch only touches the code path in which mouse button 1 is clicked.
I could imagine that the new action is not correct for some platform or
some terminal. But I cannot see how the patch can affect mouse commands
that do not involve button 1, nor do I understand how it can affect any
command at all up to the point when mouse button 1 is clicked.
I do notice one thing that possibly is confusing...
When you say "pause mouse {button1|any}" and then
click the mouse, no <cr> is sent to the terminal and
no new prompt is generated.
So it is not obvioud that control has returned to the terminal and a
new command can be typed and executed.
Try this:
type "plot sin(x)"
type "pause mouse any"
type "show variable MOUSE"
No prompt is showing and no output appears yet in the terminals.
Now go the the plot window and left-click the mouse
In response to the mouse click, control will return to the terminal
and the output of "show variable MOUSE" will appear.
Does that not work for you?
Ethan
>
> Petr
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|