|
From: <tim...@en...> - 2006-04-14 20:06:51
|
>> 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 gnuplo=
t
> 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}
I appreciate this initiative, but I have one remark concerning this synta=
x
: why should "close" be here ? It is very different from other entries fo=
r
'set terminal' which do not correspond to actions, but to settings.
I would prefer to see a new entry in the term table, for term->close(),
which could probably go along with new term->raise(), term->lower()
instead of the way these two calls are currently implemented directly in
command.c
Regards,
Timoth=E9e
|