Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2003 14:34:48 +0200 (EET)
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    bin/59078: [patch] Fix greek support in sysinstall and INDEX.keymaps
Message-ID:  <200311091234.hA9CYmaE026277@ajax.noc.ntua.gr>
Resent-Message-ID: <200311091240.hA9CeDGT008409@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59078
>Category:       bin
>Synopsis:       [patch] Fix greek support in sysinstall and INDEX.keymaps
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 09 04:40:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Panagiotis Astithas
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
National Technical University of Athens
>Environment:
System: FreeBSD ajax.noc.ntua.gr 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 8 21:45:00 EEST 2003 root@ajax.noc.ntua.gr:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Sysinstall does not offer the option to select a greek keymap, although
such keymaps exist in the system and can be selected via other means, e.g.
kbdmap(1). Moreover, a typo in INDEX.keymaps always produces one garbled 
line in kbdmap(1).
>How-To-Repeat:
Start sysinstall, go to keymap (or configure -> console -> keymap) and 
notice that no greek keymap entries appear. Also, start kbdmap, scroll
to the end of the available options and observe the last line.
>Fix:
Apply the supplied patches. As a workaround do not use sysinstall for 
selecting greek keymap, but use kbdmap after the initial installation, or
specify the keymap directly in /etc/rc.conf. Note that the patches are for
the HEAD versions of the relative files (as of a few weeks ago, at least).

--- patch-INDEX.keymaps begins here ---
--- share/syscons/keymaps/INDEX.keymaps.orig	Sat Nov  8 17:44:04 2003
+++ share/syscons/keymaps/INDEX.keymaps	Sat Nov  8 17:44:28 2003
@@ -165,7 +165,7 @@
 gr.elot.acc.kbd:el:Ελληνικό ISO-8859-7 ΕΛΟΤ
 
 gr.us101.acc.kbd:en:Greek ISO-8859-7 (101 keys)
-gr.us101.acc.kbd:en:Ελληνικό ISO-8859-7 (101 πλήκτρων)
+gr.us101.acc.kbd:el:Ελληνικό ISO-8859-7 (101 πλήκτρων)
 
 iw.iso8.kbd:en:Hebrew ISO-8859-8
 iw.iso8.kbd:he:ISO-8859-8 ϊιψας
--- patch-INDEX.keymaps ends here ---

--- patch-Makefile begins here ---
--- usr.sbin/sysinstall/Makefile.orig	Sat Nov  8 17:19:45 2003
+++ usr.sbin/sysinstall/Makefile	Sat Nov  8 17:10:59 2003
@@ -68,11 +68,12 @@
 KEYMAPS= jp.pc98 jp.pc98.iso
 .else
 KEYMAPS= be.iso bg.bds.ctrlcaps bg.phonetic.ctrlcaps br275.iso \
-	cs.latin2.qwertz danish.iso finnish.iso fr.iso \
-	german.iso hr.iso hu.iso2.101keys it.iso icelandic.iso jp.106 \
-	norwegian.iso pl_PL.ISO8859-2 pt.iso ru.koi8-r si.iso \
-	spanish.iso swedish.iso swissfrench.iso swissgerman.iso ua.koi8-u \
-	ua.koi8-u.shift.alt uk.iso us.dvorak us.iso us.pc-ctrl us.unix
+	cs.latin2.qwertz danish.iso el.iso07 finnish.iso fr.iso \
+	german.iso gr.elot.acc gr.us101.acc  hr.iso hu.iso2.101keys \
+	it.iso icelandic.iso jp.106 norwegian.iso pl_PL.ISO8859-2 \
+	pt.iso ru.koi8-r si.iso spanish.iso swedish.iso swissfrench.iso \
+	swissgerman.iso ua.koi8-u ua.koi8-u.shift.alt uk.iso us.dvorak \
+	us.iso us.pc-ctrl us.unix
 .endif
 
 keymap.h:
--- patch-Makefile ends here ---

--- patch-menus.c begins here ---
--- usr.sbin/sysinstall/menus.c.orig	Sat Nov  8 17:19:38 2003
+++ usr.sbin/sysinstall/menus.c	Sat Nov  8 17:42:44 2003
@@ -2004,6 +2004,9 @@
       { " French ISO",	"French ISO keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso" },
       { "German CP850",	"German Code Page 850 keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.cp850"	},
       { " German ISO",	"German ISO keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.iso" },
+      { " Greek 101",	"Greek ISO keymap (101 keys)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.us101.acc" },
+      { " Greek 104",	"Greek ISO keymap (104 keys)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=el.iso07" },
+      { " Greek ELOT",	"Greek ISO keymap (ELOT 1000)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.elot.acc" },
       { "Hungarian 101", "Hungarian ISO keymap (101 key)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.101keys" },
       { " Hungarian 102", "Hungarian ISO keymap (102 key)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.102keys" },
       { "Icelandic (accent)", "Icelandic ISO keymap (accent keys)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso.acc" },
--- patch-menus.c ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311091234.hA9CYmaE026277>