Example type :help in WxMaima. The command never ends because the communication between Maxima and the front end WxMaxima is somehow not completing.
As reporrted inWxMaxima bug report #1705.
https://github.com/wxMaxima-developers/wxmaxima/issues/1705
Also report in maxima discussion list from Gunter Königsman.
https://sourceforge.net/p/maxima/mailman/message/37696010/
This also does not work to run lisp code in WxMaxima by calling the following function to_lisp();
WxMaxima does not get back an indication for a lisp prompt just like in debug mode.
So the the lisp call (to-maxima) would return to maxima coding.
The attached file shows it works in command line mode, but not in Wxmaxima.
Last edit: Richard Gobeli 2022-12-31
For normal prompts wxMaxima sets prompt-prefix and prompt-suffix to "<prompt"> and "". Ideally I would also like to be able to replace any & inside the prompt text by a &, any < inside the prompt text by a < and am > inside the prompt text by an >, which would mean that there is no way to set outchar to something that breaks the prompt detection.</prompt">
But Maxima currently seems to offer no real way to determine if this is an ordinary or a question prompt and there is no good way, currently, to detect lisp or debugger prompts
@peterpall Gunter I think I found the issue in mdebug.lisp. A part of the file is below.
lisp-quiet saves the mread-prompt in lisp-quiet-suppressed-prompt before lisp-quiet is executed. It does not restore it afterwards.
It only gets restored after a lisp-eval function is called of the form in WxMaxima as
:lisp ( atom $t); This is the only debugger function that works.
All of the other debugger functions the mread-prompt is nil, because after each input statement WxMaxima calls list-quiet which clears it again.
There needs to be a bunch of statements like this added to restore it.
Or better yet, when list-quiet is done the statement to restore mread-prompt to be enetered as above.
Last edit: Robert Dodier 2023-05-19
I see this got changed in 2019 as follows;
Would this patch restore the Prompt after the list-quiet was finished so that all other debug functions will work?
Last edit: Robert Dodier 2023-05-19