On 24/09/13 12:15, Sharon Kimble wrote:
> 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'.

'Ctrl-a ]' will paste the buffer directly into whatever application
you're currently running, which would be the terminal in your case. I
guess that's not really what you want. Is anything happening when you
press that? I can't tell from your notation but note that you're NOT
supposed to hold Ctrl when pressing ']'.

The correct sequence for you would be instead of doing 6+7 to execute
the pipeline I wrote earlier:

  $ tmux saveb - | command xclip -i -selection clipboard

Jan


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