[BRLTTY] [brlapi] get dots typed

Samuel Thibault samuel.thibault at ens-lyon.org
Mon May 14 08:17:12 EDT 2018


Dave Mielke, le lun. 14 mai 2018 08:12:45 -0400, a ecrit:
> [quoted lines by Samuel Thibault on 2018/05/14 at 13:59 +0200]
> 
> >> This reminds me of a feature that I've been wanting to implement. Maybe it'll 
> >> meet your needs. My idea is that if a BrlAPI client accepts the PASSDOTS 
> >> command then it'll get the original PASSDOTS commands, but if it ignores the 
> >> PASSDOTS command then it'll get PASSCHAR commands.
> >
> >IIRC that was already implemented.
> 
> No, it hasn't. I've talked about it before, but it hasn't yet been done. The 
> core needs to keep track of both commands so that it can try PASSDOTS, and if 
> the API doesn't consume it, then send PASSCHAR.

Mmmm.

I am referring to what is happening in api__handleCommand: it calls
cmdBrlttyToBrlapi with retainDots set to 1 first, and if a client wants
it, delivers it, and otherwise calls cmdBrlttyToBrlapi again with
retainDots set to 0.

Samuel


More information about the BRLTTY mailing list