[BRLTTY] Key combinations not (yet?) handled by the Linux virtual console

Aura Kelloniemi kaura.dev at sange.fi
Wed Nov 26 14:19:52 UTC 2025


Hello again, this is a follow-up to my own message:

On 2025-11-26 at 14:42 +0200, Aura Kelloniemi <kaura.dev at sange.fi> wrote:
 > Would you mind taking a look at this:
 > http://www.leonerd.org.uk/hacks/fixterms/

Or actually, better would be to take a look at the Kitty keyboard protocol
here: https://sw.kovidgoyal.net/kitty/keyboard-protocol/

It seems that most modern terminal emulators prefer to implement the kitty
protocol, because it is more advanced and more backwards-compatible than the
Xterm's implementation of "CSI u". See the above link for all terminal
emulators which support this protocol.

Kitty protocol has support for very advanced features, like sending
applications information not only about key presses but also key releases.

I think it would be worthwhile to try to implement this in a TTY application
which runs in the Linux console, reads raw keyboard input from the evdev
devices and runs any terminal program (like tmux) in a pseudo-terminal,
providing this program with the kitty keyboard protocol facilities.

Would anybody be interested in implementing this? I'm actually very
interested, if there are others who feel the calling to join. The
implementation language should be C, if we want to pave way for integrating
this into Linux console in the future. If Linux integration is a low priority
(or it is clear that this feature is unwanted by Linux developers), we can
use some other systems language, like Zig, C++ or Rust.

-- 
Aura


More information about the BRLTTY mailing list