Re: display-message in bindings no longer working as I expect

2013-03-25 Thread Aaron Jensen
I haven't tested this yet, but given that Thomas is looking to release 1.8, should a fix for this go in it if it hasn't already? On Sunday, March 24, 2013 at 4:06 AM, Nicholas Marriott wrote: > I think perhaps #{} should me made to translate to # although in this > case it doesn't matter becau

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Try this please from a shell outside tmux: tmux -Ltest -vvv new -d 'echo abcdef; sleep 1000' tmux -Ltest set -g mode-mouse on tmux -Ltest attach Then try to select the abcdef with the mouse, then press ^C so tmux exits, then email me all the logs from the current directory (tmux-*.log). On Mon,

Re: Tmux copy-pipe to multiple targets

2013-03-25 Thread Nicholas Marriott
Looks like you are using a bash extension and the copy-pipe command will be run with /bin/sh. Try doing copy-pipe "bash -c 'mycommand'" On Mon, Mar 25, 2013 at 02:35:37PM -0400, James Jong wrote: >The following command works well in the command line and copies a string >to two X-window t

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
No, it doesn't work either.. On Mon, Mar 25, 2013 at 12:21 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hmm. Does it work if you just turn on mode-mouse not the other options? > > > On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: > >OK. Just tried xterm and mouse

Re: Tmux copy-pipe to multiple targets

2013-03-25 Thread James Jong
(I am resending the email with better formatting): 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

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: [Patch] Move cursor into last column on CUU and CUD

2013-03-25 Thread George Nachman
I don't know of anywhere this is a problem in practice, no need to rush it into 1.8. On Mon, Mar 25, 2013 at 7:04 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Is this an issue for you or just incidental because I'd prefer to leave > it for a few days til after 1.8? > > >

Re: [PATCH] dynamic cmd_table maybe 2

2013-03-25 Thread Philip Herron
Yeah i understand what you mean. I remember posting my python stuff before i am cleaning it all up at the moment. And i remember Nic saying about how he wasn't against the idea of a dynamic cmd table. I think its an interesting patch since we can change stuff at runtime. But its probably only valid

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
OK. Just tried xterm and mouse scrolling works there but selection, copy aren't working. Maybe it's my configuration that's not working? BTW, I'm using tmux on our server. Maybe this makes things different? On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu wrote: > I see. I can try xterm and see if

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Hmm. Does it work if you just turn on mode-mouse not the other options? On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: >OK. Just tried xterm and mouse scrolling works there but selection, copy >aren't working. Maybe it's my configuration that's not working? >BTW, I'm usin

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
I see. I can try xterm and see if works there. I'm using tmux 1.7. On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > xterm is the standard terminal and I know it works there, so if it works > for you with xterm then you have configured things correctly a

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
xterm is the standard terminal and I know it works there, so if it works for you with xterm then you have configured things correctly and it's a problem in iTerm2 and Terminal.app. Also what version of tmux are you using? On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: >Hi, Nicho

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
Hi, Nicholas, I've never used xterm so I'm not sure if it works there. Why? Yeah, the mouse-select-pane works. The mouse-select-window also works. On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Does it work in xterm? > > Also does mouse-select-

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Hi Does it work in xterm? Also does mouse-select-pane work? That is, if you split the window can you change pane by clicking. On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: >Dear developers, >I recently started to use tmux and thanks for making this useful tool! >I enco

Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
Dear developers, I recently started to use tmux and thanks for making this useful tool! I encountered some problem with mode-mouse settings. I use iTerm2 and this is my .tmux.conf setting for mode-mouse: set -g prefix C-q # Toggle mouse on with ^q m bind m \ set -g mode-mouse on \;\ set -g mouse-

Re: Add TMUX_TMPDIR environment variable

2013-03-25 Thread Ben Boeckel
On Fri, Mar 22, 2013 at 08:35:10 +, Nicholas Marriott wrote: > Perhaps TMUX_SOCKET to act like -S instead might be better? Then you can > put it where you like without tmux creating directories. That might also be good, but I'd like any tmux sessions I create use the directory without having t

Changes to tmux-code.git on SF -- "master" branch rewound.

2013-03-25 Thread Thomas Adam
Hello all, On Tuesday evening -- I'm planning to release tmux 1.8. To this end, I've updated the "master" branch on SF to reflect what will be in it. To most people this won't be news because it should contain everything it used to beforehand, but I've had to rewrite the history to satisfy the sy

Re: [Patch] Move cursor into last column on CUU and CUD

2013-03-25 Thread Nicholas Marriott
Hi Is this an issue for you or just incidental because I'd prefer to leave it for a few days til after 1.8? On Sun, Mar 24, 2013 at 01:37:57PM -0700, George Nachman wrote: > There is an odd bit of behavior in CUU and CUD when the cursor is at > the end of the line in xterm that tmux does not hav