rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

--disable-readline has no effect in clisp backend #2601

Open rtoy opened 1 week ago

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-06 16:10:45 Created by pcpa on 2012-07-02 23:48:41 Original: https://sourceforge.net/p/maxima/bugs/2436


Hi, I just made a bug report for Fedora maxima package where I attached a patch I have been keeping in Mandriva for quite some time. It is required to allow sagemath work properly with maxima using clisp as backend.

The fedora bug report is at https://bugzilla.redhat.com/show\_bug.cgi?id=837142

But I am afraid the patch is not fully complete (in the sense of maxima's --disable-readline option), and I just workaround it differently in my sagemath package for gcl with this patch http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sagemath/current/SOURCES/sage-4.8-maxima.patch?view=markup that I will adapt to fedora; note the "":lisp #+gcl (progn (si:readline-off) (setf *error-output* (open "/dev/stderr" :direction :output)..."" in the patch...

Thanks

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-06 16:10:46 Created by rtoy on 2012-11-15 16:12:50 Original: https://sourceforge.net/p/maxima/bugs/2436/#e0b4


The redhat patch for clisp seems reasonable. The mandriva patch seems to be unreachable.

Why are you setting *error-output* to stderr for gcl? Why is that needed?

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-06 16:10:49 Created by robert_dodier on 2022-11-03 17:09:03 Original: https://sourceforge.net/p/maxima/bugs/2436/#ff77