writefile doesn't include input lines



I guess the subject says it all. My build_info() is:

Maxima version: 5.9.0
Maxima build date: 21:11 2/9/2003
host type: i386-redhat-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.29 (released 2002-07-25) (built on
localhost.localdomain [127.0.0.1])

The file that results from writefile("filename") seems to show
everything that Maxima writes, but nothing that I write, so I end up
with stuff like this

(C6) 
                                       2 I
                                          xx
(D6)                               S = -----
                                        h
                                         1
(C7) 
                                        L P
(D7)                                M = ---
                                         4
(C8) 
                                        h  L P
                                         1
(D8)                            SIGMA = ------
                                        8 I
                                           xx

which is not what I would expect from describe(writefile). Is there some
setting I can toggle to get my input included?

Also, describe(closefile) says you should give the filename as an
argument, but closefile() doesn't take an argument--it closes whatever
file is currently open.

--
Mark Lawrence
www.unified-eng.com