help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svgalib


From: Przemek Klosowski
Subject: Re: svgalib
Date: Tue, 23 Sep 2003 10:10:59 -0400 (EDT)

   > 
   >   bash> export STY=1.tty1.foobar
   >   bash> echo "set term linux; plot sin(x);" | gnuplot

   effect.  The method you describe above fixes the problem of it not
   working in normal virtual consoles (i.e. when not running screen), but
   it still doesn't work in screen.

If you force STY in a 'screen' environment, it'll have a wrong value,
so I think you set it to a dummy value only after checking that it is
not already set. In bash, it is:


if test "${STY:+unset}" = "unset" ; then export STY=1.tty1.foo; fi



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]