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

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Nov 25 12:07:14 UTC 2025


Sébastien Hinderer, le mar. 25 nov. 2025 08:18:18 +0100, a ecrit:
> I am sorry for the basic question, but if a program already supports
> some strings in, say, a graphical terminal, is it just a matter of
> making sure the very same strings are emitted by the console, or is
> there something I am missing here?

It's the terminfo database which tells programs which string it should
expect. For instance, shift-left/right are recorded there as kLFT, kRIT.
You can see the whole set defined for your terminal with infocmp, and
you can define more by hand.

But there is no field in the terminfo database for shift-up/down, so
there is no standard way for terminal programs to get them.

Samuel


More information about the BRLTTY mailing list