Entering tmux control mode without attaching session

2015-02-25 Thread Jared Stafford
I was trying to write a script that uses control mode to monitor window changes. However, if I run "tmux -C", it creates a new session and attaches to it. If I run "tmux -C list-sessions", I get the output for list-sessions, but it exits immediately. Is there some way I can run tmux in control mod

Re: The history of tmux

2015-02-25 Thread Thomas Adam
On Sun, Feb 22, 2015 at 10:30:45PM +, Ben Boeckel wrote: > On Mon, 16 Feb, 2015 at 17:27:35 GMT, Christopher Ritsen wrote: > > The point I was trying to make was that it's not necessarily the > > committer who is doing the work (they might be just applying a patch > > received > > from elsewhe

Re: [tmux:tickets] #174 Copy in copy mode without leaving copy mode

2015-02-25 Thread Nicholas Marriott
Ah yes you're right, I missed that, the previous diff is fine then. On Tue, Feb 24, 2015 at 06:02:35PM -0600, J Raynor wrote: > > I think you want only 2 or 3 arguments to be valid, 4 should be an > > error. Otherwise this looks fine. > > You already can't pass 4 arguments. The check for -t in

Re: [tmux:tickets] #174 Copy in copy mode without leaving copy mode

2015-02-25 Thread J Raynor
> I think you want only 2 or 3 arguments to be valid, 4 should be an > error. Otherwise this looks fine. You already can't pass 4 arguments. The check for -t in cmd_bind_key_exec prevents anything but 2 or 3 args from getting to that section of code. If you'd prefer the check to be there anyway,

Re: [tmux:tickets] #174 Copy in copy mode without leaving copy mode

2015-02-25 Thread Nicholas Marriott
I think you want only 2 or 3 arguments to be valid, 4 should be an error. Otherwise this looks fine. On Sun, Feb 22, 2015 at 11:13:22PM -0600, J Raynor wrote: > > You could maybe make copy-selection accept an argument like copy-pipe. I > > wouldn't make it do the full getopt dance just yet but ju

Re: patch for setting pane background color

2015-02-25 Thread J Raynor
I've attached a patch that adds the BCE functionality I did before. It's more concise this time. You have to apply the other patch first, the one that does pane colors for bce terminals. As for the other stuff, I misunderstood what you were referring to. I thought you were looking for a differen