Question to Maxima Programmers



On 7/29/08, Rene Grothmann <2008 at rene-grothmann.de> wrote:

>  Until now, I used the input prompt to determine the end of the output.
> However, in Version 5.15.0 Maxima sends this prompt even between
> multiple commands in a line. So, sending "10; 20;" will return the
> two prompts. The Maxima output looks like:
>
>  (%o1)                                 10
>  (%i2) (%o2)                                 20
>  (%i3)

I see this output when running 5.15.0 official release on Windows XP
compiled w/ GCL, I forget the revision, maybe 2.6.8pre.

>  Sometimes it stops after (%i2) and sends the rest in a separate chunk.
>
>  Before, the Maxima output was
>
>  (%o1)                                 10
>  (%o2)                                 20
>  (%i3)

I see this output with 5.14.0 official release on Windows, and
5.15.0cvs (various Lisp versions including GCL 2.6.7) on Linux.

The prompt output appears to be governed by *NEED-PROMPT*
in src/mdebug.lisp. cvs annotate claims the relevant code has not
changed since 2005.

I can't tell what's going on here. My only guess is that GCL is
treating the input stream differently.

What does build_info() report? Can you try the same operation with
5.15.0 on Linux? (If you're using Windows; otherwise vice versa.)

best

Robert Dodier