arrows issues



--- Daniel Lemire <lemire@ondelette.com> wrote:
> 
> My understanding is this. GCL, as I have it here, works fine with 
> readline assuming you invoke it properly.

Good.  Incidently, you quit gcl by typing any of (quit), (bye), or
(exit).

> However, somehow, maxima doesn't *use* readline properly...

If I'm not mistaken, you are running a maxima compiled against the old
gcl.  I'm not sure about this, but see below for the reasons and what
to do to check them...
 
> [root@lagrange unixport]# more /usr/local/bin/maxima
> #!/bin/sh
> export MAXIMA_DIRECTORY
> MAXIMA_DIRECTORY=/usr/local/lib/maxima-5.6
> exec /usr/local/lib/maxima-5.6/src/saved_maxima -dir 
> /usr/local/lib/maxima-5.6/src/ $@

When you compile the latest maxima, how do you do it?  Are you using
the old build process or the new?  The script above appears to execute
the old 5.6 maxima image, which has an older gcl compiled into it,
unless you installed maxima-5.9 in the 5.6 directory.  I've
successfully used maxima with readline under gcl, but I compiled it
using the new build system.  I have no idea if the old build system
will work when it comes to readline.

If you want to try the new build system, cd into the for59 directory
and run the migrate script.  This will create a maxima directory at the
same level as the maxima-pre59 directory.  cd into this new maxima
directory, run bootstrap, and then ./configure --help to see how the
new setup works.  Probably you will want to do something like:

./configure --with-lisp=gcl

and make sure that your new gcl with readline compiled in is the first
gcl in your path - this could be a problem if you have an old gcl in
/usr/bin.  There may be some way to instruct it which one to use - I
haven't had to mess with that contingency yet.

The maxima binary produced under those conditions has readline support.

CY

__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com