On Tue, 24 Sep 2013 11:58:35 +1200
Jan Larres <j...@majutsushi.net> wrote:

> On 24/09/13 11:26, Sharon Kimble wrote:
> > On Tue, 24 Sep 2013 10:57:02 +1200
> > Jan Larres <j...@majutsushi.net> wrote:
> >> No. Tmux copies things to its own internal paste buffers without
> >> touching the system clipboard. To pipe the current buffer to xclip
> >> do this:
> >>
> >>   $ tmux saveb - | xclip -i -selection clipboard
> >
> > Thanks for this Jan, and I've used the command you’ve given, but its
> > failing atm due to an old alias of xclip which is now commented out
> > but unable to get rid of it completely due to some unknown error
> > in .bashrc, so the whole thing is failing atm!
> 
> You can either remove the alias with the 'unalias' command or call
> xclip as 'command xclip' which will bypass the alias.
> 
> > If you feel like it, the whole of the .bashrc is at
> > http://paste.debian.net/45437/ but I cant see why its failing at
> > all.
> 
> If you are talking about the 'unexpected end of file' errors then
> that's because you have commented out the closing braces of the
> prompt_on() and prompt_off() functions and are missing a 'fi' at the
> end.
> 
> Jan
> 
Thanks Jan, thats .bashrc is now sorted out, so I do this - 

1 - CTRL+a+[
2 - move cursor to beginning of required text
3 - press SPACE
4 - move cursor to end of required text
5 - press ENTER
6 - CTRL+a+]
7 - command xclip -o > tmuxing.txt

tmuxing.txt is created but is only 5 bytes big consisting of one word
'xclip'.

So where am I going wrong please? I'm genuinely at a loss with this.

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

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

Reply via email to