It is contrary - TeXmacs receives data from Fricas via standard plugin interface. Here is plugin launch code:
(plugin-configure fricas (:require (url-exists-in-path? "axiom")) ;(:initialize (fricas-initialize)) (:launch "cat ~/texmacs.input - | axiom -nosman") (:session "Fricas")) And I need to put some data in this session. Something like (:send "Fricas" "x + y"). Can I do it in this code? On Thu, Jan 6, 2011 at 4:14 AM, Joris van der Hoeven <[email protected]> wrote: > On Tue, Jan 04, 2011 at 09:53:51PM +1000, Alexander Solovets wrote: >> Hello, TeXmacs developers! >> >> I am writing TeXmacs plugin for Fricas - one of the Axiom's fork. In >> fact, I've already done the most of the work implemented native >> TeXmacs format output in Fricas (it supports different output >> formats). Unfortunately, it requires to run several commands in fricas >> interpreter to turn the format on. Therefore I am interested in >> passing some data to opened session before user will interact with it. >> Is it possible within init-fricas.scm in plugin folder? In fact, any >> other part of plugin sources would be suitable. Also fricas produces >> unnecessary greeting at start and I would be glad to know the way to >> suppress it. > > Please be a bit more precise on the kind of data that you want to transmit. > Where do the data come from? From TeXmacs? > > Best, --Joris > > _______________________________________________ > Texmacs-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/texmacs-dev > _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
