pause -1 "swallows" plots after set terminal x11

"Simon.Lutz--- via gnuplot-bugs" <[email protected]> Mon, 22 Jun 2020 10:28:44 +0000
Newsgroups gmane.comp.graphics.gnuplot.bugs
Message-ID <[email protected]>
Dear all,

pause -1 "swallows" plots after set terminal x11.

Here is my test script:

show terminal;
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";
set terminal x11;
show terminal;
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";
plot sin(x);pause -1 "Hit return to continue";

The output:

   terminal type is x11

Hit return to continue
Hit return to continue
Hit return to continue
Hit return to continue

   terminal type is x11  nopersist enhanced

Hit return to continue
Hit return to continueHit return to continue
Hit return to continue

In the part after "set terminal x11" the second plot is "swallowed" (I coul=
d not hit return).

Here the information about the versions and COMPILE_OPTIONS:

Linux 4.18.0-193.1.2.el8_2.x86_64 #1 SMP Thu May 7 16:37:54 UTC 2020 x86_64=
 GNU/Linux

        G N U P L O T
        Version 5.2 patchlevel 8    last modified 2019-12-01

        Copyright (C) 1986-1993, 1998, 2004, 2007-2019
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

    +READLINE  -LIBREADLINE  +HISTORY
    -BACKWARDS_COMPATIBILITY  +OBJECTS  +STATS +EXTERNAL_FUNCTIONS
    +GD_PNG  +GD_JPEG  +GD_TTF  +GD_GIF  +ANIMATION
    -USE_CWDRC  +X11  +X11_EXTERNAL +USE_MOUSE  +HIDDEN3D_QUADTREE

With Gnuplot-4.6.7 (and also 5.2.6) there is no such a problem. I also trie=
d 5.4.rc2 with the same result as with 5.2.8.

Thanks for your help and best regards,

Simon



--
Dr. Simon Lutz
Entwicklungsingenieur / Geod=E4t

Eidgen=F6ssisches Departement f=FCr Verteidigung,
Bev=F6lkerungsschutz und Sport VBS.
Bundesamt f=FCr Landestopografie swisstopo.
Bereich Geod=E4sie und Eidgen=F6ssische Vermessungsdirektion.

Seftigenstrasse 264,
Postfach,
CH-3084 Wabern
Tel +41 58 469 03 90
[email protected]<mailto:[email protected]>
www.swisstopo.ch<http://www.swisstopo.ch/> / www.cadastre.ch<http://www.cad=
astre.ch/> / pnac.swisstopo.admin.ch


_______________________________________________
gnuplot-bugs mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnu=
plot-bugs