|
From: Petr M. <mi...@ph...> - 2005-07-18 12:32:00
|
By default, all mouseable interactive terminals switch on mouse by default, and do it also when driven via pipe (OS/2, Windows, ...). The only exception is the X11 terminal when gnuplot runs in pipe. Thus, it is not compatible to other defaults. "help mouse x11" writes: X11 mouse support is turned on by default if standard input comes from a terminal (tty). Mouse support is turned off if standard input does not come from a tty, e.g. a pipe. If you want to use mouse support while writing to gnuplot from a pipe, the mouse must be turned on *before* starting the x11 driver, e.g. immediately after startup with the explicit command `set mouse`. Does somebody remember why gnuplot-x11 behaves like that? I think this is a relict nowadays. I propose to switch on mouse also for this combination. That would make many people happy and gnuplot behaviour compatible. --- PM |