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
_______________________________________________
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

Reply via email to