On Sun, Aug 25, 2024 at 05:21:07AM +0200, Grégory Vanuxem wrote:
> Hello Qian,
> 
> Le dim. 25 août 2024 à 03:17, Qian Yun <[email protected]> a écrit :
> >
> > The "-b, --break-chars" option of "rlwrap" can help.
> >
> > Default list (){}[],’+-=&ˆ%$#@";|\
> >
> > If you modify target/x86_64-linux-gnu/bin/fricas-readline
> > to include "-b :", then you can get tab completion.
> 
> Many thanks! That works nicely if I add ':' What is surprising is that
> you have ’ (not ‘) in the default list whereas in my man page of
> rlwrap it is '. In fact to obtain this character I need a visual
> keyboard or cut and paste this character from this mail. So if I use:
> 
> exec $RLWRAP -b '(){}[],’+-=&ˆ%$#@";|\:' -f $CFILE "$@"
> 
> in src/etc/fricas-readline all seems good and ' is not affected
> apparently i.e. no completion after it. So, even with:
> 
> fl:DoubleFloat:=12.0
> 
> DoubleFloat is correctly tab-completed.
> 
> Waldek, what do you think about this addition to
> src/etc/fricas-readline?

I do not use rlwrap with fricas.  If this works well for people
using rlwrap, then it can go in.

-- 
                              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 on the web visit 
https://groups.google.com/d/msgid/fricas-devel/Zsz7DCjpHpSN96ze%40fricas.org.

Reply via email to