Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-03-09 Thread Nicholas Marriott
Yes that's right, we can do the PATH bits without the argv bits Original message From: J Raynor Date: 10/03/2014 02:33 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: use "--" to mark start of command w/ neww etc to avoid quoting > A

Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-03-09 Thread J Raynor
> Any chance you can split the PATH bits out so they work on the current > code then we can apply them separately before adding --? Let me make sure I understand what you're looking for. The current code passes in cmd to things like session_create and window_pane_spawn. My patch, as it is now, d

Re: tmux leaking socket descriptors under certain circumstances

2014-03-09 Thread Jan Larres
On 08/03/14 12:44, Balazs Kezes wrote: > On 2014-03-07 19:52, Jan Larres wrote: >> Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'? > > Ah, yes, I do see them in my case. Then I would guess that either this is not actually the cause or somehow the descriptors do not get properly

Re: [PATCH] better UTF-8 support for buffer_sample

2014-03-09 Thread Nicholas Marriott
On Mon, Mar 10, 2014 at 12:47:46AM +0900, Kosuke ASAMI wrote: > The first zero check of 'len' seem to be unnecessary. > Yes you are right, thanks. Will look at this again and apply it later this week. > I have fixed the decrement number from 'src' when an UTF-8 character > doesn't finish. > > 2

Re: [PATCH] better UTF-8 support for buffer_sample

2014-03-09 Thread Kosuke ASAMI
The first zero check of 'len' seem to be unnecessary. I have fixed the decrement number from 'src' when an UTF-8 character doesn't finish. 2014-03-09 18:16 GMT+09:00 Nicholas Marriott : > Actually I think this function is wrong because it reads over the end of > src. len is the length of src, not

[tmux:tickets] #110 Tmux doesn't support content scroll regions.

2014-03-09 Thread Morgrod
--- ** [tickets:#110] Tmux doesn't support content scroll regions.** **Status:** open **Created:** Sat Mar 08, 2014 10:07 PM UTC by Morgrod **Last Updated:** Sat Mar 08, 2014 10:07 PM UTC **Owner:** nobody Content Scroll Regions are a standard feature in vt100/vt200 terminals, but tmux doesn

Re: [PATCH] better UTF-8 support for buffer_sample

2014-03-09 Thread Nicholas Marriott
Actually I think this function is wrong because it reads over the end of src. len is the length of src, not dst. We know there is always enough space in dst. I haven't time now to look at this closely or test it but maybe something like: diff --git a/utf8.c b/utf8.c index 63723d7..b1f44bf 100644