Wrong colors in weechat (ssh+tmux): ncurses causes the problem?

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Mon Oct 19 10:00:16 UTC 2015


On Mon, 19 Oct 2015 10:54+0200, Niklaas Baudet von Gersdorff wrote:

> Weechat displays wrong colors on my FreeBSD server.
> 
> I assume that it's related to ncurses since testing the 256 colours in a
> regular shell + tmux works fine. Somewhere I read (I don't have the link
> at hand right now) that once there was a option for devel/ncurses to
> build it with 256 colours but the option was dropped.
> 
> Is it that ncurses now supports 256 colours by default or do I have to
> tweak something somewhere?

Maybe you're missing the environment variable TERM=xterm-256color or 
the value appropriate for tmux.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list