> is this a known issue or am I doing something wrong??
I would call this a known issue.
But it is only for the default interface. It works fine if FriCAS reads
.input files or compiles .spad files.
There is a way to put FriCAS as a jupyter kernel and thus use the
Jupyter web interface. Since you know how to compile FriCAS, I could
make this available to you.
Or you use an older Version of FriCAS and follow the steps here:
https://hemmecke.github.io/qeta/fricasinstall.html
You can also consider to use FriCAS in emacs with the frimacs mode, then
you can write your multiline input into an .input file and send it to a
fricas session via Ctrl-C Ctrl-C.
https://github.com/pdo/frimacs
Or you can escape the end-of-line character by an underscore character.
(1) -> logrule2 := rule_
(log ( x ) + log ( y ) == log ( x * y );_
sin (x) * cos (y) == tan(x*y))
(I just added a stupid second rule for demonstration.) Then, however,
you need to put parentheses and separate by semicolon, because the
interpreter will basically read this as ONE long line.
Ralf