Package: kbd-chooser Severity: wishlist Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Please add Thai keysyms support so that Thai keyboard layout is supported by the installer. This patch is consistent with previous patches proposed for console-tools and kbd, as well as Thai keyboard layout in console-data. - -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16 Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEr7STqgzR7tCLR/4RAoZQAKCZ2OHb9UMqXQtm3NA46kD7OcKj2QCcDHy6 VFSBIklFNlBrk7SXYW341xo= =SOfj -----END PGP SIGNATURE-----
Index: ksyms.c =================================================================== --- ksyms.c (revision 38725) +++ ksyms.c (working copy) @@ -1150,6 +1150,10 @@ #include "sami.syms.h" #endif +#if defined(CHARSET_THAI) +#include "thai.syms.h" +#endif + static sym iso_8859_15_syms[] = { /* latin-1 with 8 changes */ { 0x00a0, "" }, @@ -1646,6 +1650,9 @@ #ifdef CHARSET_SAMI { "iso-8859-10", latin6_syms, 160 }, #endif +#ifdef CHARSET_THAI + { "iso-8859-11", iso_8859_11_syms, 160 }, +#endif { "iso-8859-15", iso_8859_15_syms, 160 }, { "mazovia", mazovia_syms, 128 }, { "cp-1250", cp1250_syms, 128 }, Index: config.h =================================================================== --- config.h (revision 38725) +++ config.h (working copy) @@ -41,6 +41,7 @@ #define CHARSET_ISO_8859_8 #define CHARSET_ISO_8859_9 +#define CHARSET_THAI // Sanity checks Index: thai.syms.h =================================================================== --- thai.syms.h (revision 0) +++ thai.syms.h (revision 0) @@ -0,0 +1,102 @@ +/* ISO-8859-11 (Thai) charmap + * Theppitak Karoonboonyanan <[EMAIL PROTECTED]> + */ + +char *iso_8859_11_syms[] = { + "nobreakspace", /* AO */ + "thai_kokai", + "thai_khokhai", + "thai_khokhuat", + "thai_khokhwai", + "thai_khokhon", + "thai_khorakhang", + "thai_ngongu", + "thai_chochan", + "thai_choching", + "thai_chochang", + "thai_soso", + "thai_chochoe", + "thai_yoying", + "thai_dochada", + "thai_topatak", + "thai_thothan", /* B0 */ + "thai_thonangmontho", + "thai_thophuthao", + "thai_nonen", + "thai_dodek", + "thai_totao", + "thai_thothung", + "thai_thothahan", + "thai_thothong", + "thai_nonu", + "thai_bobaimai", + "thai_popla", + "thai_phophung", + "thai_fofa", + "thai_phophan", + "thai_fofan", + "thai_phosamphao", /* C0 */ + "thai_moma", + "thai_yoyak", + "thai_rorua", + "thai_ru", + "thai_loling", + "thai_lu", + "thai_wowaen", + "thai_sosala", + "thai_sorusi", + "thai_sosua", + "thai_hohip", + "thai_lochula", + "thai_oang", + "thai_honokhuk", + "thai_paiyannoi", + "thai_saraa", /* D0 */ + "thai_maihanakat", + "thai_saraaa", + "thai_saraam", + "thai_sarai", + "thai_saraii", + "thai_saraue", + "thai_sarauee", + "thai_sarau", + "thai_sarauu", + "thai_phinthu", + "", + "", + "", + "", + "thai_baht", + "thai_sarae", /* E0 */ + "thai_saraae", + "thai_sarao", + "thai_saraaimaimuan", + "thai_saraaimaimalai", + "thai_lakkhangyao", + "thai_maiyamok", + "thai_maitaikhu", + "thai_maiek", + "thai_maitho", + "thai_maitri", + "thai_maichattawa", + "thai_thanthakhat", + "thai_nikhahit", + "thai_yamakkan", + "thai_fongman", + "thai_leksun", /* F0 */ + "thai_leknung", + "thai_leksong", + "thai_leksam", + "thai_leksi", + "thai_lekha", + "thai_lekhok", + "thai_lekchet", + "thai_lekpaet", + "thai_lekkao", + "thai_angkhankhu", + "thai_khomut", + "", + "", + "", + "" +};