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 _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
