Re: Patch with Lua support (+more)

2013-08-18 Thread Nicholas Marriott
Ok so this is cool and it's great you can do this kind of stuff. And thanks for showing it. But I'm not going to add it to tmux. If we ever add an external scripting language to tmux then it'll have to be done carefully and will be quite a big process. A process I don't have time or inclination

Re: patch adding -c flag to new-session

2013-08-18 Thread Nicholas Marriott
I like the look of this but I'll have a better look this week when I get home and have a computer not a phone. Same for all the other patches I haven't replied to from various people. Original message From: J Raynor Date: 06/08/2013 02:21 (GMT+00:00) To: Nicholas Marriott

Re: Support showenv output as shell code

2013-08-18 Thread Aaron Schrab
At 07:51 +0100 18 Aug 2013, Nicholas Marriott wrote: >All you are adding here is escaping quotes? For variables that are set, it adds single quotes around the value and replaces every single quote within the value with '\'' . So in that case you could say that it's only adding escaping quotes

Re: Support showenv output as shell code

2013-08-18 Thread Nicholas Marriott
How do you show the difference between an empty value and one to be unset then? Original message From: Aaron Schrab Date: 18/08/2013 14:18 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: Support showenv output as shell code At 07:51

Re: Support showenv output as shell code

2013-08-18 Thread Aaron Schrab
At 14:49 +0100 18 Aug 2013, Nicholas Marriott wrote: >How do you show the difference between an empty value and one to be >unset then? An empty value would still have a pair of single quotes after the equal sign, an unset value would not. But, I'm now thinking that I should change it to emit

Re: patch allowing pipe-pane to write directly to a file

2013-08-18 Thread J Raynor
On Sun, Aug 18, 2013 at 1:42 AM, Nicholas Marriott wrote: > I think either you or me are miss the point :-). Oh, I'll bet it's me. > There is no point adding something to pipe-pane or something that does the > same as pipe-pane. People who want to log individual panes can already do it > with p

[PATCH 2/2] Read multiple parameters on SM/RM/DECSET/DECRST

2013-08-18 Thread Hayaki Saito
Signed-off-by: Hayaki Saito --- input.c | 221 +--- 1 file changed, 115 insertions(+), 106 deletions(-) diff --git a/input.c b/input.c index c3c85cd..02e3658 100644 --- a/input.c +++ b/input.c @@ -1074,6 +1074,7 @@ input_csi_dispatch(st

[PATCH 1/2] Correct comments: GATM -> DECCKM

2013-08-18 Thread Hayaki Saito
Signed-off-by: Hayaki Saito --- input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.c b/input.c index 30d3bb9..c3c85cd 100644 --- a/input.c +++ b/input.c @@ -1241,7 +1241,7 @@ input_csi_dispatch(struct input_ctx *ictx) break; case INPUT_CS

[PATCH 0/2] Fix SM/RM/DECSET/DECRST behavior

2013-08-18 Thread Hayaki Saito
Now tmux does not accept multiple parameters with mode set/reset sequences(SM/RM/DECSET/DECRST). It reads only the first parameter. >From the viewpoint of terminfo compatibility, that is not such a big issue. But some applications may send hard-coded sequences. example: $ printf "\033[?12;25l