|
From: Petr M. <mi...@ph...> - 2003-12-16 16:24:35
|
Franz has found the patch which started to cause this problem.
Ethan, can you please look at it?
Thanks, Petr
---------- Forwarded message ----------
Date: Tue, 16 Dec 2003 17:19:05 +0100 (CET)
From: Franz Bakan <fb...@gm...>
To: "os2...@wa..." <os2...@wa...>,
Petr Mikulik <mi...@ph...>
Subject: Re: problems compiling gnuplot
Hi Petr, Hi list,
On Mon, 15 Dec 2003 16:23:44 +0100 (CET), Petr Mikulik wrote:
>> I tried a little bit now and x11 works very limited:
>>
>> Within HOBX11 it works like this:
>>
>> gnuplot>set term x11
>> gnuplot> plot sin(x)
>>
>> X11-window opens and the x11-clock-cursor appears but no plot.
>> When I now press 'return' in the gnuplot-VIO window the plot appears in
>> the X11-Winwow.
>
>Ok, I see them same problems too (with XFree86 as well as with PMX).
>If I recompile gnuplot without MOUSE, then it works OK.
>
>One guess: there is somewhere code using PIPE_IPC (and thus stdin/stdout of
>gnuplot_x11) which is not encapsulated by #ifdef PIPE_IPC ... #endif.
>
>Note that PIPE_IPC is unixish communication gnuplot_x11 => gnuplot, while
>OS/2 is using OS2_IPC for this.
>
>
>> Because your binaries from May 2003 work without such problems with HOBX11
>
>Maybe you could try to download some later version of gnuplot, by a command
>like
> cvs -z3 -D "June 1, 2003" checkout -P gnuplot
cvs -z3 -d:pserver:ano...@cv...:/cvsroot/gnuplot checkout -D "June 21, 2003" -P -d gnuplot-2003-06-21
is the working syntax.
>and see where it was still working => thus figure out which patch made
>the problem ... if my guess is OK.
done and now I can tell you that
20. June 2003 works and 21. June 2003 doesn't.
So one of these patches are the culprit:
>From Changelog:
2003-06-20 Ethan Merritt <merritt@u.washington.edu>
* src/gplt_x11.c:
It turns out that yesterday's patch breaks the "pause -1" command
(it always returns immediately). I have temporarily disabled the
new code while I track down the problem. The offending line is now
protected by #ifdef X11_FONT_UPDATE.
* term/x11.trm:
Add an interlock so that the gnuplot_x11<->x11.trm font info exchange
is only performed once per splot, rather than every time the view is
changed using the mouse.
2003-06-19 Ethan Merritt <merritt@u.washington.edu>
* src/gplt_x11.c src/graphics.c src/mouse.c src/mousecmn.h term/x11.trm
Use existing mouse communication pipe to send X11 font characteristics
back from gnuplot_x11 to x11.trm. This allows gnuplot to lay out the
plot with v_char and h_char sizes that are correct for the current
default X11 font. This patch slightly changes the timing of initial
operations over the pipe, and adds a FFLUSH(), so there is a remote
possibility that it also fixes a reported problem in which gnuplot_x11
eats CPU cycles while supposedly idle. This patch should have no effect
if gnuplot is configured with --disable-mouse.
* term/pslatex.trm: Escape % to %% inside printf() statement.
|