hmm, on Tue, Feb 18, 2014 at 07:31:26PM +0100, Micha?? Markowski said that > 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'
thank you, this is it. this would be a nice addition to the built-in bindings (without -S) -f -- "will you leave me alone if i give you a quote?" -- emmanuel goldstein

