[Maxima] writefile

Robert Dodier robert.dodier at gmail.com
Wed Oct 17 09:18:18 CDT 2007


On 10/15/07, pol <linux_milano at yahoo.it> wrote:

> Is there anything i can do to log automatically my sessions?

Looking at the code (src/macsys.lisp) it appears there is another
logging function, named appendfile. Here is the existing documentation:

 -- Function: appendfile (<filename>)
     Appends a console transcript to <filename>.  `appendfile' is the
     same as `writefile', except that the transcript file, if it
     exists, is always appended.

     `closefile' closes the transcript file opened by `appendfile' or
     `writefile'.


Try appendfile -- does that capture both input and output?
appendfile is implemented differently than writefile, maybe
one works and the other doesn't.

HTH

Robert Dodier


More information about the Maxima mailing list