Menu

#2541 pause -1 and lost plots

None
open-duplicate
nobody
None
2022-08-15
2022-08-14
Mike Sutton
No

I'm seeing where plots are "lost" when using pause -1. I see this for the QT an X11 terminals. If you hit enter in the terminal window each plot is properly displayed and paused for. However, if you hit enter sometimes and close the plot window other times, plots are not paused for.

The attached script replicates the problem. Follow the prompts for hitting return and closing the plot window. Plots 7, 8 and 9 are never displayed. There seems to be a connection between the number of times you close the window and the number of plots skipped.

Version 5.4.4, compiled from source
Centos 7 and RHEL 8

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2022-08-15
    • status: open --> open-duplicate
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2022-08-15

    There is a long history on this one.
    See discussion on previous tracker issues
    https://sourceforge.net/p/gnuplot/bugs/2292/
    https://sourceforge.net/p/gnuplot/bugs/2134/

    The problem is that we're fighting two contrary problems - inserting a '\n' prevents dropped input characters in some circumstances, but conversely inserting a '\n' causes premature return from a pause. Pick your poison.

    There may well be a different solution to both problems, but so far no one has suggested it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.