I am now using fricas built from git master today (1) -> )version Value = "FriCAS 2020-04-23 compiled at Thu Oct 22 20:23:50 EDT 2020"
I also tried fricas with the -rl option as suggested by Ralf. After installing the rlwrap program wspage@desktop:~$ rlwrap --version rlwrap 0.43 $ fricas -rl worked perfectly for me - including command line editing with Greek characters. I am running Linux Mint 18.3 on my desktop. You might want to check the locale setting on your computer. I have $ wspage@desktop:~$ locale LANG=en_CA.UTF-8 LANGUAGE=en_CA:en LC_CTYPE="en_CA.UTF-8" LC_NUMERIC="en_CA.UTF-8" LC_TIME="en_CA.UTF-8" LC_COLLATE="en_CA.UTF-8" LC_MONETARY="en_CA.UTF-8" LC_MESSAGES="en_CA.UTF-8" LC_PAPER="en_CA.UTF-8" LC_NAME="en_CA.UTF-8" LC_ADDRESS="en_CA.UTF-8" LC_TELEPHONE="en_CA.UTF-8" LC_MEASUREMENT="en_CA.UTF-8" LC_IDENTIFICATION="en_CA.UTF-8" LC_ALL= You should probably have something similar regarding UTF-8 but probably different language. Bill. On Thu, Oct 22, 2020 at 7:08 PM Kostas Oikonomou <kostas.oikonomo...@gmail.com> wrote: > > 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 fricas-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/7c3f7917-0c42-8b2c-9054-0e1f22948276%40gmail.com. -- 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 fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAC6x94QTeNX%2B8FNBx7Ksi9cJAB%3DjhmUktqupWR0ywv9XV4bgFA%40mail.gmail.com.