Function: comint-append-output-to-file

Append output from interpreter since last input to FILENAME.
Any prompt at the end of the output is not written.

(fn FILENAME)