Na 1093233454, 2004-08-23 ob 05:57, je C Y napisal(a):
> There is a fairly clean interface - neither Xmaxima nor TeXmacs has any
> close ties to the core of Maxima. There was some issue about prompt
> designations, but that has been addressed and AFAIK at the moment we
> are in good shape for interfacing to external programs. (Sans using
> Maxima's mathematical knowledge to assist in generating formatted
> output that fits in a document, but that's nontrivial and not related
> to this issue.)
Maxima uses *prompt-prefix* and *prompt-suffix* for marking prompts, but
this is not fully implemented. For instance, there are no prefix and
suffix with demo (there should be a prefix before _ and a suffix after)
and read(t) (there should be a prefix before t and a suffix after)
commands. This breaks these two commands for interfaces which expect
*prompt-prefix* and *prompt-suffix*.
> Which is where much of the work is involved. I don't quite understand
> your point - client/server operations have been used with Maxima for a
> loooong time, and one decision that was reached a long time ago was
> that whatever GUI solution we use will keep this relationship.
>
> > I'm thinking conceptually of the X-windows system, where we perhaps
> > have a "maxima-server" and various "clients" which use the functions.
>
> To my understanding this is what we have now.
The documentation (maxima -h) says that
maxima -s p
starts a server on port p. It actually tries to connect to a server on
port p. So your interface starts the server and maxima is the client.
This is a bug in the documentation.
--
Andrej Vodopivec <andrej.vodopivec@fmf.uni-lj.si>