Hi,
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 -R/usr/X11R6/lib/X11/xkb/ /full/path/3fin.xkb'. It worked fine as intended under both en_US.UTF-8 locale and ko_KR.UTF-8 locale. Under ko_KR.UTF-8 locale, it 'peacefully coexists' with Korean XIM server Ami. However, I also need to enter (obsolete:pre-1933 orthography) Hangul consonant clusters and vowel clusters (defined in U+1100 block) which are made up of basic consonants and vowels which I can directly enter with keys defined in 3fin.xkb. Just for a simple test, I added the following two lines to /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose # Korean Alphabet (Hangul : ChoSeonGeul) <Multi_key> <U1106> <U110b> : "ᄝ" U111d <Multi_key> <U1107> <U110b> : "ᄫ" U112b In xedit launched under en_US.UTF-8, '<Multi_key> <A> <E>' produced 'AE'(U+00C6). However, 'Multi_key> <U1107> <U110b>' just generated '<U1107> <U110b>' instead of <U112b>. Then, I read Pablo's message in August to find that in Compose file Unicode keysym has to take a form of <U0xxxx>. So I prepended xxxx with 0 like below. <Multi_key> <U01106> <U0110b> : "ᄝ" U111d <Multi_key> <U01107> <U0110b> : "ᄫ" U112b Still, it didn't work. Finally, I used the symbolic keysym names and it worked ! <Multi_key> Hangul_Pieub Hangul_Ieung : "ᄫ" U112b /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose has tens of entries with <Uxxxx>. Has anyone tested it? Does <Uxxxx> or <U0xxxx> work? My Linux box is running XFree86 4.2.0 (from RedHat 8.0). 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? It would be very nice if XIM, xkb and Compose(all three input mechanisms of X11) work all together. If that's the case, input need of Korean Linux users are more or less fulfilled. We don't need to write a new XIM for pre-1933 orthography Korean text because 'Compose' combined with Xkb does the job while modern Korean can be entered with XIM like Ami. Another BTW, I also found that the following works. <Multi_key> Hangul_Pieub Hangul_Pieub Hangul_Ieung : "ᄬ" U112c I'm wondering if there's any upper limit in the number of keypresses in Compose. Thank you in advance for any enlightening reply. Jungshik _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
