On Mon, Dec 22, 2025 at 12:38:01PM -0600, Dima Pasechnik wrote:
> On Mon, Dec 22, 2025 at 12:20 PM Waldek Hebisch <[email protected]> wrote:
> >
> > On Sun, Dec 21, 2025 at 10:09:06PM -0600, Dima Pasechnik wrote:
> > > On Sun, Dec 21, 2025 at 9:51 PM Waldek Hebisch <[email protected]> wrote:
> > > >
> > > > On Mon, Dec 22, 2025 at 09:43:50AM +0800, Qian Yun wrote:
> > > > > Hi Waldek,
> > > > >
> > > > > I wonder if PR#207 is missing on your radar, what's your view on
> > > > > https://github.com/fricas/fricas/pull/207 ?
> > > >
> > > > My trouble is that I do not know what problem this attempts
> > > > to fix.
> > > >
> > > > AFAICS completely disables readline built into GCL, which is
> > > > not a big deal due to rlwrap, but some people may wish to
> > > > interact directly with gcl command line.
> > >
> > > one of the two readlines has to go, either the rlwrap's one, or the
> > > built-in one.
> > > Having them both on leads to some weird interactions, doubling up stuff, 
> > > etc.
> >
> > If there are two FriCAS disables the GCL one.  This setting only
> > affects cases when there are no rlwrap or when FriCAS was
> > incorrectly started.
> 
> There is one FriCAS, it has to be build with either internal readline,
> or rlwrap, but not both.

When using GCL FriCAS is always linked to readline.  However,
when using clef or rlwrap startap script sets enviroment so
that FriCAS knows that it is runnig with external command
line handling.  In such case FriCAS disables GCL readline.
See last part of 'fricas_init' in 'src/interp/util.lisp'.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/aUqLHWp20GIyN6Pf%40fricas.org.

Reply via email to