|
From: Daniel J S. <dan...@ie...> - 2014-02-16 09:21:02
|
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 Dan |
|
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
|
|
From: Bastian M. <bma...@we...> - 2014-02-16 18:57:42
|
Building without USE_MOUSE defined has been broken for a long time on Windows and (if I remember correctly) on OS/2, too. The question for me is hence, if it is worth still supporting it. Is there a need for builds without mouse? Bastian Am 16.02.2014 10:20, schrieb Daniel J Sebald: > 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 > > Dan > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Daniel J S. <dan...@ie...> - 2014-02-16 19:25:53
|
On 02/16/2014 12:57 PM, Bastian Märkisch wrote: > Building without USE_MOUSE defined has been broken for a long time on > Windows and (if I remember correctly) on OS/2, too. The question for me > is hence, if it is worth still supporting it. Is there a need for builds > without mouse? Good question. I'm defining it out right now for development purposes, but could probably get by manually commenting out a line or two. Dan > > Bastian > > Am 16.02.2014 10:20, schrieb Daniel J Sebald: >> 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 >> >> Dan >> >> ------------------------------------------------------------------------------ >> >> Android apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> gnuplot-beta mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta >> > > -- Dan Sebald email: daniel(DOT)sebald(AT)ieee(DOT)org URL: http://www(DOT)dansebald(DOT)com |
|
From: sfeam <sf...@us...> - 2014-02-16 20:30:26
|
On Sunday, 16 February 2014 01:24:05 PM Daniel J Sebald wrote: > On 02/16/2014 12:57 PM, Bastian Märkisch wrote: > > Building without USE_MOUSE defined has been broken for a long time on > > Windows and (if I remember correctly) on OS/2, too. The question for me > > is hence, if it is worth still supporting it. Is there a need for builds > > without mouse? > > Good question. I'm defining it out right now for development purposes, > but could probably get by manually commenting out a line or two. ./configure --disable-mouse --disable-wxwidgets --without-x builds correctly here. In other words, if you don't build the terminals that support mousing then you don't need the mouse support :-) I could imagine that someone would want to build a stripped-down configuration without these terminals, but it's probably not common. One option would be to make the configure scripts force --enable-mouse if any of the terminals that require it are selected. That definitely includes wxt, qt, and x11. Probably also caca, ggi, pm, vgagl. Maybe others. Ethan > > Dan > > > > > > Bastian > > > > Am 16.02.2014 10:20, schrieb Daniel J Sebald: > >> 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 > >> > >> Dan > >> > >> ------------------------------------------------------------------------------ > >> > >> Android apps run on BlackBerry 10 > >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > >> Now with support for Jelly Bean, Bluetooth, Mapview and more. > >> Get your Android app in front of a whole new audience. Start now. > >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > >> > >> _______________________________________________ > >> gnuplot-beta mailing list > >> gnu...@li... > >> Membership management via: > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > >> > > > > > > |
|
From: sfeam <sf...@us...> - 2014-02-16 20:32:43
|
On Sunday, 16 February 2014 12:33:02 PM sfeam wrote: > On Sunday, 16 February 2014 01:24:05 PM Daniel J Sebald wrote: > > On 02/16/2014 12:57 PM, Bastian Märkisch wrote: > > > Building without USE_MOUSE defined has been broken for a long time on > > > Windows and (if I remember correctly) on OS/2, too. The question for me > > > is hence, if it is worth still supporting it. Is there a need for builds > > > without mouse? > > > > Good question. I'm defining it out right now for development purposes, > > but could probably get by manually commenting out a line or two. > > ./configure --disable-mouse --disable-wxwidgets --without-x > > builds correctly here. I should have said "builds correctly here after fixing the conditional statement in command.c that Dan reported". Ethan |