From: Dima K. <gn...@di...> - 2018-10-14 00:16:50
|
Hi. A debugging question. I have a trivial gnuplot script; the specific script doesn't matter. For instance this in tst.gp: plot x pause mouse close What I'd like to happen is to run load "tst.gp" then an interactive plot pops up (x11 or qt or wxt terminals in my case). When I close the interactive plot (by pressing 'q' for instance) I'd like the 'pause mouse close' command to exit, and I'd like to get back to the "gnuplot>" prompt. In my case this doesn't happen. With 'q' the interactive plot window does go away, but gnuplot doesn't go back to looking for input. I can press "enter", and I get the prompt back then. Some minor debugging tells me that after 'q' I still have a gnuplot_x11 helper process. Both gnuplot_x11 and gnuplot are sitting in select() waiting for input, and I need to kick the selects with another "enter" to get a prompt back. My gnuplot comes vanilla from Debian. Is this what people are observing? Any obvious causes? I'd like to ask before diving into a debugging session. dima |