Re: [PATCH] dynamic cmd_table maybe 2

2013-03-22 Thread Thomas Adam
Hi, Given that I'm about to roll-out hook-support -- what is this change for? I vaguely recall some mangling of cmd.c to support some odd python-specific integration in the past -- and I'd personally be loathe to add changes to _that_ end in to tmux, unless they had a more generic benefit elsewhe

[PATCH] dynamic cmd_table maybe 2

2013-03-22 Thread Philip Herron
--- cmd.c | 14 -- tmux.c |2 +- tmux.h |4 +++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/cmd.c b/cmd.c index c8e9702..083c5eb 100644 --- a/cmd.c +++ b/cmd.c @@ -27,7 +27,8 @@ #include "tmux.h" -const struct cmd_entry *cmd_table[] = { +struct cmd_

Re: [PATCH] dynamic command table maybe

2013-03-22 Thread Nicholas Marriott
On Fri, Mar 22, 2013 at 03:24:45PM +, Philip Herron wrote: > --- > cmd.c| 179 > -- > server.c |3 ++ > tmux.c | 11 > tmux.h |8 ++- > 4 files changed, 112 insertions(+), 89 deletions(-) Some comments inline

[PATCH] Dynamicly allocated command table

2013-03-22 Thread Philip Herron
Dynamic commad table allow for command manipulation at runtime i use this in my python scripting command. Philip Herron (1): dynamic command table maybe cmd.c| 179 -- server.c |3 ++ tmux.c | 11 tmux.h |8 ++-

[PATCH] dynamic command table maybe

2013-03-22 Thread Philip Herron
--- cmd.c| 179 -- server.c |3 ++ tmux.c | 11 tmux.h |8 ++- 4 files changed, 112 insertions(+), 89 deletions(-) diff --git a/cmd.c b/cmd.c index c8e9702..8a47e33 100644 --- a/cmd.c +++ b/cmd.c @@ -27,93 +27,96

Re: tmux server crashes when I connect via telnet, but works when I connect via terminal server

2013-03-22 Thread Nicholas Marriott
Does tmux leave a core? If so can you get a backtrace please? If not please run tmux (when you first start it) with -v, reproduce and send me the logs. On Thu, Mar 21, 2013 at 11:32:50PM +, Myles Dear (mdear) wrote: >Hello, tmux experts. > > > >I'm having an odd problem. > >

tmux server crashes when I connect via telnet, but works when I connect via terminal server

2013-03-22 Thread Myles Dear (mdear)
Hello, tmux experts. I'm having an odd problem. Could you help me determine if it is a known issue or a new issue? If a new issue, how would I go about raising a bug report ? I am running tmux on a line card in a multi-chassis router. The following sequence works as expected: 1. Attach

Re: Add TMUX_TMPDIR environment variable

2013-03-22 Thread Nicholas Marriott
Perhaps TMUX_SOCKET to act like -S instead might be better? Then you can put it where you like without tmux creating directories. On Tue, Mar 19, 2013 at 03:18:04PM -0400, Ben Boeckel wrote: > Hi, > > Attached is a patch which adds support for a TMUX_TMPDIR environment > variable to set the dire