Thank you Bill and Ralph.
Ok, I went back to 1.3.6. But I still see a problem:
$ fricas -noclef
Checking for foreign routines
FRICAS="/usr/local/lib/fricas/target/amd64-portbld-freebsd12.1"
spad-lib="/usr/local/lib/fricas/target/amd64-portbld-freebsd12.1/lib/libspad.so"
foreign routines found
openServer result 0
FriCAS Computer Algebra System
Version: FriCAS 1.3.6
Timestamp: Sat Jul 11 03:10:07 UTC 2020
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
(1) -> α
Line 1: α
.AB
Error A: Improper syntax.
Error B: The character #\PLUS-MINUS_SIGN is not an FriCAS character.
2 error(s) parsing
(1) ->
Bill, are you using 1.3.6?
I also tried
fricas -clefprog rlwrap
but this never even prints out a prompt.
Kostas
On 10/22/20 3:19 PM, Ralf Hemmecke wrote:
On 10/22/20 8:39 PM, Bill Page wrote:
Try starting fricas like this:
$ fricas -noclef
Doing this avoids the command line problem for me.
Indeed. CLEF is the problem.
Just edit your fricas script. Edit the one in your PATH if you do not
want to recompile fricas.
"clef" is the old Axiom alternative to readline and is still used by
default. Of course without clef (and without building FriCAS especially to
support readline) you lose the usual command line editing.
But in the master branch is now the -rl option. If you have rlwrap
installed on your computer, then "fricas -rl" will choose readline
instead of clef and you have full editing features.
I am not sure if the TeXmacs interface already avoids using clef or not. If
not then I think it should. I vaguely recall that it used to use the
-nosman option which also implies -noclef and -noht. Sorry, I don't have
TeXmacs installed on this desktop system any more or I would try it.
It doesn't use -nosman, but basically it does, because it calls
FRICASsys directly. But I am not sure whether that actually means that
it doesn't use clef.
https://github.com/fricas/fricas/blob/master/src/etc/fricas#L102
Anyway, maybe replacing
if [ "$*" = "-texmacs" ] ; then
exec "$FRICAS/bin/FRICASsys" -- -eval "$algebra_off" -eval
"$markers" -eval "$texmacs_on"
fi
by
if [ "$*" = "-texmacs" ] ; then
exec "rlwrap $FRICAS/bin/FRICASsys" -- -eval "$algebra_off" -eval
"$markers" -eval "$texmacs_on"
fi
just works. (I haven't tested that!)
Ralf
--
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/7c3f7917-0c42-8b2c-9054-0e1f22948276%40gmail.com.