oxidecomputer / helios

Helios: Or, a Vision in a Dream. A Fragment.
Mozilla Public License 2.0
362 stars 9 forks source link

Add kitty's terminfo file to Helios #67

Open sunshowers opened 1 year ago

sunshowers commented 1 year ago

Kitty comes with a terminfo file, which is a bit of a pain to install on illumos. It would be cool if it were packaged up and available as part of the Helios distribution (and maybe other illumos distros?) by default.

The terminfo file can be obtained by downloading e.g. https://github.com/kovidgoyal/kitty/releases/download/v0.27.1/kitty-0.27.1.tar.xz, it's at terminfo/x/xterm-kitty.

jclulow commented 1 year ago

~@sunshowers Do people expect to be able to use the KovIdTTY name or only xterm-kitty?~

[nevermind, I answered my own question!]

jclulow commented 1 year ago

I will whack this into the ncurses terminfo directory (/usr/gnu/lib/terminfo, with files built by the ncurses tic) directly in Helios.

I have filed, and am putting out for review, an upstream illumos ticket for the native curses terminfo and also termcap (/usr/share/lib/terminfo, built with our native tic, and /usr/share/lib/termcap). The bug is: 15517 terminfo could know about xterm-kitty.

rmustacc commented 1 year ago

As part of our effort to make sure that everything that is product related is tagged, I'm currently opting to tag this unscheduled as I don't think this is impacting the product as it ships to customers (which doesn't mean it's unimportant). When you're back @sunshowers, please feel free to change this as appropriate.