#8439: maxima interface hangs gcl and/or clisp backends
--------------------------+-------------------------------------------------
Reporter: pcpa | Owner: was
Type: defect | Status: needs_info
Priority: major | Milestone:
Component: interfaces | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------+-------------------------------------------------
Old description:
> This is a possible problem when using an external maxima, that uses a
> backend other then ecl.
>
> clisp has some peculiar ways to figure out there is an associated pty,
> that is created by pty.py from pexpect interface.
>
> gcl hangs due to an "unexcaped" ecl specific command at the start of
> maxima interface; this took quite some time to find, as I was thinking it
> was a clisp like related issue, and tried to correct the problem in gcl
> and/or sage-maxima.lisp.
>
> Also, probably not related, or a know issue, any lisp backend will hang
> with a command as simple as:
>
> sage: maxima.eval('1+1;;')
>
> that is, two sequential semicolons will apparently confuse the expect
> interface.
>
> With the attached patch, going to be used in mandriva rpm, all currently
> maxima backends works in sage. (When installing sagemath, unless using
> --auto-select, the installation process will ask what package that
> provides maxima-backend the user wants, and the options are sbcl, clisp,
> gcl and ecl).
>
> [The first chunk of the patch is not applicable to sage, as I use a
> modified clisp and maxima, that checks the --disable-readline option]
New description:
This is a possible problem when using an external maxima, that uses a
backend other then ecl.
clisp has some peculiar ways to figure out there is an associated pty,
that is created by pty.py from pexpect interface.
gcl hangs due to an "unexcaped" ecl specific command at the start of
maxima interface; this took quite some time to find, as I was thinking it
was a clisp like related issue, and tried to correct the problem in gcl
and/or sage-maxima.lisp.
With the attached patch, going to be used in mandriva rpm, all currently
maxima backends works in sage. (When installing sagemath, unless using
--auto-select, the installation process will ask what package that
provides maxima-backend the user wants, and the options are sbcl, clisp,
gcl and ecl).
[The first chunk of the patch is not applicable to sage, as I use a
modified clisp and maxima, that checks the --disable-readline option]
--
Comment(by kcrisman):
Here's what happens in Maxima.
{{{
(%i4) 1+1;;
(%o4) 2
stdin:76667:incorrect syntax: Premature termination of input at ;.
;
^
}}}
I'm just going to make a ticket for that - it's #12372.
This is still a somewhat weird ticket. I didn't even know we allowed
other Maxima backends officially.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8439#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.