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

2013-04-24 Thread James Jong
v run "xsel -o -b | tmux load-buffer - && tmux paste-buffer" > # Copy into primary > bind C-y choose-buffer "run \"tmux save-buffer -b '%%' - | xsel -i\"" > # Paste from primary > bind C-p run "xsel -o | tmux load-buffer - && tm

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

2013-04-24 Thread James Jong
gt; > > 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 | tmux

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

Re: Successive builds from repository. What to clean

2013-04-24 Thread James Jong
mux in the past, so I am not sure what may be causing this. Thanks, James On Wed, Apr 24, 2013 at 10:10 AM, Thomas Adam wrote: > On Wed, Apr 24, 2013 at 10:03:25AM -0400, James Jong wrote: > > Say I build tmux from the repository. A new version comes out, and that I > > fetch

Successive builds from repository. What to clean

2013-04-24 Thread James Jong
Say I build tmux from the repository. A new version comes out, and that I fetch and pull to build a new version again. At this point I see the following from git: > HEAD is now at 1b083aa .. .Update CHANGES and configure.ac for 1.8 release I usually build tmux by calling: sh autogen.sh ./config

Re: Tmux copy-pipe to multiple targets

2013-03-25 Thread James Jong
x27;t: * bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null" Why? More generally, is there a better way to copy a string to two X window targets? On Mon, Mar 25, 2013 at 2:35 PM, James Jong wrote: > The fo

Tmux copy-pipe to multiple targets

2013-03-25 Thread James Jong
The following command works well in the command line and copies a string to two X-window targets: echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null The following two tmux binding commands work well too: bind-key -n -t emacs-copy M-w copy-pipe "xc

Re: Copying between buffer and clipboard

2013-03-15 Thread James Jong
Mar 14, 2013 at 1:48 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > It is the same as using xclip but you use it from copy mode rather than > needing to copy first and use the prefix, look at the example in the man > page for how to bind it. > > > >

Any way to send signals from tmux to a process running within a pane?

2013-03-14 Thread James Jong
I have a process that is mibehaving and controls the stdin of the terminal in a pane in tmux. I would like to kill the process without having to kill the pane. Is this possible using any of the tmux commands? In case it helps, I am using the latest version from the git repository. Thanks, James

Re: Copying between buffer and clipboard

2013-03-14 Thread James Jong
un tmux from git and bind the copy-pipe command. > > Or use xterm and it should happen automatically. > > > On Tue, Mar 12, 2013 at 12:13:26PM -0400, James Jong wrote: > >I am running latest version of tmux (1.7) and xclip (0.12) installed > in > >the system. I wou

Copying between buffer and clipboard

2013-03-12 Thread James Jong
I am running latest version of tmux (1.7) and xclip (0.12) installed in the system. I would like to define Emacs-like keyboard bindings in my `.tmux.conf` to be able to copy (M-w) and paste (C-y) from/to the copy buffer to the clipboard. I found some code [1] for copying the entire buffer to the c

Re: Tmux exiting abruptly. nothing on .tmux.conf

2013-02-27 Thread James Jong
: '/' ground input_parse: 's' ground input_parse: 'w' ground input_parse: '/' ground input_parse: 'z' ground input_parse: 's' ground input_parse: 'h' ground input_parse: '-' ground input_parse: '4' ground input_

Tmux exiting abruptly. nothing on .tmux.conf

2013-02-27 Thread James Jong
Hello, I just compiled my own version of tmux with libevent. Whenever I run tmux from zsh, tmux starts, but exits quickly returning [exited]. Interestingly though, tmux runs correctly with: tmux new $SHELL I have also tried creating an empty .tmux.conf with no luck. Any thoughts? L -