On Sun, Oct 31, 2010 at 06:02:59PM -0700, JoAT, Inc. wrote: > Well, first of all - thanks for the tmux, it's really great ! > > I have some problems when I use tmux: > SSH connections to remote servers with help of PuTTY: > 1. > I've some trouble in case when I use UTF-8 on "FreeBSD-8.1 release". > Pane's lines separators looks ambiguous, see here: > http://img408.imageshack.us/img408/2853/tmuxncursesnoutf8acs1sy.jpg > As you can see FreeBSD sysinstall that use cdialog honor environment setting: > NCURSES_NO_UTF8_ACS=1 and draw lines at least in "poor man" mode. > (without NCURSES_NO_UTF8_ACS=1 it looks like: > http://img89.imageshack.us/img89/7533/ncursesnoutf8acs0.jpg > The same happened without using tmux, so it's ncurses problem, but could be > corrected at least with NCURSES_NO_UTF8_ACS=1.) > > So cdialog honor NCURSES_NO_UTF8_ACS=1 settings but tmux doesn't and always > drawing pane's sepaparator linens as series of xxxxx(vertical) and > qqqqqq(horizontal). > PuTTY settings use "DejaVu Sans Mono" font that perfectly shows UTF-8 line > drawing in Midnight Commander (and other) > http://img177.imageshack.us/img177/2889/tmuxmcok.jpg > > I tried it with "TERM" environment variable set to: "rxvt-256color", > "xterm-256color", "screen" in the ~/.tmux.conf > (set-option -g default-terminal "rxvt-256color") > but tmux doesn't change behavior - pane's lines separator always looks like > series of xxx or qqq instead of lines.
Read the FAQ or run CVS HEAD. > > 2. > Mouse handling. > Finally I got working it when I set in the ~./tmux.conf > set-option -g default-terminal "rxvt-256color" This is wrong. It must be screen or screen-256color. > Mouse works as expected in Midnight Commander under tmux (all three mouse's > buttons), but I guess "op" terminal's command is blocked: > "ls -GlaF" isn't colored. > /usr/ports/misc/cmatrix loose color too. > "sysinstall" is in black/white mode. No surprise, no guarantee xterm or rxvt have the same colour sequences as tmux. > But color test script return all possible colors under tmux: > http://img218.imageshack.us/img218/3686/tmuxpane.jpg > But if I use the same programs without tmux - everything works as it should > be. > > Strange things is that if I use "xterm-256color" in the TERM, then all > program that I told above shows correct colors, but bad part of it is - mouse > stop working. I can use mouse only on pane selection, but it doesn't work in > Midnight Commander. "screen" in the TERM doesn't allow to use mouse too. mc is probably checking for the mouse in some stupid way, maybe by looking for exactly xterm* and rxvt* or for STY. Does it work in screen? screen terminfo definitely has kmous which is the best way to check. Are you sure there is no option to force it to turn on the mouse? > > So, "xterm-256color" and "rxvt-256color" settings provide correct handling of > colors and mouse without using tmux, but tmux applied some restriction on > them. > "rxvt-256color" seems is the best candidat, becouse there it nessasary to > unblock "op"(I guess) terminal command to be able to show correct colors and > handle mouse in the same time. > > I already tried replace base system supplied ncurses with > /usr/ports/devel/ncurses with changed Makefile: > CONFIGURE_ARGS+=--without-hashed-db ncurses has almost nothing to do with tmux, it is only used to read terminfo. > (in that case in installs terminfo database to addition to the base > termcap)but unfortunately it doesn't change - nothing. > > > Alex. > > P.S. > I'm really sorry that I post first time in the wrong list "tmux-cvs". > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users