[BRLTTY] can't read screen content

Sébastien Hinderer sebastien.hinderer at ens-lyon.org
Wed May 20 20:06:50 UTC 2026


Dear all,

An installer that I have to use makes it impossible to read screen
content. The attached Python script reproduces the issue.

The script does two things and both seem to be problematic.

First:

print("\033%@")

I think this is to switch terminals to ISO 8859-1 so that they can draw
characters. this line is enough to get the "can't read screen content"
message, even if the rest of the script is commented out.

But, even without this line, the rest of the script, which depends on
the python3-newt package:

screen = SnackScreen()
screen.drawRootText(0, 0, "Hellow, world")
input("Press Enter to exit...")
screen.finish()

seems to cause problems too, as it seems that pressing the Enter key
does not end the script.

What should be done to fix this either on BRLTTY's side or on the
installer's side?

Thanks,

Seb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_screen.py
Type: text/x-python
Size: 186 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20260520/9fdb06ed/attachment.py>


More information about the BRLTTY mailing list