the problem is that xclip does not close stdout when it is finished so tmux has no way to know it has finished and won't let the client process any more commands
On Thu, Mar 13, 2014 at 02:44:47PM +0100, Pavlos Parissis wrote: > Hi, > > I have switched to xsel and much more simpler commands for copying > into/pasting from X clipboard and since then I don't have the problem I > reported. Basically, tmux behaves in a very stable manner as it used to > be:-) > I haven't gone through the change logs between 1.7 and 1.9a and see what > could cause this weird behavior. > # C-c: save into system clipboard (+). With preselection. > bind C-c run "tmux show-buffer | xsel -i -b" > > # C-v: copy from + clipboard. > bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer" > > Thanks Nicholas for your support, very much appreciated. > Cheers, > Pavlos > > On 7 March 2014 23:00, Nicholas Marriott <[1]nicholas.marri...@gmail.com> > wrote: > > No you don't, use run -b > > -------- Original message -------- > From: Pavlos Parissis <[2]pavlos.paris...@gmail.com> > Date: 07/03/2014 21:47 (GMT+00:00) > To: Nicholas Marriott <[3]nicholas.marri...@gmail.com> > Cc: [4]tmux-users@lists.sourceforge.net > Subject: Re: Can't create window or pane > > On 07/03/2014 10:14 ****, Nicholas Marriott wrote: > > That sounds like the xclip thing, if you are using it add -b to > run-shell > > > > > > I do have -b, > bind C-c choose-buffer "run \"tmux save-buffer -b %% - | xclip -i -sel > clipboard\" \; run \" tmux display \\\"Clipboard \(+\) filled with: > $(tmux save-buffer -b %1 - | dd ibs=1 obs=1 status=noxfer count=80 2> > /dev/null)... \\\" \" " > > Thanks, > Pavlos > > References > > Visible links > 1. mailto:nicholas.marri...@gmail.com > 2. mailto:pavlos.paris...@gmail.com > 3. mailto:nicholas.marri...@gmail.com > 4. mailto:tmux-users@lists.sourceforge.net ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users