[BRLTTY] brlapi and autorepeat

Dave Mielke dave at mielke.cc
Wed Jun 12 14:27:35 EDT 2013


[quoted lines by Peter Nilsson Lundblad on 2013/06/12 at 10:22 -0700]

>I'm issuing LNDN for example and that repeats in the text console,
>but not through brlapi, either in orca or my own python script.

Yes, LNDN should repeat.

>Are you saying this is working for others?  If not, maybe we have a bug
>in the brlapi implementation.  

Granted, it hasn't been explicitly tested in a while, but it certainly should 
work according to the code. Now there's this bit of code in brlapi_server.c to 
consider:

   2433: /* Check whether the client really wants the result of repetition */
   2434: pthread_mutex_lock(&c->acceptedKeysMutex);
   2435: passKey = inKeyrangeList(c->acceptedKeys,clientCode) != NULL;
   2436: pthread_mutex_unlock(&c->acceptedKeysMutex);

So maybe there is something wrong with your key range selection. Can you post 
it?

A possibility is that you're requesting the command itself, very explicitly, 
rather than the command with its flags.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/


More information about the BRLTTY mailing list