Indeed, I can confirm this behavior in the command-line version of the
Windows build. Curiously, not in xmaxima, though. I am not seeing this
behavior in Linux builds.
Viktor
-----Original Message-----
From: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu]
On Behalf Of Rene Grothmann
Sent: Wednesday, July 30, 2008 3:08 AM
To: maxima at math.utexas.edu
Subject: Question to Programmers
It does not seem to be clear, if all versions of Maxima exhibit this
behavior. For the experts, here is the build_info() of my version.
Maxima version: 5.15.0
Maxima build date: 17:36 4/20/2008
host type: i686-pc-mingw32
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.8
This is a Windows build of Maxima I got from the Maxima homepage. Maybe they
changed something for Windows.
I have solved the problem for now by scanning the input string and sending
all commands one by one. As far as I see, this seems to work.
I should mention, that Maxima might consider introducing an external program
mode, which would give more information to the programs. Currently I do
- Filter off the (%o...) stuff, since it is not useful for my interface
- Filter off the (%i...) prompt, since I do not need that either
- wait for Maxima to deliver the prompt after each call, where I continue my
program. I recognize the prompt by a special prompt string I set in Maxima.
- Handle the questions myself. They send the prompt string, thank god!
- Abort the questions by sending faulty stuff to Maxima, when I need to do
automatic execution.
- Abort Maxima completely and restart, when the computation takes too long
and the user does not want to wait.
I plan to do the same with Linux. However, it will be difficult, since I
have problems with Linux on my hardware (Dell D630 notebook with nvidia
card). Moreover, Euler for Linux is programmed in Qt and I do not have much
experience with that.
Yours
Rene Grothmann
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima