|
From:
<br...@ph...> - 2005-07-27 11:23:05
|
Wayne Saslow wrote: > If I try to get gnuplot from Terminal, I get the gnuplot login info, > followed by > *** > Terminal type set to 'unknown' > *** > > If I try "set term x11" I get the response > *** > Terminal type set to 'x11' > Options are '0' > gnuplot> > gnuplot: unable to open display '' > gnuplot: X11 aborted. > *** You get that response on "set term x11" for the same reason that caused the defaul terminal type to rever to "unknown": your Terminal session is misconfigured for running X11 programs. The environment variable DISPLAY is missing. Without that, *no* X11 program can be expected to work. > Problem 2 is curious: > If I open a window in xterm, gnuplot is defined only in the home > directory. That's a sign of trouble. It would indicate you put the gnuplot binary directly into your home directory --- that's definitely not where you want to install such things. You should either do it the "Microsoft Way" (i.e. one installation directory tree per program, and a *very long* PATH statement listing all those you don't want to call with an explicit complete path), or the Unix way (a few directories like /usr/bin, /usr/local/bin and $HOME/bin which hold all installed programs). > I thought that I had added the appropriate path to > etc/usr/csh.login. Don't rely on what you thought you did --- check what actually is set, and what isn't. Is your xterm really using csh as its login shell? If so, what *is* the path set to (--> type "echo $path" or "echo $PATH"). |