Patch for wrapping wide chars

2011-03-04 Thread Micah Cowan
Hey Nicholas, please check this over for me. This patch is intended to fix the wide-chars wrapping thing. I've attached a simple script to illustrate the problem, and a patch. The patch is two parts: one is to let wrapping occur when the final wide character "overlaps" the end of the line; the ot

Re: Pane-switching with mouse busted?

2011-03-04 Thread Micah Cowan
(03/04/2011 12:39 PM), Micah Cowan wrote: > Part of the problem I encountered during debug-time was also that "tmux > set -g mouse-utf8 off" doesn't work if the socket isn't "default" (it > sets the value in "default" instead). It used to check $TMUX for where > to connect (I fixed it to do so some

Re: Pane-switching with mouse busted?

2011-03-04 Thread Nicholas Marriott
Yes. Doh. Stupid signed char architectures. On Fri, Mar 04, 2011 at 12:39:19PM -0800, Micah Cowan wrote: > (03/04/2011 11:29 AM), Micah Cowan wrote: > > (03/04/2011 11:19 AM), Kevin Goodsell wrote: > >> It looks like 94 would be the limit for applications that are expecting > >> the old mouse tr

Re: AIX

2011-03-04 Thread Nicholas Marriott
Did you install the man page in the right place? Do you have a man that supports mdoc? On Fri, Mar 04, 2011 at 11:22:35AM -0500, Ty Haller wrote: >I figured it out, I had installed libevent, not libevent-devel. > > > >tmux is now compiled! the man pages do not work : > >Manual en

Re: tmux: open terminal failed: missing or unsuitable terminal: xterm

2011-03-04 Thread Nicholas Marriott
It looks like your shell is exiting after 22804 write(2, "sh: vifm: command not found\n", 28) = 28 22802 <... epoll_wait resumed> {{EPOLLIN, {u32=14, u64=14}}}, 32, 484) = 1 22804 exit_group(127) = ? but that has nothing to do with the error you are seeing. In fact, that error d

Re: Pane-switching with mouse busted?

2011-03-04 Thread Micah Cowan
(03/04/2011 11:29 AM), Micah Cowan wrote: > (03/04/2011 11:19 AM), Kevin Goodsell wrote: >> It looks like 94 would be the limit for applications that are expecting >> the old mouse tracking with a terminal that is reporting extended mouse >> tracking. The two modes are compatible up to that point.

Re: Pane-switching with mouse busted?

2011-03-04 Thread Micah Cowan
(03/04/2011 11:19 AM), Kevin Goodsell wrote: > It looks like 94 would be the limit for applications that are expecting > the old mouse tracking with a terminal that is reporting extended mouse > tracking. The two modes are compatible up to that point. Yeah, that's what I got from a little further

Re: Pane-switching with mouse busted?

2011-03-04 Thread Kevin Goodsell
On Fri, Mar 4, 2011 at 10:42 AM, Micah Cowan wrote: > (03/04/2011 10:37 AM), Kevin Goodsell wrote: >> >> Huh, I thought the limitation was 200-and-something columns. Actually, >> in gnome-terminal I get 223 as the last responsive column, which would >> map to the byte value 255 (223 + 32, where 32

Re: Pane-switching with mouse busted?

2011-03-04 Thread Micah Cowan
(03/04/2011 10:37 AM), Kevin Goodsell wrote: > On Fri, Mar 4, 2011 at 10:21 AM, Micah Cowan wrote: >> >> Good catch, i'd forgotten about that; that seems to be the problem (161 >> columns). Strange, I've always used a 161-column term (for side-by-side >> 80-col panes), but don't recall running int

Re: Pane-switching with mouse busted?

2011-03-04 Thread Kevin Goodsell
On Fri, Mar 4, 2011 at 10:21 AM, Micah Cowan wrote: > > Good catch, i'd forgotten about that; that seems to be the problem (161 > columns). Strange, I've always used a 161-column term (for side-by-side > 80-col panes), but don't recall running into it before. Huh, I thought the limitation was 200

Re: Pane-switching with mouse busted?

2011-03-04 Thread Micah Cowan
(03/04/2011 08:53 AM), Kevin Goodsell wrote: > You're not using a very wide window by any chance, are you? The > mouse-position encoding scheme only supports a limited number of > columns, and people with high-resolution monitors have been running > into the limitation. This would make the right si

RE: AIX

2011-03-04 Thread Ty Haller
I figured it out, I had installed libevent, not libevent-devel. tmux is now compiled! the man pages do not work : Manual entry for tmux not found or not installed. Any suggestions? Thanks, Ty Haller | Administrator - System Services | SEFCU | thal...@sefcu.com 700 Pat

Re: Pane-switching with mouse busted?

2011-03-04 Thread Kevin Goodsell
On Thu, Mar 3, 2011 at 5:41 PM, Micah Cowan wrote: > Not sure when this broke, but I just noticed today with fresh CVS, that > if I click on the right-side pane in a left-right split, it doesn't > select; selecting the left while in the right works. > > Mouse mode appears to still be active (since

Re: AIX

2011-03-04 Thread Micah Cowan
On 03/04/2011 07:21 AM, Ty Haller wrote: > I just installed libevent and still cannot find event.h You need to install the for-development package, the one that contains the header files. Most binary package systems split library packages into the base package, for linking programs that have alrea

Re: tmux: open terminal failed: missing or unsuitable terminal: xterm

2011-03-04 Thread Micah Cowan
On 03/04/2011 05:22 AM, Vaibhav Bedia wrote: > Setting TERMINFO manually to /usr/share/terminfo worked. My suspicion is that the ncurses you linked against with tmux 1.4, has the wrong set of "default paths" to search, while the one you linked against with 1.3 had the right ones. Was probably a co

RE: AIX

2011-03-04 Thread Ty Haller
I was using AIX make, I'm not getting the following: cc -DBUILD="\"1.4\"" -I. -I- -c -o attributes.o attributes.c "tmux.h", line 30.10: 1506-296 (S) #include file not found. "tmux.h", line 830.16: 1506-007 (S) "struct event" is undefined. "tmux.h", line 1032.16: 1506-007 (S) "struct event" is u

AIX

2011-03-04 Thread Ty Haller
I am trying to compile tmux 1.4 on AIX 5.3 I am getting the following errors: ~/tmux-1.4 $ make "Makefile", line 30: make: Dependency line needs colon or double colon operator. "Makefile", line 36: make: Dependency line needs colon or double colon operator. "Makefile", line 41: make: Dependency l

Re: tmux: open terminal failed: missing or unsuitable terminal: xterm

2011-03-04 Thread Vaibhav Bedia
Hi Micah, On Fri, Mar 4, 2011 at 12:12 AM, Micah Cowan wrote: > (03/02/2011 09:10 PM), Vaibhav Bedia wrote: >> Hi, >> >> I am using tmux-1.4. I just started getting the error (open terminal >> failed: missing or unsuitable terminal: xterm) when trying to attach >> to a pre-existing session. > > T