Just take a look at the current axiom plugin implementation. If you have TeXmacs sources there will be C program that reads fricas output, processes and sends result to texmacs.
On Fri, Jan 7, 2011 at 8:26 PM, Ralf Hemmecke <[email protected]> wrote: > On 01/07/2011 11:11 AM, Alexander Solovets wrote: >> >> I've found the most neutral solution. TeXmacs plugin interface >> supports middleware, which can be any executables =) So I can add such >> a program. All that will remain is to send ")set output texmacs on" >> and other commands at initialization. > >>> (plugin-configure fricas >>> (:require (url-exists-in-path? "fricas")) >>> (:launch "cd ~/.TeXmacs/plugins/fricas; fricas -nosman") >>> (:session "FriCAS")) > > If you mean that you can call any program in the ":launch" part, then this > is not the problem. The problem is that your "middleware" will have to kill > all respective processes if the user types ")quit" inside fricas. But if you > know how to do that, then maybe you can even start "fricas" instead of > "fricas -nosman". > > 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. > > -- 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.
