[BRLTTY] BRLTTY and MinGW

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Oct 16 20:05:33 EDT 2010


marquats at studi.informatik.uni-stuttgart.de, le Wed 13 Oct 2010 12:16:51 +0200, a écrit :
> But the problem with the entered braille is the same as with Cygwin :(
> Not all dot patterns work,

Please always detail precisely *one* example of what you did and that
didn't work, else it takes us quite some time to find out what is not
working and you wanted to work.  From your log, everything seems to be
going fine, see details below.

Note: if you want to get dot patterns as such, for now you need to
modify the brltty source: in Programs/brlapi_server.c, look for the line

static const int retainDots = 0;

and change the 0 into a 1.  We plan to provide ways for brlapi clients
to choose that themselves, but we haven't gotten to it yet.

> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command 1 as client code 0000000020000001

So this key produced CMD_LNUP.

> brltty.exe: API got key 00 0b (press 1), thus client code 800000000000000b
> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command 11 as client code 0000000020000011

So these two keys produced CMD_PRSEARCH.

> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command 1 as client code 0000000020000001

CMD_LNUP, again.

> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command 1 as client code 0000000020000001

And again

> brltty.exe: API got key 00 0b (press 1), thus client code 800000000000000b
> brltty.exe: API got key 00 0b (press 0), thus client code 000000000000000b
> brltty.exe: Transmitting accepted command 1e as client code 000000002000001e

That one produced CMD_BACK.

> brltty.exe: API got key 00 07 (press 1), thus client code 8000000000000007
> brltty.exe: API got key 00 07 (press 0), thus client code 0000000000000007
> brltty.exe: Transmitting accepted command b as client code 000000002000000b

And that one CMD_TOP_LEFT.

> brltty.exe: API got key 00 1f (press 1), thus client code 800000000000001f
> brltty.exe: API got key 00 1f (press 0), thus client code 000000000000001f
> brltty.exe: Transmitting accepted command 31 as client code 0000000020000031

And that one, CMD_HELP.

> brltty.exe: API got key 00 0b (press 1), thus client code 800000000000000b
> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command 11 as client code 0000000020000011

CMD_PRSEARCH, again.

> brltty.exe: API got key 00 07 (press 1), thus client code 8000000000000007
> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 0f (press 0), thus client code 000000000000000f
> brltty.exe: Transmitting accepted command f as client code 000000002000000f

CMD_PRPROMPT.

> brltty.exe: API got key 00 13 (press 1), thus client code 8000000000000013
> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 13 (press 0), thus client code 0000000000000013

CMD_CHRLT.

> brltty.exe: API got key 00 17 (press 1), thus client code 8000000000000017
> brltty.exe: API got key 00 0f (press 1), thus client code 800000000000000f
> brltty.exe: API got key 00 17 (press 0), thus client code 0000000000000017

CMD_FWINLT.

> brltty.exe: API got key 00 0b (press 1), thus client code 800000000000000b
> brltty.exe: API got key 00 07 (press 1), thus client code 8000000000000007
> brltty.exe: API got key 00 0b (press 0), thus client code 000000000000000b

CMD_TOP_LEFT, again.

> brltty.exe: API got key 00 1f (press 1), thus client code 800000000000001f
> brltty.exe: API got key 00 07 (press 1), thus client code 8000000000000007
> brltty.exe: API got key 00 1f (press 0), thus client code 000000000000001f

CMD_RETURN.

> brltty.exe: API got key 00 07 (press 1), thus client code 8000000000000007
> brltty.exe: API got key 00 03 (press 1), thus client code 8000000000000003
> brltty.exe: API got key 00 07 (press 0), thus client code 0000000000000007

CMD_ATTRUP.

Samuel


More information about the BRLTTY mailing list