[BRLTTY] BRLAPI

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Mar 10 15:36:06 EDT 2009


Rob Meredith, le Tue 10 Mar 2009 15:22:49 -0400, a écrit :
> How difficult would it be for one to modify brlapi to return the dot pattern instead of the character? Was this a fundamental change effecting lots of code and drivers, or can I just change a few lines to make it work the old way?

If it's just for your own use, the attached patch should be just fine
for now.

Samuel
-------------- next part --------------
Index: Programs/cmd.c
===================================================================
--- Programs/cmd.c	(révision 4332)
+++ Programs/cmd.c	(copie de travail)
@@ -329,9 +329,6 @@
   case BRL_BLK_PASSCHAR:
     code = cmdWCharToBrlapi(convertCharToWchar(command & BRL_MSK_ARG));
     break;
-  case BRL_BLK_PASSDOTS:
-    code = cmdWCharToBrlapi(convertDotsToCharacter(textTable, command & BRL_MSK_ARG));
-    break;
   case BRL_BLK_PASSKEY:
     switch (command & BRL_MSK_ARG) {
     case BRL_KEY_ENTER:		code = BRLAPI_KEY_SYM_LINEFEED;	 break;


More information about the BRLTTY mailing list