Re: tmux-direct entry only has 8 colors

2024-03-13 Thread Thomas Klausner
On Wed, Jan 31, 2024 at 10:31:41PM +0100, Thomas Klausner wrote: > I've tried to get my terminal+tmux to display true colors today using > the latest terminfo as imported to NetBSD. I debugged this a bit further. It works fine if I just use two entries, but as soon as a third in the style of

Re: tmux-direct entry only has 8 colors

2024-02-02 Thread RVP
On Thu, 1 Feb 2024, RVP wrote: (xterm-direct analyzed this way also only reports xterm-direct|xterm with direct-color indexing, ... colors#0x7fff, cols#80, it#8, lines#24, pairs#0x7fff, ... ) Same bug, I think: if any num. capability has a value >0x7fff (INT16_MAX), then that

Re: tmux-direct entry only has 8 colors

2024-02-02 Thread RVP
On Thu, 1 Feb 2024, Martin Husemann wrote: This is fallout from usr.bin/tic.c: -- revision 1.33 date: 2020-03-27 16:11:57 +0100; author: christos; state: Exp; lines: +21 -17; commitid: 2Q6C4aNTDvrFf32C; As described in tech-userlevel: - Store new format entries

Re: tmux-direct entry only has 8 colors

2024-02-01 Thread Martin Husemann
On Thu, Feb 01, 2024 at 03:13:42PM +, RVP wrote: > This looks like a bug in NetBSD. Minimal reproducer: > > ``` > $ cat tit > tit|TermInfo Test, > # if the second number is >32767, it disappears! > use=num, use=max, > # putting the bigger one first makes "promotion" happen. > #

Re: tmux-direct entry only has 8 colors

2024-02-01 Thread RVP
On Wed, 31 Jan 2024, Thomas Klausner wrote: infocmp kitty+setal kitty+setal|set underline colors (nonstandard), Compare that to terminfo.src: kitty+setal|set underline colors (nonstandard), setal=\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1 %{255}%&%dm, Seems like