> There are a few issues remaining, though. ... > 2) Globally changing ~/.fricas.input is not a good idea in my opinion. ... > For 2), I wish FriCAS had a way to run scripts specified on the command > line, i.e. something like "fricas -read texmacs.input".
I still would like something like a -read option or even something like fricas -c "fricas commands here" but concerning .fricas.input file, one could use pipes. Just something like (plugin-configure fricas (:require (url-exists-in-path? "fricas")) (:launch "cat ~/.TeXmacs/plugins/fricas/.fricas.input - | fricas - nosman") (:session "FriCAS")) as ~/.TeXmacs/plugins/fricas/progs/init-fricas.scm . I have no file ~/.fricas.input. This file lives inside the ~/.TeXmacs/plugins/fricas/ subdir. The only problem I can see at the moment is that typing ")quit" inside a texmacs fricas session will hang the fricas session, since the fricas process is terminated but the cat command (and therefore texmacs) doesn't recognise that fricas is now dead and so will wait for further input. It shows "Busy..." and the session cannot be restarted. That looks like a corner case, but I'd rather like a proper solution. Ralf -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en.
