[BRLTTY] Low-level BrlAPI questions

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Apr 15 18:49:25 EDT 2021


Aura Kelloniemi, le jeu. 15 avril 2021 13:06:18 +0300, a ecrit:
> Are the key ranges (to be accepted or ignored) defined per-handle or per-tty?

They are per-tty: when calling brlapi_enterTtyMode again the key ranges
are reset.

> Then Another thing: can BrlAPI server revoke access to a TTY in some condition
> after it has already been granted – i.e. can the connection be dropped from
> tty (or raw or suspend) mode to the authentication mode without the client
> asking for it?

No, the client has to explicitly release it. At worse another client is
masking the output and getting all keypresses, but if that client goes
away your client gets back control of the tty.

Samuel


More information about the BRLTTY mailing list