Subject: readline problems on FC6 systems - rmaxima
From: Andrej Vodopivec
Date: Thu, 7 Dec 2006 18:08:32 +0100
On 12/7/06, Robert Dodier <robert.dodier at gmail.com> wrote:
> On 12/4/06, Kuba Ober <ober.14 at osu.edu> wrote:
>
> > readline functionality stopped working for me in gcl and maxima after an
> > upgrade to FC6. Pressing up/down arrows displays some control codes (e.g. up
> > arrow displays ^[[A).
>
> Does GCL advertise readline? Here's what I see when I start gcl:
>
> $ gcl
> GCL (GNU Common Lisp) 2.6.7 ANSI Sep 7 2005 08:48:20
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License: GPL due to GPL'ed components: (READLINE BFD UNEXEC)
> etc.
>
> and also inspecting *FEATURES* --
>
> >*features*
>
> (:ANSI-CL :COMMON-LISP :COMPILER :NUMLIB :CLOS-CONDITIONS
> :PCL-STRUCTURES :PORTABLE-COMMONLOOPS :PCL :TURBO-CLOSURE-ENV-SIZE
> :TURBO-CLOSURE :SDEBUG :DEFPACKAGE :GNU-LD :UNEXEC :BFD
> :NATIVE-RELOC :READLINE :TRUNCATE_USE_C :CLX-LITTLE-ENDIAN :BSD
> etc.
>
> If GCL says it has readline, does readline work in GCL alone (without Maxima) ?
If gcl is not compiled with readline support then you should be able
to use rmaxima to get readline support in maxima. This currently does
not work, I get an error that (si:readline-off) is not defined. We
should check if :readline is in *features* before calling
(si:readline-off).
Andrej