2014-02-18 14:48 GMT+01:00 frantisek holop <[email protected]>:
> is there a way to tell tmux to dump the
>
> -current screen to a file (like screen's "hardcopy")
>
> -the whole scrollback buffer to a file.
>
> with or without escape sequences, as long as it is
> a choice (but i need without, basically just
> saving a lot of mouse movement and copy/paste)

Check "capture-pane" command in tmux(8). Example from my config:

bind-key P command-prompt -p 'save history to filename:' -I
'/tmp/tmux-%F_%H_%M_%S.log' 'capture-pane -S -32768 ; save-buffer %1 ;
delete-buffer'

-- 
Michał Markowski

Reply via email to