Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Chris Johnsen
On Wed, Apr 24, 2013 at 5:48 PM, Nicholas Marriott wrote: > You probably started tmux from somewhere that PATH was not set > correctly. Try eg C-b : run 'echo $PATH; sleep 100' to check. > > You can change it with tmux setenv -g PATH foo:bar:baz Another change in 1.8 run-shell (and if-shell) was

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Nicholas Marriott
You probably started tmux from somewhere that PATH was not set correctly. Try eg C-b : run 'echo $PATH; sleep 100' to check. You can change it with tmux setenv -g PATH foo:bar:baz On Wed, Apr 24, 2013 at 05:16:01PM -0400, James Jong wrote: >I redirected stderr as Chris suggested (great point

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
I redirected stderr as Chris suggested (great pointer by the way) with: bind-key -n C-y run "exec 2>&1 ; xclip -o | tmux load-buffer - ; tmux paste-buffer" and when I try to paste with C-y I get the following: sh: tmux: command not found sh: tmux: command not found 'exec 2>&1 ; xclip -o | tmux l

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Ashwin G
I had a similar issue with xclip and tmux 1.8. I did not try xclip with previous versions of tmux, so not really sure if it was working with the older tmux versions. I think the problem is that xclip does not recognize that the input is from stdin and waits indefinitely, causing tmux to hang as we

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Chris Johnsen
On Wed, Apr 24, 2013 at 11:00 AM, James Jong wrote: > The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux > 1.8 > > # Move x clipboard into tmux paste buffer > bind-key -n C-y run "xclip -o | tmux load-buffer - ; tmux paste-buffer" > > But I now get the following in the stat

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
I just tried that, and when pasting tmux goes into some extensive computation, and eventually returns 127 too. James On Wed, Apr 24, 2013 at 12:16 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Does it work if you change it to "DISPLAY=:0.0 xclip -o|..."? > > > On Wed, Apr 24, 20

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Nicholas Marriott
Does it work if you change it to "DISPLAY=:0.0 xclip -o|..."? On Wed, Apr 24, 2013 at 12:00:59PM -0400, James Jong wrote: >The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux >1.8 > ># Move x clipboard into tmux paste buffer >bind-key -n C-y run "xclip -o |

Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux 1.8 # Move x clipboard into tmux paste buffer bind-key -n C-y run "xclip -o | tmux load-buffer - ; tmux paste-buffer" But I now get the following in the status pane: xclip -o | tmux load-buffer - ; tmux paste-buffer exited