Kaixo! On Mon, Oct 14, 2002 at 10:00:34AM -0400, Jungshik Shin wrote: > I've been trying to come up with Xkb and Compose for Korean Hangul. > I activated the attached Xkb file(made by PARK Won-kyu) with 'xkbcomp
> <Multi_key> <U1106> <U110b> : "???" U111d > <Multi_key> <U1107> <U110b> : "???" U112b Does your keyboard send unicode char U+1107 or an X11 specific keysym ? > Still, it didn't work. Finally, I used the symbolic keysym names > and it worked ! > > <Multi_key> Hangul_Pieub Hangul_Ieung : "???" U112b Apparently, the keyboard is sending korean keysyms, and not unicode chars (which makes sense, btw). If you look at /usr/include/X11/keysymdef.h you will see that "Hangul_Pieub" is equal to keysym 0xeb2, that is different of "U1107" which is keysym 0x1001107 Now, if you think that some/all of the Hangul X11 keysyms should be merged with unicode keysyms equivalents, in order to have the same behaviour using one or the other way, then it can probably be done, but apparentyl it hasn't yet. > /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose has tens of > entries with <Uxxxx>. Has anyone tested it? Yes, I did. > Does <Uxxxx> or > <U0xxxx> work? My Linux box is running XFree86 4.2.0 (from > RedHat 8.0). It works, but the keyboard has to send that. If you want to have: > <Multi_key> <U1106> <U110b> : "???" U111d Then you need to have two keys in your keyboard that send 0x1001106 and 0x100110b respectively. > BTW, I also found that Compose file is not refered to when XIM is used. > That is, under ko_KR.UTF-8 where Ami is running as an XIM server, > Compose file has no effect although Xkb works well together with XIM > server. Is it intended or just a bug? The Compose file works as an XIM method (it is just an easy to use, and enabled by default one); and currently XFree86 is limited to only one XIM at a time, so you cannot have both Compose and Ami (or any other XIM). -- Ki �a vos v�ye b�n, Pablo Saratxaga http://chanae.stben.be/pablo/ PGP Key available, key ID: 0xD9B85466 [you can write me in Walloon, Spanish, French, English, Italian or Portuguese]
msg01084/pgp00000.pgp
Description: PGP signature
