Friday, December 13, 2013

Octave Complains About Termnial ...

When I ran most recent version of octave after the compilation and installation on an Ubuntu host, I observe the following problem,


octave:99> set terminal aqua enhanced title "Figure 1"  font "*,6"
                        ^
     `line 0: unknown or ambiguous terminal type; type just 'set terminal' 
for a list`

Web searches directed me either to add setenv('GNUTERM', 'x11') to $HOME/.octaverc or do add the environment variable in shell, e.g., export GNUTERM=x11. Unfortunately, it did not solve my problem. It turns out the message comes from gnuplot since octave uses gnuplot to plot. To fix the problem, we can install the gnuplot-x11 package, i.e.,
sudo apt-get install gnuplot-x11 

2 comments: