In the screen
, copying the history of the window output is quite hard. How to save the screen easily to a file?
First type Ctrl + A
then :
to get to command mode.
In the command mode, execute
hardcopy -h /path/to/file
screen
will save the window output to /path/to/file
.