[Maxima] clisp/cygwin filenames
macrakis at alum.mit.edu
Fri May 25 11:21:39 CDT 2007
Besides my Windows Maxima installation, I also have a clisp/cygwin
installation, which works fine in general.
But I have some problems with filenames and paths.
For one thing, unlike other cygwin programs (e.g. bash), it doesn't seem to
understand Windows-like file syntax, e.g. load("c:/temp/foo.lisp"); it
prefers load("/root/temp/x.lisp"). This means that any code/scripts
involving filenames needs to be parameterized. It would be easier if it
simply understood the c: syntax, like other cygwin programs. Also, it
doesn't like spaces in filenames, and I couldn't guess what the convention
is for representing them. I suppose these are a clisp problems; can we get
them to fix them?
Now I am trying to get it to find wgnuplot, which Windows Maxima installs in
c:/Program Files/Maxima-5.11.0/bin/wgnuplot.exe. Since there is a space in
that filename, I copied wgnuplot to c:/temp/wgnuplot.exe and set
gnuplot_command: "/root/temp/wgnuplot.exe". But now plot2d(sin,[x,0,1])
gives "Syntax error: "&" unexpected". In case the wgnuplot installation is
path-dependent, I also tried doing this with a link from c:/gnuplot to
c:/Program Files/Maxima-5.11.0/bin/ -- which also gave "& unexpected".
What is the correct way to have clisp know about the existing wgnuplot?
Also, is there any way to handle this so I don't have to update the wgnuplot
path every time I move to a new version of Maxima?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima