Control: retitle -1 gnuplot doesn't work if $GNUTERM contains an unsupported 
terminal
Control: severity -1 wishlist

On 2014-06-05 11:24:12 +0200, Vincent Lefevre wrote:
> With the default options, gnuplot no longer works, as the default
> terminal is still wxt.
> 
> Note that I don't have a .gnuplotrc file.

It finally appears that this comes from my GNUTERM environment
variable (unfortunately gnuplot doesn't have a verbose or debug mode
to diagnose such problems).

So the problem is that gnuplot doesn't ignore the GNUTERM environment
variable if it contains an unsupported terminal. However it seems that
one can detect that dynamically with "gnuplot < /dev/null" (useful
when one uses several machines and some of them still support wxt).

Perhaps it should fallback to the default terminal. Alternatively,
in order to make configuration easier, I suggest that it should be
possible to provide a list of terminals, separated by ":"; the first
supported one should be chosen. And gnuplot should fallback to the
default terminal instead of failing iff the list ends with ":".

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to