--- Begin Message ---
Package: console-tools
Version: 1:0.2.3dbs-60
Severity: wishlist
Please find the attached proposed patch to add Thai console keysyms.
This is required, before adding Thai keymap into console-data later.
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=th_TH, LC_CTYPE=th_TH (charmap=TIS-620)
Versions of packages console-tools depends on:
ii console-common 0.7.55.1 Basic infrastructure for text cons
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii libconsole 1:0.2.3dbs-60 Shared libraries for Linux console
ii sysvinit 2.86.ds1-14 System-V-like init utilities
Versions of packages console-tools recommends:
ii console-data 20060317 Keymaps, fonts, charset maps, fall
-- no debconf information
diff -ruN console-tools-0.2.3-old/include/lct/Makefile.am console-tools-0.2.3/include/lct/Makefile.am
--- console-tools-0.2.3-old/include/lct/Makefile.am 1999-04-09 04:29:42.000000000 +0700
+++ console-tools-0.2.3/include/lct/Makefile.am 2005-04-19 21:44:41.000000000 +0700
@@ -7,6 +7,6 @@
pkginclude_HEADERS = font.h console.h unicode.h utils.h \
ksyms.h modifiers.h \
- cyrillic.syms.h ethiopic.syms.h latin8.syms.h
+ cyrillic.syms.h ethiopic.syms.h thai.syms.h latin8.syms.h
noinst_HEADERS = local.h
diff -ruN console-tools-0.2.3-old/include/lct/thai.syms.h console-tools-0.2.3/include/lct/thai.syms.h
--- console-tools-0.2.3-old/include/lct/thai.syms.h 1970-01-01 07:00:00.000000000 +0700
+++ console-tools-0.2.3/include/lct/thai.syms.h 2005-04-19 21:54:35.000000000 +0700
@@ -0,0 +1,102 @@
+/* TIS-620 (Thai) charmap
+ * Theppitak Karoonboonyanan <[EMAIL PROTECTED]>
+ */
+
+static sym tis_620_syms[] = {
+ { 0x00a0, "nobreakspace" },
+ { 0x0e01, "thai_kokai" },
+ { 0x0e02, "thai_khokhai" },
+ { 0x0e03, "thai_khokhuat" },
+ { 0x0e04, "thai_khokhwai" },
+ { 0x0e05, "thai_khokhon" },
+ { 0x0e06, "thai_khorakhang" },
+ { 0x0e07, "thai_ngongu" },
+ { 0x0e08, "thai_chochan" },
+ { 0x0e09, "thai_choching" },
+ { 0x0e0a, "thai_chochang" },
+ { 0x0e0b, "thai_soso" },
+ { 0x0e0c, "thai_chochoe" },
+ { 0x0e0d, "thai_yoying" },
+ { 0x0e0e, "thai_dochada" },
+ { 0x0e0f, "thai_topatak" },
+ { 0x0e10, "thai_thothan" },
+ { 0x0e11, "thai_thonangmontho" },
+ { 0x0e12, "thai_thophuthao" },
+ { 0x0e13, "thai_nonen" },
+ { 0x0e14, "thai_dodek" },
+ { 0x0e15, "thai_totao" },
+ { 0x0e16, "thai_thothung" },
+ { 0x0e17, "thai_thothahan" },
+ { 0x0e18, "thai_thothong" },
+ { 0x0e19, "thai_nonu" },
+ { 0x0e1a, "thai_bobaimai" },
+ { 0x0e1b, "thai_popla" },
+ { 0x0e1c, "thai_phophung" },
+ { 0x0e1d, "thai_fofa" },
+ { 0x0e1e, "thai_phophan" },
+ { 0x0e1f, "thai_fofan" },
+ { 0x0e20, "thai_phosamphao" },
+ { 0x0e21, "thai_moma" },
+ { 0x0e22, "thai_yoyak" },
+ { 0x0e23, "thai_rorua" },
+ { 0x0e24, "thai_ru" },
+ { 0x0e25, "thai_loling" },
+ { 0x0e26, "thai_lu" },
+ { 0x0e27, "thai_wowaen" },
+ { 0x0e28, "thai_sosala" },
+ { 0x0e29, "thai_sorusi" },
+ { 0x0e2a, "thai_sosua" },
+ { 0x0e2b, "thai_hohip" },
+ { 0x0e2c, "thai_lochula" },
+ { 0x0e2d, "thai_oang" },
+ { 0x0e2e, "thai_honokhuk" },
+ { 0x0e2f, "thai_paiyannoi" },
+ { 0x0e30, "thai_saraa" },
+ { 0x0e31, "thai_maihanakat" },
+ { 0x0e32, "thai_saraaa" },
+ { 0x0e33, "thai_saraam" },
+ { 0x0e34, "thai_sarai" },
+ { 0x0e35, "thai_saraii" },
+ { 0x0e36, "thai_saraue" },
+ { 0x0e37, "thai_sarauee" },
+ { 0x0e38, "thai_sarau" },
+ { 0x0e39, "thai_sarauu" },
+ { 0x0e3a, "thai_phinthu" },
+ { 0x0e3b, "" },
+ { 0x0e3c, "" },
+ { 0x0e3d, "" },
+ { 0x0e3e, "" },
+ { 0x0e3f, "thai_baht" },
+ { 0x0e40, "thai_sarae" },
+ { 0x0e41, "thai_saraae" },
+ { 0x0e42, "thai_sarao" },
+ { 0x0e43, "thai_saraaimaimuan" },
+ { 0x0e44, "thai_saraaimaimalai" },
+ { 0x0e45, "thai_lakkhangyao" },
+ { 0x0e46, "thai_maiyamok" },
+ { 0x0e47, "thai_maitaikhu" },
+ { 0x0e48, "thai_maiek" },
+ { 0x0e49, "thai_maitho" },
+ { 0x0e4a, "thai_maitri" },
+ { 0x0e4b, "thai_maichattawa" },
+ { 0x0e4c, "thai_thanthakhat" },
+ { 0x0e4d, "thai_nikhahit" },
+ { 0x0e4e, "thai_yamakkan" },
+ { 0x0e4f, "thai_fongman" },
+ { 0x0e50, "thai_leksun" },
+ { 0x0e51, "thai_leknung" },
+ { 0x0e52, "thai_leksong" },
+ { 0x0e53, "thai_leksam" },
+ { 0x0e54, "thai_leksi" },
+ { 0x0e55, "thai_lekha" },
+ { 0x0e56, "thai_lekhok" },
+ { 0x0e57, "thai_lekchet" },
+ { 0x0e58, "thai_lekpaet" },
+ { 0x0e59, "thai_lekkao" },
+ { 0x0e5a, "thai_angkhankhu" },
+ { 0x0e5b, "thai_khomut" },
+ { 0x0e5c, "" },
+ { 0x0e5d, "" },
+ { 0x0e5e, "" },
+ { 0x0e5f, "" },
+};
diff -ruN console-tools-0.2.3-old/lib/ksyms.c console-tools-0.2.3/lib/ksyms.c
--- console-tools-0.2.3-old/lib/ksyms.c 2005-04-19 21:44:40.000000000 +0700
+++ console-tools-0.2.3/lib/ksyms.c 2005-04-19 21:44:41.000000000 +0700
@@ -12,6 +12,7 @@
#include <lct/cp1250.syms.h>
#include <lct/ethiopic.syms.h>
#include <lct/sami.syms.h>
+#include <lct/thai.syms.h>
/* Keysyms whose KTYP is KT_LATIN or KT_LETTER and whose KVAL is 0..127. */
@@ -1617,6 +1618,7 @@
{ "cp-1250", cp1250_syms, 128 },
{ "koi8-r", koi8_syms, 128 },
{ "koi8-u", koi8_syms, 128 },
+ { "tis-620", tis_620_syms, 160 }, /* thai */
{ "iso-10646-18", iso_10646_18_syms, 159 }, /* ethiopic */
{ "iso-ir-197", iso_ir_197_syms, 160 }, /* sami */
{ "iso-ir-209", iso_ir_209_syms, 160 }, /* sami */
--- End Message ---