Hi Alastair, Does this patch [1] make sense to you? I see that the patches Theppitak refers to for console-data/tools have already been applied or are pending. Should the kbd-chooser patch be kept back until console-data is uploaded or does it no harm to have it in earlier? I also see that we have something similar for CHARSET_SAMI, but that that is currently commented out in config.h... Thanks, Frans [1] http://bugs.debian.org/377355
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 <thep@linux.thai.net>
+ */
+
+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",
+ "",
+ "",
+ "",
+ ""
+};
Attachment:
pgpbFcn3Nxf47.pgp
Description: PGP signature