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
If the option
-h is specified, dump also the
contents of the scrollback buffer.
If set to ‘on’,
screen will append to the
hardcopy.n files created by the command
otherwise, these files are overwritten each time.
Defines a directory where hardcopy files will be placed. If unset, hardcopys are dumped in screen’s current working directory.