Go to the first, previous, next, last section, table of contents.
This section describes the commands for keeping a record of your session.
- Hardcopy: Dump the current screen to a file
- Log: Log the output of a window to a file
- 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.
- 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.
This filename can be changed with the `logfile' command.
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: logfile filename
-
(none)
Defines the name the logfiles will get. The default is `screenlog.%n'.
Go to the first, previous, next, last section, table of contents.