[BRLTTY] What would be a simple way to detect if a Braille device is connected through USB?

Didier Spaier didier at slint.fr
Tue Aug 2 17:23:26 EDT 2022


Le 02/08/2022 à 23:10, Dave Mielke a écrit :
> [quoted lines by Didier Spaier on 2022/08/02 at 22:39 +0200]
> 
>> I ask because in Slint installer I need to do something like :
>> /bin/stty -F /dev/tty1 cols 80 rows 25
>> but only if a Braille device is in use.
> 
> Why? That isn't necessary. For example, right now my screen has 67 lines and 240 columns. Is there something about Slint which makes it seem to be necessary to constrain a braille user to an older style, small screen?

this follows an issue reported by Philippe Delavalade.

He told me that he reads a line 40 characters at a time so if there are many
columns he has to to fetch the next 40 cheracters several times to reach the end
of the display before reading the next line, even if the line's length (in terms
of displayed characters) is way shorter.

Probably I don't really understand what happens or maybe what he means, but
please bear with me: I never used a Braille device and would be unable to do that.

Best,
Didier


More information about the BRLTTY mailing list