3 Sep 2003 04:50
Requesting input on some possible low-level changes
James Amundson <amundson <at> users.sourceforge.net>
2003-09-03 02:50:25 GMT
2003-09-03 02:50:25 GMT
While I was at the Metz meeting I had a conversation with Joris van der Hoeven about the interface between TeXmacs and Maxima. The maxima-texmacs interface is fragile -- there are many ways to get the interface to hang. I am sorry to say that the problem really is Maxima's fault. I am interested in solving the problem from the Maxima side because I think it is a good way to start on developing a robust interface between Maxima and other applications. The maxima-texmacs interface currently works by running a filter on the Maxima output that looks for prompts. When a prompt is found, TeXmacs knows that Maxima is ready for input. It would be preferable to have Maxima emit an appropriate string when it is ready for input. (In general, I would like to see an external interface that does not require scanning through output streams, but that can come later.) Adding the appropriate output strings to Maxima is not as simple as it sounds, because Maxima waits for input in many different situations, not all of which are currently under our control. Here are the type of input I have identified: 1) The ordinary command input at the (C1) prompt. This one is obvious. 2) Questions encountered during a calculation, e.g., "Is a positive, negative, or zero?" This one is pretty obvious, too. 3) Input from the info routines, e.g., -------------------------------------------------- (C3) ? ask(Continue reading)
RSS Feed