I have made, actually quite a long time ago, a patch that
adds GNU Readline support for GCL, GNU Common Lisp, and
all Lisp programs including Maxima. It is available from:
http://www.ee.oulu.fi/~tuukkat/rel/gcl-2.3-readline3.patch.gz
(4 kilobytes).
Read first the beginning of the patch that explains how
to use it.
The problems with this patch: it might not cleanly apply
against GCL 2.4, but this is only a minor fix that anybody
should be able to do.
The real problem is that the word completion doesn't work
correctly except with statically linked Readline library.
During GCL compilation, the word list is created that contains
Lisp keywords, and similarly could be done for Maxima.
When the compiled GCL is dumped into an executable, Readline
forgets the keywords if it's linked in dynamically.
A solution would be to call the new Lisp keyword to initialize
Readline each time GCL/Maxima is started, but I don't know
a good place for this.
--
| Tuukka Toivonen <tuukkat@ee.oulu.fi> [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/ available]
| Try also finger -l tuukkat@ee.oulu.fi
| Studying information engineering at the University of Oulu
+-----------------------------------------------------------