Mario Lang, le Sun 03 Jun 2007 15:01:54 +0200, a écrit : > >>> c.write(text="Hello") > 0 > >>> c.readKey(1) > BrlAPI exception: Invalid packet on Write request of size 13 (04 00 00 00 00 > 00 > 00 05 48 65 6c 6c 6f) > You may wish to add the -ldebug option to the brltty command line in order to > ge > t additional information in the system log > Aborted > > This should not really happen. I guess the error comes from > too few parameters to write().
No, it comes from the fact that write() requires the text to be of the same size as the braille display, as mentioned in the brltty logs. If you want brlapi to extend / shrink the text, use writeText() instead. 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://mielke.cc/mailman/listinfo/brltty
