|
From: Daniel J S. <dan...@ie...> - 2014-02-16 10:00:07
|
On 02/16/2014 03:20 AM, Daniel J Sebald wrote:
> I'm seeing an error message when the mouse is disabled:
>
> gnuplot-testmouse]# ./prepare; ./configure --disable-mouse
>
> ...
>
> command.c: In function ‘timed_pause’:
> command.c:1353:13: error: ‘struct TERMENTRY’ has no member named
> ‘waitforinput’
> make[3]: *** [command.o] Error 1
Also, when I try to fix this I get a cascade of errors about
x11_update_key_box and toggling something or other. As a temporary
measure, I selectively went through and commented out a dozen locations
with "#ifdef USE_MOUSE". Eventually it compiled.
I also notice that, as far as the terminal, it seems that when the mouse
is used, the first terminal function called is this one:
int qt_waitforinput(int)
{
std::cout << "foo16";
exit(0);
}
Shouldn't it be qt_init() that is called first? I looked at this
because I'm experimenting with the Qt terminal and if the wrong value
happens to be returned for qt_waitforinput() gnuplot goes into an
infinite loop spitting out the same character. I wouldn't worry about
that part of it, because this is an experimental state, but I'm just
curious why term_init() isn't the first thing called. If the idea is
that the mouse can generate something in waitforinput(), shouldn't the
mouse be valid first before waiting on input?
Dan
|