[BRLTTY] Unable to see displayed text
Samuel Thibault
samuel.thibault at ens-lyon.org
Sun Mar 30 12:38:59 UTC 2025
Pranav Lal, le dim. 30 mars 2025 17:58:53 +0530, a ecrit:
> However, I do not see the text being written to the display.
>
> import brlapi
>
> import errno
>
> import Xlib.keysymdef.miscellany
> import time
> try:
> b = brlapi.Connection()
>
> print("Server version " +
> str(b.getParameter(brlapi.PARAM_SERVER_VERSION, 0, brlapi.PARAMF_GLOBAL)))
>
> print("Display size " +
> str(b.getParameter(brlapi.PARAM_DISPLAY_SIZE, 0, brlapi.PARAMF_GLOBAL)))
>
> b.writeText("hello")
As shown in the pydoc3 brlapi example, you need to call b.enterTtyMode()
first.
Samuel
More information about the BRLTTY
mailing list