|
From: Gunter K. <gu...@pe...> - 2018-07-15 13:16:49
|
> > That's from 10 years ago, but the answer is correct. > Instead of "pause -1" you want some variant of "pause mouse", > possibly "pause mouse close" > . That was exactly what I was searching for. On my gnuplot 5.2 patchlevel 2 it only nearly does what I want, though: It waits until I first close the window and then press <enter> in the terminal I opened gnuplot from. If I first press <enter> in the terminal and then close the gnuplot window or fail to press <enter> gnuplot won't close. I'll attach a simple testfile to this mail. gnuplot wait.gnuplot doesn't work as expected but echo |gnuplot wait.gnuplot does. If I did the Right Thing perhaps I can mimic the latter command somehow... Kind regards, Gunter. |