comparison runtime/doc/hangulin.txt @ 18671:df141c730008 v8.1.2327

patch 8.1.2327: cannot build with Hangul input Commit: https://github.com/vim/vim/commit/546125869f2959480c9a0f6c448c2092d565ec15 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 21 17:13:31 2019 +0100 patch 8.1.2327: cannot build with Hangul input Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Nov 2019 17:15:04 +0100
parents 2f7e67dd088c
children af69c9335223
comparison
equal deleted inserted replaced
18670:4658aa8e09fc 18671:df141c730008
1 *hangulin.txt* For Vim version 8.1. Last change: 2015 Nov 24 1 *hangulin.txt* For Vim version 8.1. Last change: 2019 Nov 21
2 2
3 3
4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam 4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
5 5
6 *hangul*
7 Vim had built-in support for hangul, the Korean language, for users without
8 XIM (X Input Method). Since it didn't work well and was not maintained it was
9 removed in Vim 8.1.2327.
6 10
7 Introduction *hangul* 11 If you want this hangul input mehod you can go back to Vim 8.1.2326 or
8 ------------ 12 earlier. If you think this code is still useful and want to maintain it, make
9 It is to input hangul, the Korean language, with Vim GUI version. 13 a patch to add it back. However, making it work with UTF-8 encoding would be
10 If you have a XIM program, you can use another |+xim| feature. 14 best.
11 Basically, it is for anybody who has no XIM program.
12 15
13 Compile
14 -------
15 Next is a basic option. You can add any other configure option. >
16
17 ./configure --with-x --enable-multibyte --enable-hangulinput \
18 --disable-xim
19
20 And you should check feature.h. If |+hangul_input| feature is enabled
21 by configure, you can select more options such as keyboard type, 2 bulsik
22 or 3 bulsik. You can find keywords like next in there. >
23
24 #define HANGUL_DEFAULT_KEYBOARD 2
25 #define ESC_CHG_TO_ENG_MODE
26 /* #define X_LOCALE */
27
28 Environment variables
29 ---------------------
30 You should set LANG variable to Korean locale such as ko, ko_KR.eucKR
31 or ko_KR.UTF-8.
32 If you set LC_ALL variable, it should be set to Korean locale also.
33
34 Vim resource
35 ------------
36 You may want to set 'encoding' and 'fileencodings'.
37 Next are examples: >
38
39 :set encoding=euc-kr
40 :set encoding=utf-8
41 :set fileencodings=ucs-bom,utf-8,cp949,euc-kr,latin1
42
43 Keyboard
44 --------
45 You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD
46 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): >
47
48 export VIM_KEYBOARD="2"
49 or >
50 export HANGUL_KEYBOARD_TYPE="2"
51
52 If both are set, VIM_KEYBOARD has higher priority.
53
54 Hangul Fonts
55 ------------
56 If you use GTK version of gvim, you should set 'guifont' and 'guifontwide'.
57 For example: >
58 set guifont=Courier\ 12
59 set guifontwide=NanumGothicCoding\ 12
60
61 If you use Motif or Athena version of gvim, you should set 'guifontset' in
62 your vimrc. You can set fontset in the .Xdefaults file.
63
64 $HOME/.gvimrc: >
65 set guifontset=english_font,hangul_font
66
67 $HOME/.Xdefaults: >
68 Vim.font: english_font
69
70 ! Nexts are for hangul menu with Athena
71 *international: True
72 Vim*fontSet: english_font,hangul_font
73
74 ! Nexts are for hangul menu with Motif
75 *international: True
76 Vim*fontList: english_font;hangul_font:
77
78 attention! the , (comma) or ; (semicolon)
79
80 And there should be no ':set guifont'. If it exists, then gvim ignores
81 ':set guifontset'. It means Vim runs without fontset supporting.
82 So, you can see only English. Hangul does not be correctly displayed.
83
84 After "fontset" feature is enabled, Vim does not allow using english
85 font only in "font" setting for syntax.
86 For example, if you use >
87 :set guifontset=eng_font,your_font
88 in your .gvimrc, then you should do for syntax >
89 :hi Comment guifg=Cyan font=another_eng_font,another_your_font
90 If you just do >
91 :hi Comment font=another_eng_font
92 then you can see a error message. Be careful!
93
94 hangul_font width should be twice than english_font width.
95
96 Unsupported Feature
97 -------------------
98 We don't support Johab font.
99 We don't support Hanja input.
100 And We don't have any plan to support them.
101
102 If you really need such features, you can use console version of Vim with a
103 capable terminal emulator.
104
105 Bug or Comment
106 --------------
107 Send comments, patches and suggestions to:
108
109 SungHyun Nam <goweol@gmail.com>
110 Chi-Deok Hwang <...>
111 16
112 vim:tw=78:ts=8:noet:ft=help:norl: 17 vim:tw=78:ts=8:noet:ft=help:norl: