[BRLTTY] XCompose

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Jul 17 19:24:49 EDT 2012


Hello,

timothyhobbs at seznam.cz, le Tue 17 Jul 2012 19:45:58 +0200, a écrit :
> $ LANG=C make brltest
> cc     brltest.c   -o brltest
> brltest.c:23:22: fatal error: prologue.h: No such file or directory
> compilation terminated.

I leave this one to Dave.

> Anyways, I built the XCompose file on 4.3 from the Czech table.  I ended up
> with the attached file.  Anyways, everything works there, except backslash
> which is mapped to (2368) when I type those keys I just get the dots(the low
> backwards t that is represented by 2368).

Oops, it merely needs to be espaced, please try attached patch.

> Another problem, is that the x input method doesn't seem to work everywhere.  I

Yes.  Unfortunately, applications like reinventing everything instead of
using the standard input methods.

> never got it to work in firefox.  I tried to set the ENV vars, didn't help, but
> probably because I have no clue what the X Input Method's name is...
> 
> export GTK_IM_MODULE='xim'
> export QT_IM_MODULE='xim'
> uim-xim &
> export XMODIFIERS=@im='xim'
> 
> Perhaps it's called something other than xim...

I have no idea.

> Furthermore, I found several bugs already in gnome-terminal regarding the input
> methods.  They stop working and you must set them again.  As a primary input
> method this is quite useless.

That should be reported to gnome-terminal.

> So if I am to use the USB keyboard I'll have to have brltty grab the keyboard
> and handle it separately.

That's another solution, yes.

Samuel
-------------- next part --------------
Index: Programs/brltty-ttb.c
===================================================================
--- Programs/brltty-ttb.c	(révision 6593)
+++ Programs/brltty-ttb.c	(copie de travail)
@@ -532,6 +532,10 @@
         if (fprintf(file, "\\\"") == EOF) return 0;
         break;
 
+      case WC_C('\\'):
+        if (fprintf(file, "\\\\") == EOF) return 0;
+        break;
+
       default:
         if (fprintf(file, "%lc", (wint_t)character) == EOF) return 0;
         break;


More information about the BRLTTY mailing list