--- kterm-6.2.0.orig/gset.c
+++ kterm-6.2.0/gset.c
@@ -185,6 +185,9 @@
gsettofnum[GSET_KANJI] = F_JISX0208_0;
gsetontheright[GSET_KANJI] = False;
+ gsettofnum[GSET_90KANJI] = F_JISX0208_1990_0;
+ gsetontheright[GSET_90KANJI] = False;
+
gsettofnum[GSET_HOJOKANJI] = F_JISX0212_0;
gsetontheright[GSET_HOJOKANJI] = False;
@@ -193,6 +196,33 @@
gsettofnum[GSET_HANJA] = F_KSC5601_0;
gsetontheright[GSET_HANJA] = False;
+
+ gsettofnum[GSET_CNS1] = F_CNS11643_1;
+ gsetontheright[GSET_CNS1] = False;
+
+ gsettofnum[GSET_CNS2] = F_CNS11643_2;
+ gsetontheright[GSET_CNS2] = False;
+
+ gsettofnum[GSET_CNS3] = F_CNS11643_3;
+ gsetontheright[GSET_CNS3] = False;
+
+ gsettofnum[GSET_CNS4] = F_CNS11643_4;
+ gsetontheright[GSET_CNS4] = False;
+
+ gsettofnum[GSET_CNS5] = F_CNS11643_5;
+ gsetontheright[GSET_CNS5] = False;
+
+ gsettofnum[GSET_CNS6] = F_CNS11643_6;
+ gsetontheright[GSET_CNS6] = False;
+
+ gsettofnum[GSET_CNS7] = F_CNS11643_7;
+ gsetontheright[GSET_CNS7] = False;
+
+ gsettofnum[GSET_EXTKANJI1] = F_JISX0213_1;
+ gsetontheright[GSET_EXTKANJI1] = False;
+
+ gsettofnum[GSET_EXTKANJI2] = F_JISX0213_2;
+ gsetontheright[GSET_EXTKANJI2] = False;
# endif /* KTERM_MBCS */
}
@@ -211,11 +241,21 @@
screen->_box[F_ISO8859_9] = VTbox;
screen->_box[F_JISX0201_0] = VTbox;
#ifdef KTERM_MBCS
+ screen->_box[F_JISX0208_1990_0] = VTwbox;
screen->_box[F_JISX0208_0] = VTwbox;
screen->_box[F_JISX0212_0] = VTwbox;
screen->_box[F_GB2312_0] = VTwbox;
screen->_box[F_KSC5601_0] = VTwbox;
screen->_box[F_JISC6226_0] = VTwbox;
+ screen->_box[F_CNS11643_1] = VTwbox;
+ screen->_box[F_CNS11643_2] = VTwbox;
+ screen->_box[F_CNS11643_3] = VTwbox;
+ screen->_box[F_CNS11643_4] = VTwbox;
+ screen->_box[F_CNS11643_5] = VTwbox;
+ screen->_box[F_CNS11643_6] = VTwbox;
+ screen->_box[F_CNS11643_7] = VTwbox;
+ screen->_box[F_JISX0213_1] = VTwbox;
+ screen->_box[F_JISX0213_2] = VTwbox;
#endif /* KTERM_MBCS */
}
@@ -235,11 +275,22 @@
{"iso8859-9"}, /* F_ISO8859_9 */
{"jisx0201.1976-0"}, /* F_JISX0201_0 */
#ifdef KTERM_MBCS
- {"jisx0208.1990-0", "jisx0208.1983-0"}, /* F_JISX0208_0 */
+ {"jisx0208.1990-0", "jisx0208.1983-0"}, /* F_JISX0208_1990_0 */
+ {"jisx0208.1983-0"}, /* F_JISX0208_0 */
{"jisx0212.1990-0"}, /* F_JISX0212_0 */
{"gb2312.1980-0"}, /* F_GB2312_0 */
{"ksc5601.1987-0"}, /* F_KSC5601_0 */
{"jisc6226.1978-0", "jisx0208.1983-0"}, /* F_JISC6226_0 */
+ {"cns11643.1992-1"}, /* F_CNS11643_1 */
+ {"cns11643.1992-2"}, /* F_CNS11643_2 */
+ {"cns11643.1992-3"}, /* F_CNS11643_3 */
+ {"cns11643.1992-4"}, /* F_CNS11643_4 */
+ {"cns11643.1992-5"}, /* F_CNS11643_5 */
+ {"cns11643.1992-6"}, /* F_CNS11643_6 */
+ {"cns11643.1992-7"}, /* F_CNS11643_7 */
+ {"jisx0213.2000-1", "jisx0208.1990-0",
+ "jisx0208.1983-0"}, /* F_JISX0213_1 */
+ {"jisx0213.2000-2"}, /* F_JISX0213_2 */
#endif /* KTERM_MBCS */
};