help-- using writefile in winXP



Doug Stewart  writes:

> Wolfgang Jenkner wrote:

>>Doug Stewart  writes:

>>>I tried appendfile and it is no better.:-(

>>Are you using some graphical interface like Xmaxima?

> Im using the windows wizard  insall ver from:

Sorry, I am ignorant of Windows specific aspects of running Maxima, so
I don't know how your reply answers my question.

Anyway, here's the reason why I asked this:

`appendfile' (and in GCL, DRIBBLE and hence `writefile' as well)
assumes that all interactive streams refer to *terminal-io*, so that
setting the latter stream variable affects all interactive streams.
This assumption is true for a command-line version of a GCL based
Maxima, but it is not true for some (perhaps graphical) interface
which talks to Maxima via a socket (this is a bug, but there's already
a fix for this).

A way to distinguish between these situation is to type

:lisp (boundp '*socket-connection*)

If this returns T (perhaps after typing a trailing `;' or otherwise
trying to get some attention) the problem is likely explained by what
I said above.  Otherwise, I have no idea.

Wolfgang