Or on older versions just select all the text in copy mode then paste it into 
emacs or some text editor and save the file. Or use tmux saveb. Why is this so 
hard?

-------- Original message --------
From: Thomas Adam <tho...@xteddy.org> 
Date: 23/09/2013  23:52  (GMT+00:00) 
To: Sharon Kimble <boudic...@talktalk.net> 
Cc: tmux-users@lists.sourceforge.net 
Subject: Re: How to copy the whole buffer? 
 
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).

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?

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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

Reply via email to