#2778 $ sign is not in index and causes eternal hang up - Interrupt does not work

dan hayes

wxMaxima version: 13.4.0
Maxima version: 5.31.1
Maxima build date: 2013-09-24 09:49:12
Host type: i686-pc-mingw32
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8

In Macsyma the $ sign was to make it so that it did not print out to save space,time etc.
Now in maxima the $ appears no where in the index yet i see it being used in the help. But using it here causes eternal hang up and Interrupt does NOthing.Restart Maxima does work in this case though all too often even that does nothing esp in long continuous printouts.

A case in point:

(n:1,vs:makelist(2^(-n/2),i,1,2^n),ang:float(asin(1/2^(n/2))), k:floor(float(((log(%pi)-log(2)-log(ang))/log(3)))))$;

I did not put in the extra ' ; ' seems maxima automatically put it in. Anyway in response to the above command line it is eternally in the process of ' Reading Maxima output '. And the
Interrupt maxima does nothing.


  • Barton Willis

    Barton Willis - 2014-07-09

    A simpler example is n$; Console Maxima gives a clear error

    (%i13) n$;
    incorrect syntax: Premature termination of input at ;.
    Wxmaxima doesn't print the error--it keeps waiting for the user for input. Isn't this
    a wxmaxima bug?

  • Jaime E. Villate

    This is related to bug #1151 which I reported 7 years ago. If I remember correctly, it used to get Xmaxima stuck because it was waiting for a string (%i... from Maxima, indicating it is ready to accept a new command, so I did some change in Xmaxima to work around that bug.

  • Jaime E. Villate

    In case it is not clear, the bug I reported in #1151 is not the appearance of an error message from Maxima, which is OK, but the absence of a (%i string after that error message.

  • Robert Dodier

    Robert Dodier - 2014-07-13

    About the lack of documentation for ; and $, I've fixed that by adding documentation (commit [c6f2089]).

    About the $; bug, that appears to be a bug in wxMaxima, not in Maxima. Therefore we can't fix it; you'll have to report the bug to the wxMaxima project. For the record, I don't see that bug in the version I have (wxMaxima 13.04.2 on Linux).

  • Robert Dodier

    Robert Dodier - 2014-07-13
    • status: open --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks