|
From: Petr M. <mi...@ph...> - 2006-04-14 15:48:12
|
> So yes, perhaps "set term screen <num>", where
> "screen" is taken from GNUTERM, and <num> is ignored for
> terminals that don't support multiple windows.
My main motivation: prepare infrastructure for a portable way of gnuplot
screen terminal capabilities. There will be a rewrite of gnuplot files for
octave, for example, so prepare gnuplot for this.
For example, we cannot live with Octave's figure.m implementation with
hardcoded "set term x11 5".
Screen terminals should be unified so that they are capable of
set terminal screen {<n>}
{title "<string>"}
{{no}enhanced}
{font <fontspec>}
{{no}persist}
{{no}raise}
{close}
on any OS. And you could do just once in a startup script:
set terminal defaultscreen x11
set terminal defaultscreen windows
set terminal defaultscreen pm
set terminal defaultscreen wxterminal
>That is what the environmental variable GNUTERM is for.
But it is not available from within gnuplot unless gnuplot supports new
string function getenv('GNUTERM')? Please notice that `echo GNUTERM` is not
available in wgnuplot.exe.
---
PM
|