[BRLTTY] Focus Keyboard not working

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Aug 3 06:14:49 EDT 2023


Elias Oltmanns, le jeu. 03 août 2023 12:05:15 +0200, a ecrit:
> Just out of curiosity: Would it not make sense for the kernel to clear
> the input buffer whenever it switches to a context with increased
> privileges?

The problem is that it's quite tricky to know when the switch happens.

And the amount of people who dare to touch the tty code is very small.

So it's simpler to just disable the feature, when people who do need
the TIOCSTI functionality are actually either running as root (or can
easily acquire the necessary privileges), or running X and can thus feed
the terminal though an X API, or can as well just run an intermediary
"screen" instance.

Samuel


More information about the BRLTTY mailing list