#8439: maxima interface hangs gcl and/or clisp backends
--------------------------+-------------------------------------------------
   Reporter:  pcpa        |       Owner:  was
       Type:  defect      |      Status:  new
   Priority:  major       |   Milestone:     
  Component:  interfaces  |    Keywords:     
     Author:              |    Upstream:  N/A
   Reviewer:              |      Merged:     
Work_issues:              |  
--------------------------+-------------------------------------------------
Description changed by pcpa:

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).

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.

 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]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8439#comment:1>
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.

Reply via email to