Terminal IIIMCF Interface/Input Method ¶
1.1. Introduction (¼Ò°³) ¶
1.2. Project Related Pages (ÇÁ·ÎÁ§Æ® °ü·Ã ÆäÀÌÁö) ¶
1.3. Terminal IIIMCF Interface (Å͹̳ΠIIIMCF ÀÎÅÍÆäÀ̽º) ¶
1.3.1. Introduction (¼Ò°³) ¶
- The Terminal IIIMCF Interface (tii) provides functions that allow general terminal programmers a simplified access to the input method functions of IIIMCF.
- Å͹̳ΠIIIMCF ÀÎÅÍÆäÀ̽º (tii)´Â ÀÏ¹Ý Å͹̳ΠÇÁ·Î±×·¥¿¡¼ÀÇ ÀԷ±â ÇÁ·Î±×·¡¹ÖÀ» ¿ëÀÌÇÏ°Ô Çϱâ À§ÇØ IIIMCFÀÇ ÀԷ±⠰ü·Ã ±â´É¿¡ ´ëÇØ °£´ÜÈ÷ Á¢±ÙÇÒ ¼ö ÀÖ´Â ÇÔ¼ö¸¦ Á¦°øÇÕ´Ï´Ù.
1.3.2. File Description (ÆÄÀÏ ¼³¸í) ¶
- tii.c, tii.h Terminal IIIMCF Interface functions and function definitions
- test.c Simple test code demonstrating how tii works
- tii.c, tii.h Terminal IIIMCF Interface ÇÔ¼ö ¹× ÇÔ¼ö Á¤ÀÇ
- test.c tiiÀÛµ¿ ¿ø¸®¸¦ º¸¿©ÁÖ´Â °£´ÜÇÑ test ÄÚµå
1.3.3. tii test code compile (tii Å×½ºÆ® ÄÚµå ÄÄÆÄÀÏ) ¶
# gcc -Wall -DHAVE_STDINT_H -I/usr/include/iiim -liiimcf -o test tii.c test.c
...
# iiimd
# ./test
- Korean is currenly the default language. For Chinese or Japanese input, comment out the Korean part, and uncomment the respective language.
- ÇöÀç ÇѱÛÀÌ ±âº» ¾ð¾î·Î µÇ¾î ÀÖ½À´Ï´Ù. Áß±¹¾î ¹× ÀϺ»¾î ÀÔ·ÂÀ» À§Çؼ´Â test.c ÄÚµå Áß ÇÑ±Û ºÎºÐÀ» ÁÖ¼®Ã³¸® ÇϽðí, ÇØ´ç ¾ð¾îÀÇ ÁÖ¼®À» Á¦°ÅÇØ ÁÖ½Ã¸é µË´Ï´Ù.
/* for Korean (hangul) */
IIIMCF_input_method im = tii_find_im(handle, "hangul");
IIIMCF_language lang = tii_find_lang(handle, "hangul", "ko");
/* for Chinese (newpy) */
/* IIIMCF_input_method im = tii_find_im(handle, "newpy");
IIIMCF_language lang = tii_find_lang(handle, "newpy", "zh_CN");
*/
/* for Japanese (CannaLE, need cannaserver) */
/* IIIMCF_input_method im = tii_find_im(handle, "CannaLE");
IIIMCF_language lang = tii_find_lang(handle, "CannaLE", "ja");
*/
1.3.4. test code screenshots (Å×½ºÆ® ÄÚµå ½ºÅ©¸°¼¦) ¶
- execution test code that comes with tii
- tii¿¡ Æ÷ÇÔµÈ test ÄÚµå ½ÇÇà ¸ð½À
1.4. Terminal IIIMCF Input Method (Å͹̳ΠIIIMCF ÀԷ±â) ¶
1.4.1. Introduction (¼Ò°³) ¶
- The tii package comes with Terminal IIIMCF Input Method (tiim), a program based on termim which allows terminal users to use multiple languages through IIIMCF through tii functions.
- tii aims to run under any UTF-8 enabled terminal that has terminal capability equivalent or compatible to the linux console or vt100 (xterm).
- tii ÆÐÅ°Áö¿Í ÇÔ²² Á¦°øµÇ´Â Å͹̳ΠIIIMCF ÀԷ±â (tiim)´Â termim ±â¹ÝÀÇ ÇÁ·Î±×·¥À¸·Î¼ IIIMCF¸¦ ÅëÇØ tii ÇÔ¼ö¸¦ ÀÌ¿ëÇÏ¿© ´Ù±¹¾î ÀÔ·ÂÀ» °¡´ÉÇÏ°Ô ÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
- tii´Â ¸®´ª½º ÄÜ¼Ö ¶Ç´Â vt100 (xterm)°ú µ¿µî ¶Ç´Â ÀÌ»óÀÇ ¼º´ÉÀ» °¡Áø UTF-8¸¦ Ç¥½ÃÇÒ ¼ö ÀÖ´Â Å͹̳ο¡¼ µ¹¾Æ°¥ ¼ö ÀÖµµ·Ï ÇÏ°í ÀÖ½À´Ï´Ù.
1.4.2. File Description (ÆÄÀÏ ¼³¸í) ¶
- tiim.c Terminal IIIMCF Input Method code
- tiim.c Å͹̳ΠIIIMCF ÀԷ±â ÄÚµå
1.4.3.1. English Description (¿µ¹® ¼³¸í) ¶
- IIIMF needs to be installed. (preferably iiimf-12.2)
- Currently 'hangul' leif is selected by default. To change the language, edit 'tiim.c'
- Change
#define HANGUL
which is Korean (hangul), to
#define CANNA
for Japanese ( CannaLE), or
#define NEWPY
for Chinese (newpy).
- You may use other languages (but they have not been tested) supported by IIIMF.
- You may need a terminal that can display UTF-8; for example:
- jfbterm, uterm, fbiterm, bogl-bterm, etc. on the linux framebuffer
- xterm(with iso10646 fonts), hanterm("classic", UTF8 mode), etc. on X
- Input method toggle is done with Ctrl-Space
- For more info check out the INSTALL file in the tii package.
1.4.3.2. Hangul Description (ÇÑ±Û ¼³¸í) ¶
- IIIMF°¡ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù. (iiimf-12.2 ±ÇÀå)
- ÇöÀç 'hangul' leif°¡ ±âº»ÀûÀ¸·Î ¼±ÅõǾî ÀÖ½À´Ï´Ù. ¾ð¾î¸¦ º¯°æÇϱâ À§Çؼ´Â 'tiim.c' ÆÄÀÏÀ» ÆíÁýÇÕ´Ï´Ù:
- ÇѱÛ(hangul)ÀÎ
#define HANGUL
¸¦ ÀϺ»¾î( CannaLE)ÀÎ
#define CANNA
¶Ç´Â Áß±¹¾î(newpy)ÀÎ
#define NEWPY
·Î ¹Ù²ãÁÖ¸é µË´Ï´Ù.
- IIIMF¿¡¼ Áö¿øÇÏ´Â ´Ù¸¥ ¾ð¾îµµ »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. (ÇÏÁö¸¸ ½ÃÇèÇØ º¸Áö´Â ¸øÇß½À´Ï´Ù.)
- UTF-8À» Ç¥½ÃÇÒ ¼ö ÀÖ´Â Å͹̳ÎÀÌ ÇÊ¿äÇÕ´Ï´Ù. ¿¹¸¦ µé¸é:
- ¸®´ª½º ÇÁ·¹ÀÓ¹öÆÛ¿¡¼ µ¹¾Æ°¡´Â jfbterm, uterm, fbiterm, bogl-bterm, µîµî.
- X¿¡¼ µ¹¾Æ°¡´Â xterm(iso10646 ÆùÆ® ÀÌ¿ë), hanterm(Ŭ·¡½Ä, UTF8 ¸ðµå) µîµî.
- Ctrl-Space·Î ÀԷ±â Åä±ÛÀ» ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
- ´õ ÀÚ¼¼ÇÑ ³»¿ëÀº tii ÆÐÅ°Áö¿¡ Æ÷ÇÔµÈ INSTALL ÆÄÀÏÀ» Âü°íÇϼ¼¿ä.
1.4.4. tiim screenshots (tiim ½ºÅ©¸°¼¦) ¶
- Korean Input using the 'hangul' leif (using jfbterm as terminal)
- 'hangul' leif¸¦ ÀÌ¿ëÇÑ ÇÑ±Û ÀÔ·Â (jfbtermÀ» Å͹̳ηΠ»ç¿ë)
- Japanese Input using the 'CannaLE' leif and Canna 3.7p3 (using jfbterm as terminal)
- Canna 3.7p3 ¹× 'CannaLE' leif¸¦ ÀÌ¿ëÇÑ ÀϺ»¾î ÀÔ·Â (jfbtermÀ» Å͹̳ηΠ»ç¿ë)
- Chinese Input using the 'newpy' leif (using jfbterm as terminal)
- 'newpy' leif¸¦ ÀÌ¿ëÇÑ Áß±¹¾î ÀÔ·Â (jfbtermÀ» Å͹̳ηΠ»ç¿ë)
1.6. Comments (ÀÇ°ß) ¶
- All comments in Korean and English (or any other language) are welcome!
- ¿µ¹®, ÇÑ±Û (¶Ç´Â ´Ù¸¥ ¾ð¾î) ÀÇ°ß ¸ðµÎ ȯ¿µÇÕ´Ï´Ù!
ÇϳªÀÇ ÆäÀÌÁö¿¡ ¿µ¹®ÆÇ°ú ÇѱÛÆÇÀÌ °°ÀÌ ÀÖ´Â °ÍÀ» µÎ °³ÀÇ ÆäÀÌÁö( tii/Kor°ú tii/En )·Î ³ª´² º¸¾Ò½À´Ï´Ù. -- ¼¼¹ú 2006-05-15 08:06:55
|
|