open-termscript

open-termscript is an interactive built-in function in `C source code'.


(open-termscript FILE)

Start writing all terminal output to FILE as well as the terminal.
FILE = nil means just close any termscript file currently open.