[Ecls-list] writefile does not write



Perhaps the problem is just what
http://www.lispworks.com/documentation/HyperSpec/Body/f_dribbl.htm
says at the bottom:

dribble is intended primarily for interactive debugging; its effect cannot be relied upon when used in a program.

So that dribble does work with the Ecl command-line doesn't mean that it will
work with the Maxima command-line, I guess (and I guess that was what Robert
said at the beginning).

Oliver

On Sun, Nov 06, 2011 at 12:37:58AM +0000, Oliver Kullmann wrote:
> > 
> > The problem is that writefile() in Maxima does not work (just creates an
> > empty file, and never writes to it) under Ecl (now also
> > using the newest version from cvs), while it works for example with CLisp.
> > And writefile uses (apparently) dribble().
> >
> Here is the definition of writefile (in macsys.lisp):
> 
> (defmfun $writefile (x)
>   (let ((msg (dribble (maxima-string x))))
>     (format t "~&~A~&" msg)
>     '$done))
> 
> Don't know why this works with CLisp but not with Ecl.
>