In your recent commit, you've added output functions for the respective
streams.
https://github.com/hemmecke/fricas-svn/commit/f0f158293c6b191a2ad056f2154f76b89fa0c280#diff-2
But in
https://github.com/hemmecke/fricas-svn/blob/master/src/interp/patches.lisp#L132
variables like $texmacsOutputStream are not initialised.
I do not think initialization in patches is needed. AFAICS before
use there should be call to initialize given format and
initialization routine gives value to corresponding stream.
I am not sure about algebraOutputStream, as it is very special,
but we probably can reomve other initializations.
Looks, like you are right. algebraOutputStream is the default output.
The others have to be switched on via something like
)set output texmacs on
and I guess that will finally call
setOutputTexmacs arg ==
arg = "%initialize%" =>
$texmacsOutputStream := mkOutputConsoleStream()
$texmacsOutputFile := '"CONSOLE"
$texmacsFormat := NIL
. Would there be any other way that something like $texmacsOutputStream
is accessed without calling setOutputTexmacs in advance? I doubt.
So I also think it is safe to reduce
https://github.com/hemmecke/fricas-svn/blob/master/src/interp/patches.lisp#L132
to just
(setq |$algebraOutputStream| (make-synonym-stream '*standard-output*))
Interestingly, however, it appears already in revision 9 at sourceforge
(line 253)
http://axiom.svn.sourceforge.net/viewvc/axiom/trunk/axiom/src/interp/patches.lisp.pamphlet?revision=9&view=markup&pathrev=9
Maybe Tim has some older code so that we might check what code was in
the original version from NAG.
Tim, is the NAG version somewhere publicly available?
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.