[openi18n-im:01496] Khmer UNIT table

Walter Stanish <[email protected]> Thu, 28 Jul 2005 18:51:55 +0800
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Sorry to ask questions about what appears to be documented, however
the documentation at http://www.openi18n.org/subgroups/im/IIIMF/UNIT/
is not yet clear enough for the likes of me!

I am trying to create a sample UNIT table from which to create a
Khmer (Cambodian) input method for FC3.

I created the following file as a test (switches numbers around):
============================== snip =============================
[Description]
Locale Name: khmer
Layout Name: khmer_OS
Encode: UTF-8
UsedCodes: 0123456789
MaxCodes: 1

[Function_Key]
PageUp: [< ^P
PageDown: ]> ^N
BackSpace: ^H ^?

[Options]
HelpInfo_Mode: OFF
KeyByKey_Mode: ON
KeyPrompt_Mode: ON
AutoSelect_Mode: ON
SelectKey_Mode: Number

[Single]
0 9
1 8
2 7
3 6
4 5
5 4
6 3
7 2
8 1
9 0
============================== snip =============================

I then ran '/usr/lib/im/locale/UNIT/common/txt2bin khmer.txt khmer.data' 
and copied the resulting file to:
   /usr/lib/im/locale/UNIT/common/data/
  ... and ...
   /usr/lib/im/locale/UNIT/KHMER/data/

and created changed /usr/lib/im/locale/unit/sysime.cfg to the
following:
============================== snip =============================
[ GENERIC_IM_TABLE ]

[ SWITCH_LOCALE ]
IM_VK_F5 0

[ SWITCH_LAYOUT ]
IM_VK_F6 0

[ en ]
euro common/xctim.so EUROPEAN

[ kh ]
khmer common/data/khmer.bin KHMER
============================== snip =============================

After a 'service iiim restart' my gimlet panel applet still showed
other UNIT languages, so i removed it and re-added it to the panel.

Now it shows no UNIT languages.

Someone please help me get started so I can attempt a table!

I'm on FC3.

- Walter