kmscon icon indicating copy to clipboard operation
kmscon copied to clipboard

Requesting kmscon terminfo

Open Konlii opened this issue 1 month ago • 2 comments

I have searched, but cannot find a terminfo specific to kmscon. Is there one available?

If not, is there an authoritative list of capabilities and escape codes that kmscon supports? I don't mind building the terminfo myself if I have something to start with.

I've tried linux, different xterm variants, vt102 (what it defaults to), and a couple others that seemed likely, but each one is incorrect in its own way.

Konlii avatar Dec 03 '25 03:12 Konlii

There is no terminfo available for kmscon/libtsm.

It would be nice to submit a PR with what kmscon support. Most of the terminal commands are handled in: https://github.com/kmscon/libtsm/blob/main/src/tsm/tsm-vte.c

But unfortunately, there is no clean list of what is supported. (And some commands have only partial support, like OSC 4/10/11 can only read colors but not set it).

kdj0c avatar Dec 03 '25 10:12 kdj0c

Thanks, I'll give it a shot.

Konlii avatar Dec 05 '25 13:12 Konlii

After some experimentation, I've found that the st-256color terminal type from Suckless.org's ST terminal seems to be a very good match to kmscon's capabilities, fixing the slight glitches that I've encountered in certain cases, most amusingly the animation of the sl (steam locomotive) command.

steviator avatar Dec 20 '25 08:12 steviator