[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknow
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal" |
Date: |
Tue, 24 May 2016 21:33:50 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #11, bug #47994 (project octave):
Octave, and gnuplot, both respect the GNUTERM environment variable. I don't
think we should change that because it is the user's decision as to which
terminal they want to use.
This looks like it might be installation specific. How is the GNUTERM
environment variable getting set on the machine? Is it a Windows Environment
Variable set by the other installation of gnuplot? The simplest thing would
be to change the environment variable.
Or, use gnuplot_binary to point to the gnuplot that you do want to use which
includes support for wxt. You can put that in your .octaverc file to have it
take effect every time.
I'm not sure why it is generating the error message. You might want to use
the debugger and single step through __gnuplot_drawnow__.m. One of the first
things it does is is call
term = gnuplot_default_term (plot_stream);
which in turn is
function term = gnuplot_default_term (plot_stream)
term = lower (getenv ("GNUTERM"));
## If not specified, guess the terminal type.
if (isempty (term) || ! __gnuplot_has_terminal__ (term, plot_stream))
if (isguirunning () && __gnuplot_has_terminal__ ("qt", plot_stream))
term = "qt";
elseif (ismac ())
term = "aqua";
elseif (! isunix ())
term = "windows";
elseif (! isempty (getenv ("DISPLAY")))
term = "x11";
else
term = "dumb";
endif
endif
endfunction
I set the GNUTERM to wxt which doesn't exist for me either. I get into this
routine and __gnuplot_has_terminal__ returns false so the code moves through
the if/elseif tree and eventually selects "windows".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47994>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Dan Sebald, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Avinoam Kalma, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Rik, 2016/05/24
- Message not available
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/24
- Message not available
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/24
- Message not available
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal",
Rik <=
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Mike Miller, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Rik, 2016/05/24
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", Dan Sebald, 2016/05/25
- [Octave-bug-tracker] [bug #47994] MXE Octave with gnuplot error: "Unknown wxt terminal", John Donoghue, 2016/05/25