(C-a h, C-a C-h)
Writes out the currently displayed image to the file file, or, if no filename is specified, to hardcopy.n in the default directory, where n is the number of the current window. This either appends or overwrites the file if it exists, as determined by the
hardcopy_appendcommand. If the option
-his specified, dump also the contents of the scrollback buffer.
If set to ‘on’,
screenwill append to the hardcopy.n files created by the command
hardcopy; otherwise, these files are overwritten each time.