[BRLTTY] Low-level BrlAPI questions

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Apr 16 06:13:09 EDT 2021


Aura Kelloniemi, le ven. 16 avril 2021 12:33:31 +0300, a ecrit:
> I read that it is possible to use enterTtyMode even when the client is already
> controlling a TTY.

? Where did you read that? I believe that's not possible

      /* uhu, we already got a tty, but not this one: this is forbidden. */
      WERR(c->fd, BRLAPI_ERROR_INVALID_PARAMETER, "already having a tty");

> What happens if this call fails – will the original TTY be
> still available, or will the connection be dropped to the authentication mode?

The enterTtyMode call will just fail.

Samuel


More information about the BRLTTY mailing list