Re: if-shell 'tmux has-session' hangs

2011-04-30 Thread Nicholas Marriott
Probably epoll bug in Linux. If you are using libevent 1.4 NOEPOLL can trigger a different bug in libevent though :-/. On Fri, Apr 29, 2011 at 08:32:14AM -0700, Randy Stauner wrote: >yes it does. >i also had my first experience of tmux completely not responding... >(only happened onc

Re: bind a key to multiple commands in copy mode

2011-04-30 Thread Nicholas Marriott
I only seem to be getting half of this exchange, where is this patch? On Fri, Apr 29, 2011 at 04:45:34PM -0700, Randy Stauner wrote: >I added copy-end-of-line on top of the last two patches. >In copy mode it selects from the cursor to the end of the line, then >copies and exits. >

Re: bind a key to multiple commands in copy mode

2011-04-30 Thread Randy Stauner
Sorry about that. Attached is a full patch containing Dave's initial work and my additions for: select-line, copy-line, and copy-end-of-line. Let me know if you'd prefer incremental patches or if you need them based off of a different point in the source history. Thanks! On Sat, Apr 30, 2011 at 3:

Re: bind a key to multiple commands in copy mode

2011-04-30 Thread Nicholas Marriott
If copy and select line are the same surely there is no need for both? Also please use C89 block comments (/* */) not C++ comments. On Sat, Apr 30, 2011 at 11:24:18AM -0700, Randy Stauner wrote: >Sorry about that. >Attached is a full patch containing Dave's initial work >and my addit

Re: bind a key to multiple commands in copy mode

2011-04-30 Thread Randy Stauner
Dave's original command highlighted the line(s), but did not immediately copy it (you still had to hit Enter). We may not need both commands, but I wanted to respect Dave's contribution. I didn't want to remove the select-only version if that functionality was desirable to anyone so I renamed his t