On Wed 14/05, Alessandro DE LAURENZIS wrote: > Hello, > > I'm trying to configure tmux on OBSD 5.5 in console (no X11). > My laptop is a Thinkpad R61 equipped with an Intel GM965 video card, so > I'm in KMS mode, if that matters. > > The problem is that when I split a windows in two or more panes, the > separators are "????????" characters, both horizontally and vertically > (instead of "|" and "-"). > > Strangely enough, if I enable UTF-8 (which is, to my best > understanding, not supported in console), the separators change to > "ââââââââ", so for sure there is an impact of the encoding... > > It's worth noting that in Xterm all works as expected. >
After further investigation and searching, this seems to be related to some kind of mismatch between OBSD console and the terminfo database entry being used by tmux. Maybe the terminfo db indicates that ACS is available, but wsconsole is not actually respecting the specified control sequences? Un-setting the ACS features, tmux is forced to fall back to ASCII line drawing, and the problem disappears: ~/.tmux.conf set-option -g terminal-overrides ',*vt*:enacs@:smacs@:rmacs@:acsc@' In any case, UTF-8 encoding must be switched off. I'm not an expert, so I don't think I can do more than this... I really hope in your comments. Cheers -- Alessandro DE LAURENZIS [mailto:[email protected]] LinkedIn: http://it.linkedin.com/in/delaurenzis

