A transcript file is a record of an interactive session. It is also useful as a "quick-anddirty" alternative to opening an output file and using explicit output operations.
transcript-on and transcript-off appear in the Revised5 Report but not in the ANSI/IEEE standard.
(transcript-on filename) | procedure |
returns: unspecified |
filename must be a string.
transcript-on opens the file named by filename for output, and it copies to this file all input from the current input port and all output to the current output port. An error is signaled if the file cannot be opened for output.
(transcript-off) | procedure |
returns: unspecified |
transcript-off ends transcription and closes the transcript file.