From help-request at octave dot org Sat Jul 2 12:33:10 2005 Subject: Re: octave & octave-forge install instructions for Mac OS X 10.4.x From: "Henry F. Mollet" To: Marius Schamschula CC: Octave_post , David Collett Date: Sat, 02 Jul 2005 10:31:35 -0700 First going a step back. Where do I put "set term aqua" for gnuplot and "gset term aqua" for octave? That's what I'm using presently in the Terminal so I can use plot etc. I have checked on my old fink installation for octave 2.1.46 and gnuplot 3.8i: 1. .gnuplot is empty 2. .octaverc has LOADPATH, but nothing about aqua 3. .cshrc has commented out #setenv GNUTERM aqua Therefore I have no clue how gnuplot finds Aquaterm when it is called by octave. Don't know how octave finds gnuplot either. As I'm now using the bash shell, does GNUTERM=aqua or is it export GNUTERM="aqua" have to be added to my .profile? henry-f-mollets-emac:~ hfm$ cat .profile export PATH="$PATH:/Developer/Tools:/usr/local/bin" For X11 is DISPLAY=:0.0 That has to be added to my .profile also? Sorry, I'm having a hard time with X11. I just don't know what exactly it is. I can open it but don't know the difference of running octave in the terminal compared to running it in X11. Is there an easy explanation/analogy that I can understand? According to what you said and my notes, X11 is required for xpm (was eliminated from the list of packages because no X 10.4 version exists yet), qhull (geometry toolbox). X11 is options for octave but AquaTerm appears to be easier to use. Not sure if X11 is an option for octave-forge or if it is needed at least for a few items. Since X11 was installed at the very end, I guess that I now have to tell each application above where it is? Or take qhull: If I re-install with X11 present then it should work? Henry on 7/2/05 3:43 AM, Marius Schamschula at marius at physics dot aamu dot edu wrote: > Henry, > > On Jul 1, 2005, at 9:43 PM, Henry F. Mollet wrote: > >> gnuplot: unable to open display '' >> gnuplot: X11 aborted. >> >> Must have found X11 but not happy yet either. > > This is a well known issue: > > Your DISPLAY variable is not set. > > Somewhere in your shell profile you need to set > > DISPLAY=:0.0 > > This allows an octave session running in the Terminal.app to talk to > X11. > > The easier way to teset this is to start X11 and run octave and/or > gnuplot from within a xterm. > > However, you really want to run octave in the Terminal.app: drag and > drop, etc. > > Marius > -- > Marius Schamschula Webmaster > > The Huntsville Macintosh Users Group > www.hmug.org > > webmaster at hmug dot org marius at schamschula dot com > ------------------------------------------------------------- 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 -------------------------------------------------------------