[Maxima] About Maxima and MS-DOS
robert.dodier at gmail.com
Tue Sep 11 21:29:04 CDT 2007
On 9/11/07, Christophe BAL <christophe_bal at club-internet.fr> wrote:
> I'm looking for some technical informations about MS-DOS comands with
> Maxima. I've tried the following one which doesn't work :
> env MAXIMA_USERDIR=bin\maxima --batch="maxima_1.in" > maxima_1.out & jobs -l
> > maxima_1.pid
> maxima_1.in is a file with a simple comand like
> I want to have a file with the answer written in a single line :
You can assign display2d : false; and then the output looks like this.
display2d : false;
expand ((a + b)^10);
Note that long outputs are printed over multiple lines.
You can set the global variable linel to be a very large number
if you want -- then each output is printed on a single line.
> Can you help me because I do not find any documentation about
> MS-DOS comands for Maxima ? This will help me to do some
> simple PhP scripts which could use Maxima.
Not sure what you mean by MS-DOS commands.
Maybe the command line options --disable-readline and
--very-quiet are helpful to you. The --help option shows information
about those and other command line options.
There have been various projects to use Maxima as the computational
engine behind a web server. Some of those projects are listed at:
Some of those projects use PHP. You should also consider
using Lisp, since it is much easier to talk to Maxima from a
Lisp program; you don't need to send strings back and forth.
Anyway I hope this helps in some way, & good luck with your project.
More information about the Maxima