[BRLTTY] Need help installing 3.7.1 on a 64 bit system

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Oct 3 17:53:57 EDT 2005


Hi,

Darragh, le Mon 03 Oct 2005 15:48:46 +0100, a écrit :
> It refreshes every cell about five or six times a second!

It seems I got to reproduce this issue, and fixed it. Please try to
apply the attached patch: save the file somewhere, cd to the sources of
brltty, then run

patch -p0 < /path/to/attached/patch

then recompile, install and try.

Regards,
Samuel
PS: Dave, this is the second patch I sent you.
-------------- next part --------------
Index: ScreenDrivers/Linux/screen.c
===================================================================
--- ScreenDrivers/Linux/screen.c	(r?vision 1909)
+++ ScreenDrivers/Linux/screen.c	(copie de travail)
@@ -715,7 +715,7 @@
   }
 
   {
-    long mode;
+    int mode;
     if (controlConsole(KDGETMODE, &mode) == -1) {
       LogError("ioctl KDGETMODE");
     } else if (mode == KD_TEXT) {
@@ -1007,7 +1007,7 @@
     *--sequence = key & 0XFF;
 
     if (key & SCR_KEY_MOD_META) {
-      long meta;
+      int meta;
       if (controlConsole(KDGKBMETA, &meta) == -1) return 0;
 
       switch (meta) {
@@ -1020,7 +1020,7 @@
           break;
 
         default:
-          LogPrint(LOG_WARNING, "Unsupported keyboard meta mode: %ld", meta);
+          LogPrint(LOG_WARNING, "Unsupported keyboard meta mode: %d", meta);
           return 0;
       }
     }
@@ -1156,7 +1156,7 @@
   int ok = 0;
   LogPrint(LOG_DEBUG, "Insert key: %4.4X", key);
   if (rebindConsole()) {
-    long mode;
+    int mode;
     if (controlConsole(KDGKBMODE, &mode) != -1) {
       switch (mode) {
         case K_RAW:
@@ -1172,7 +1172,7 @@
           if (insertMapped(key, &insertUtf8)) ok = 1;
           break;
         default:
-          LogPrint(LOG_WARNING, "Unsupported keyboard mode: %ld", mode);
+          LogPrint(LOG_WARNING, "Unsupported keyboard mode: %d", mode);
           break;
       }
     } else {


More information about the BRLTTY mailing list