Pipe it to xclip or xsel or something.

-------- Original message --------
From: Sharon Kimble <boudic...@talktalk.net> 
Date: 23/09/2013  20:07  (GMT+00:00) 
To: Nicholas Marriott <nicholas.marri...@gmail.com> 
Cc: tmux-users@lists.sourceforge.net 
Subject: Re: Copying from tmux to clipboard or text file needed urgently. 
 
On Mon, 23 Sep 2013 19:25:15 +0100
Nicholas Marriott <nicholas.marri...@gmail.com> wrote:

> Do "tmux saveb -" to send it to stdout, or just paste it into emacs or
> something with C-b ].

Thanks for this, I'm now got to the stage of highlighting it, then
press ENTER and 'tmux saveb -' and it pastes itself into the same pane!
It doesn't get as far as the clipboard, which is still showing 'Do
"tmux saveb -" to send it to stdout, or just paste it into emacs or
something with C-b ].' and that’s pasted into emacs too!

Just for clarity in case its relevant I'm using 'tmux version 1.9'
which is up-to-date with the git repo. 

Thanks
Sharon.
> 
> 
> On Mon, Sep 23, 2013 at 07:00:38PM +0100, Sharon Kimble wrote:
> > I have the urgent need to copy a tmux pane to either the normal
> > clipboard or a text file. I have used these instructions to copy the
> > text output in tmux - 
> > 
> > Cut & Paste - 
> > 1) enter copy mode using Control+a [ 
> > 2) navigate to beginning of text, you want to select and hit
> > Control+Space 
> > 3) move around using arrow keys to select region
> > 4) when you reach end of region simply hit Alt+w to copy the region
> > 5) now Control+a ] will paste the selection
> > 
> > And its copied somewhere but I cant see it or find it. 'xclip' is
> > running to help in the process. Whilst I was following the
> > instructions the text was not highlighted, I don???t know if it
> > should have been? 
> > 
> > Can somebody please help me save this pane output so that I can
> > post a bug against the new kernel for Debian testing. 
> > 
> > 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
------------------------------------------------------------------------------
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