*hangulin.txt*  For Vim version 5.4e.  Last change: 1999 Jan 24


		  VIM REFERENCE MANUAL    by Chi-Deok Hwang and Sung-Hyun Nam

Introduction					*hangul*
------------
It is to input hangul, the korean language, with VIM GUI version.
If you have a XIM program, you can use another |+xim| feature.
Basically, it is for whom has no XIM program.

Compile
-------
Next is a basic option. You can add any other configure option.

   ./configure --with-x --enable-multibyte --enable-fontset
	       --enable-hangulinput

And you should check the feature.h. If |+hangul_input| feature is enabled
by configure, you can select more options such as keyboard type, 2 bulsik
or 3 bulsik. You can find keywords like next in there.

	#define HANGUL_DEFAULT_KEYBOARD 2
	#define ESC_COMPAT_XIM
	/* #define X_LOCALE */
	/* #define SLOW_XSERVER */
 
Environment variables
---------------------
You should set LANG variable to korean locale such as ko or ko_KR.euc.
If you set LC_ALL variable, it should be set to korean locale also.

VIM resource
------------
You should add nexts to your global vimrc ($HOME/.vimrc).

	set fileencoding=korea

Keyboard
--------
You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD
or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik):

    export VIM_KEYBOARD="2"
or
    export HANGUL_KEYBOARD_TYPE="2"

If both are set, VIM_KEYBOARD has higher priority.

Hangul Fonts
------------
You can set text font using $HOME/.Xdefaults or $HOME/.gvimrc.

$HOME/.Xdefaults:
    Vim.font: english_font,hangul_font

    ! Nexts are for hangul menu with Athena
    *international: True
    Vim*fontSet: english_font,hangul_font

    ! Nexts are for hangul menu with Motif
    *international: True
    Vim*fontList: english_font;hangul_font:

$HOME/.gvimrc:
    set guifont=english_font;hangul_font

attention! the , (comma) or ; (semicolon)

hangul_font width should be twice than english_font width.

Unsupported Feature
-------------------
Johab font not yet supported. And I don't have any plan.
If you really want to use johab font, you can use the
hanguldraw.c in gau package.

Hanja input not yet supported. And I don't have any plan.
If you really want to input hanja, just use VIM with hanterm.
 
Bug or Comment
--------------
If you think you find a bug or have any comment, contact us.
Chi-Deok Hwang <cdhwang@sr.hei.co.kr>
Sung-Hyun Nam <namsh@lgic.co.kr>
