bug in playback (in GCL)



The problem is the missing function tyo. It was defined in commac.lisp
but was removed in the code cleanup (in revision 1.36). tyo is used in
playback only with gcl, on other lisps write-char is used. We can
either use write-char on all lisps or restore tyo for gcl. From cvs
logs it looks like tyo is used instead of write-char because of a bug
in gcl, so it is probably best to restore the definition of tyo.

Andrej

On 4/24/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:
> Looking further, it seems that this is only a bug in GCL
>
> I tried SBCL and CMUCL with no problem.
>
> -sen
>
>
>   -------------
>   ---------------------------------------------------------------------------
>   | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
>   | Mathematics Department         |                                       |
>   | Michigan State University      | telephone: 517-355-9684                |
>   | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
>   ---------------------------------------------------------------------------
>
> On Mon, 23 Apr 2007, sen1 at math.msu.edu wrote:
>
> > Hello,
> >  I just tried 'playback' in the current cvs maxima.
> >
> > Here is the output.
> >
> > (%i1) build_info();
> >
> > Maxima version: 5.11.0cvs
> > Maxima build date: 5:24 4/4/2007
> > host type: i686-pc-linux-gnu
> > lisp-implementation-type: GNU Common Lisp (GCL)
> > lisp-implementation-version: GCL 2.6.7
> >
> > (%o1)
> > (%i2) f: x^3 -x;
> >                                      3
> > (%o2)                               x  - x
> > (%i3) factor(f);
> > (%o3)                          (x - 1) x (x + 1)
> > (%i4) playback(input);
> >
> > (%i1)
> > Maxima encountered a Lisp error:
> >
> > Error in MACSYMA-TOP-LEVEL [or a callee]:
> > Error in TYPE-ERROR-DATUM [or a callee]: The slot CONDITIONS::DATUM is
> > unbound in the object #<CONDITIONS::INTERNAL-TYPE-ERROR.0>.
> >
> > Fast links are on: do (use-fast-links nil) for debugging
> > Broken at SLOT-UNBOUND.
> >  1 (Continue) Maxima top-level
> >  2 (Abort) Return to debug level 1.
> >  3 Return to top level.
> > dbl:MAXIMA>>>
> >
> > So, I went back to 5.11.0 on another machine. It works fine.
> >
> > Here is the output.
> >
> > (%i1) build_info();
> >
> > Maxima version: 5.11.0
> > Maxima build date: 11:55 2/27/2007
> > host type: i686-pc-linux-gnu
> > lisp-implementation-type: GNU Common Lisp (GCL)
> > lisp-implementation-version: GCL 2.6.7
> >
> > (%o1)
> > (%i2) f: x^3 -x;
> >                                      3
> > (%o2)                               x  - x
> > (%i3) factor(f);
> > (%o3)                          (x - 1) x (x + 1)
> > (%i4) playback(input);
> >
> > (%i1) build_info();
> >
> > (%i2) f:x^3-x;
> >
> > (%i3) factor(f);
> > (%o4)                                done
> > (%i5)
> >
> > -sen
> >
> >  ---------------------------------------------------------------------------
> >  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
> >  | Mathematics Department         |                                      |
> >  | Michigan State University      | telephone: 517-355-9684                |
> >  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
> >  ---------------------------------------------------------------------------
> > _______________________________________________
> > Maxima mailing list
> > Maxima at math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima