In a newly-started Maxima, the :lisp syntax does not
work on the first entry line:
(C1) :lisp (+ 2 3) <return>
Adding a semicolon doesn't help:
(C1) :lisp (+ 2 3); <return>
If I control-G to Lisp, it *then* prints the result, 5. So
it seems to be some sort of problem at the character-
If I then :q back to Maxima, it still doesn't work.
However, if I control-G to Lisp and use (macsyma-top-
level) to return to Maxima, it does work. But if I put
(macsyma-top-level) at the end of my maxima-init file, it
It also works if I control-G to Lisp, do (trace dbm-read),
then return using :q.
It also works if I trace dbm-read or break-call in my
My guess is that this has something to do with the tcl
init setup, which apparently uses ":lisp (user::setup"
etc. to initialize Maxima? But I can't follow the tcl code,
and I certainly have no clue how to debug it!
Maxima 5.9.0 gcl 2.5.0 mingw32 W2k Athlon