Hi again Wil, > It may be, but how can I determine that via BrlAPI?
brlapi_readKey will return -1 and the brlapi_errno variable will contain BRLAPI_ERROR_EOF, I think. Not sure how this works in Python, but at least it should work like that for C. As an example one may try the apitest program in the Programs/ subdirectory of BRLTTY's sources. You may have to compile it by c Programs/ and make apitest then you can run the program with option -l to test learn mode and kill & restart a brltty, you'll see that apitest handles such situations correctly. hth, Sébastien. PS: Will, I just joined the #a11y channel on irc.nome.org with nickname |Lupin|, so shall you need some help, I'm there for 10 or 15 minutes. > > Will > > Sébastien Hinderer wrote: > > Hi Will, > > > > Isn't the socket closed when brltty is killed ? > > heers, > > Sébastien. > > _______________________________________________ > > 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 > > _______________________________________________ > 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 > _______________________________________________ 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
