On Mon, 23 Sep 2013 23:52:06 +0100 Thomas Adam <tho...@xteddy.org> wrote:
> On Mon, Sep 23, 2013 at 11:46:04PM +0100, Sharon Kimble wrote: > > Okay, I'm attacking the problem from another direction - how can i > > copy *all* of the buffer to a text file please. I've used 'tmux > > capture-pane -t keep \; save-buffer -b 0 ~/tmuxtest.txt' which > > worked slightly in that it only copied over the visible part of the > > buffer/pane but I'm after everything! > > I feel like we're going round in circles here, from what I've read in > the other thread. > > Which version of tmux is this on? Git (1.9)? If so, I think when > you say "whole buffer" here, you're probably wanting to capture the > entire pane (see capture-pane, with the -S and -E options). Yes, git 1.9 up-to-date. So I've used this 'tmux capture-pane -E 3319 -S 1 -t keep \; save-buffer -b 0 ~/tmuxtest2.txt' and 'tmuxtest2.txt' is created but still only shows just the visible part of the pane, so what am I failing on atm please? > > Getting the contents of that in to the clipboard, if that's even what > you want now (given that again, capturep can output the result to > STDOUT), is down to tools like xclip, etc., but if the content is in > a file, what difference would it make? I'd be happy if it just created a whole buffer/pane text-file. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2 Registered Linux user 561944
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users