|
From: Ethan A M. <merritt@u.washington.edu> - 2009-02-12 15:43:52
|
On Thursday 12 February 2009, Petr Mikulik wrote: > > Anyhow, what if the end user wants to use some terminal type other > > than x11? > > I was thinking how to smoothly support x11, wxt, and others, in a portable > way. What about: > > set term screen ... options ... > or > set term default ... options ... > > There, the "screen" terminal is that after gnuplot's start-up, i.e. that in > GPVAL_TERM. Then, Octave (or others) won't have to care about > set term x11 > set term win > set term aqua > etc.; it will just do > set term screen|default|other_synonym > > Gnuplot will have to ensure that all "set term x11|wxt|qt|win|pm|aqua" > options are the same (or silently ignored if not relevant). > > What do you think about it? Don't we already have "set termoption" for that? It would have to be expanded to accept the size/position commands (if they ever exist on these other terminals) but other than that I think it does exactly what you want. I have been thinking that the termoption command could accept additional options anyhow. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |