Hacker News new | ask | show | jobs
by lozf 329 days ago
> GNU Screen window with CTRL-A + Shift-H to log all output to logfile

tmux users can use it's `capture-pane` command, either before or after the fact if history is set big enough. There are several helpful flags worth researching.

e.g. `tmux capture-pane -pS - > ~/tmux.log` in a shell to save the history of that pane, or just `prefix+: capture-pane ...` from within tmux