bug#81428: 31.0.90; add support for the kmscon terminal emulator
Sven Joachim via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]> Sat, 01 Aug 2026 13:18:03 +0200
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-01 12:02 +0300, Eli Zaretskii wrote: >> Cc: [email protected] >> Date: Sat, 18 Jul 2026 12:39:13 +0300 >> From: Eli Zaretskii <[email protected]> >> >> > Cc: Sven Joachim <[email protected]> >> > Date: Thu, 16 Jul 2026 20:04:51 +0200 >> > From: Sven Joachim via "Bug reports for GNU Emacs, >> > the Swiss army knife of text editors" <[email protected]> >> > >> > Kmscon (https://www.freedesktop.org/wiki/Software/kmscon/) is a simple >> > terminal emulator based on Linux kernel mode setting. It is an attempt >> > to replace the in-kernel VT implementation with a userspace console. >> > >> > Starting with version 10.0.0, kmscon uses its own terminfo entry by >> > default. Although it supports 24-bit TrueColor mode, I found that >> > M-x list-colors-display only lists eight colors. The attached patch >> > rectifies that, giving me the same colors as with TERM=xterm-direct. >> >> Thanks, but could you please add a NEWS entry that calls out this >> addition? > > I added a NEWS entry myself and installed the changes. Thanks for doing so, and apologies for not having replied sooner. Personally I think this change is not really NEWS worthy, for all it does is change the output of list-colors-display. I see it more as a workaround for a deficiency in Emacs, there has been a lengthy previous discussion in bug #69598 already (which I only learned about today). Cheers, Sven