Re: DCS chunking of OSC52 for copy to clipboard

2014-04-15 Thread Nicholas Marriott
I was going to bump the limit to 1K but that still seems a little short, try this please: diff --git a/input.c b/input.c index ee46c98..a8be6ad 100644 --- a/input.c +++ b/input.c @@ -701,6 +701,12 @@ input_init(struct window_pane *wp) *ictx->param_buf = '\0'; ictx->param_len = 0;

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

2014-04-15 Thread Nicholas Marriott
On Tue, Apr 15, 2014 at 01:40:22AM -0500, J Raynor wrote: > In cmd-new-session.c, you've made path's type "char *", but everywhere > else it is "const char *". Was that intentional? No, the line was too long but I should have added a new const char * line not added it to the char * one. Thanks.

Unknown command: update-environment

2014-04-15 Thread Patrick Proba
Hello, I'm using tmux 1.6 with Ubuntu 12.04.4 LTS on 2 different machines over ssh (one vm and one physical machine). For the connections I'm using SmarTTY (with integrated Xming server) on Windows 8.1. When I'm typing "Ctrl+b: update-environment" on one machine (vm), it's working as intended. Ho

Re: Unknown command: update-environment

2014-04-15 Thread Nicholas Marriott
It's not a command, it's an option. Original message From: Patrick Proba Date: 14/04/2014 12:46 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: Unknown command: update-environment Hello, I'm using tmux 1.6 with Ubuntu 12.04.4 LTS on 2 different machines over s

Re: Unknown command: update-environment

2014-04-15 Thread Nicholas Marriott
DISPLAY should be in update-environment by default. It's also usually best to do eg: set -ag update-environment " MYVAR" Unless you want to remove what is already there. On Tue, Apr 15, 2014 at 12:58:07PM +0200, Patrick Proba wrote: >Hello Nicholas, >thanks for the answer. It's listed

Re: [PATCH 2/2] Don't wrap mouse scrolling in choice-mode lists.

2014-04-15 Thread Marcel Partap
> + if (m->wheel == MOUSE_WHEEL_UP) { > + if (data->selected != data->top) > + window_choose_key(wp, sess, KEYC_UP); > + } That obviously fails for more than a screenful of choices. Correction at

Re: DCS chunking of OSC52 for copy to clipboard

2014-04-15 Thread Suraj Kurapati
On Tue, Apr 15, 2014 at 12:48 AM, Nicholas Marriott wrote: > I was going to bump the limit to 1K but that still seems a little short, try > this please: > > diff --git a/input.c b/input.c > index ee46c98..a8be6ad 100644 > [...] That patch worked wonderfully, thank you! Here is my new observatio

Re: DCS chunking of OSC52 for copy to clipboard

2014-04-15 Thread Nicholas Marriott
Actually looking at xterm it doesn't have a limit for this escape sequence, we can probably make tmux's a lot bigger so long as we reduce it back to 32 bytes after the sequence is done. Please try this instead: diff --git a/input.c b/input.c index ee46c98..b6c27cb 100644 --- a/input.c +++ b/input.

Re: DCS chunking of OSC52 for copy to clipboard

2014-04-15 Thread Suraj Kurapati
On Tue, Apr 15, 2014 at 2:22 PM, Nicholas Marriott wrote: > Actually looking at xterm it doesn't have a limit for this escape > sequence, we can probably make tmux's a lot bigger so long as we reduce > it back to 32 bytes after the sequence is done. Please try this instead: > > diff --git a/input.