Go to the previous, next section.

Logging

This section describes the commands for keeping a record of your session.

hardcopy

Command: hardcopy

(C-a h, C-a C-h)
Writes out the current display contents to the file `hardcopy.n' in the window's 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_append command.

Command: hardcopy_append state

(none)
If set to `on', screen will append to the `hardcopy.n' files created by the command hardcopy; otherwise, these files are overwritten each time.

Command: hardcopydir directory

(none)
Defines a directory where hardcopy files will be placed. If unset hardcopys are dumped in screen's current working directory.

log

Command: log [state]

(C-a H)
Begins/ends logging of the current window to the file `screenlog.n' in the window's default directory, where n is the number of the current window. If no parameter is given, the logging state is toggled. The session log is appended to the previous contents of the file if it already exists. The current contents and the contents of the scrollback history are not included in the session log. Default is `off'.

Command: logdir directory

(none)
Defines a directory where logfiles will be placed. If unset logfiles are written in screens current working directory.

Go to the previous, next section.