Subject: kern/17990: Spanish keymap misses some special keys
To: None <>
From: Julio Merino <>
List: netbsd-bugs
Date: 08/19/2002 17:02:00
>Number:         17990
>Category:       kern
>Synopsis:       Spanish keymap misses some special keys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 19 08:00:01 PDT 2002
>Originator:     Julio Merino
>Release:        NetBSD 1.6F
System: NetBSD darkstar.local 1.6F NetBSD 1.6F (DARKSTAR) #7: Mon Aug 19 13:46:31 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
	The spanish keymap in kernel misses some keys. The first one is the
	not-sign, which is written trought AltGr+6. This is the "most
	important" addition.

	The other two keys are the cent sign, with AltGr+c, and the euro
	currency sign, with AltGr+e. The cent-sign is shown properly as it
	is part of iso8859-1. The euro sign does not appere properly
	as it is part of iso8859-15. Although, I think it's interesting to
	have these two keys in the keymap too, so you can insert them in
	files and see the signs ok on systems which have the -15 fonts.
	This small patch solves the problem.	

Index: wskbdmap_mfii.c
RCS file: /pub/NetBSD-CVS/syssrc/sys/dev/pckbc/wskbdmap_mfii.c,v
retrieving revision 1.24
diff -u -r1.24 wskbdmap_mfii.c
--- wskbdmap_mfii.c	2002/06/20 21:03:19	1.24
+++ wskbdmap_mfii.c	2002/08/19 14:55:07
@@ -364,19 +364,21 @@
     KC(3),   KS_2,		KS_quotedbl,	KS_at,
     KC(4),   KS_3,		KS_periodcentered, KS_numbersign,
     KC(5),   KS_4,		KS_dollar,	KS_asciitilde,
-    KC(7),   KS_6,		KS_ampersand,
+    KC(7),   KS_6,		KS_ampersand,	KS_notsign,
     KC(8),   KS_7,		KS_slash,
     KC(9),   KS_8,		KS_parenleft,
     KC(10),  KS_9,		KS_parenright,
     KC(11),  KS_0,		KS_equal,
     KC(12),  KS_apostrophe,	KS_question,
     KC(13),  KS_exclamdown,	KS_questiondown,
+    KC(18),  KS_e,		KS_E,		KS_currency,
     KC(26),  KS_dead_grave,	KS_dead_circumflex, KS_bracketleft,
     KC(27),  KS_plus,		KS_asterisk,	KS_bracketright,
     KC(39),  KS_ntilde,
     KC(40),  KS_dead_acute,	KS_dead_diaeresis, KS_braceleft,
     KC(41),  KS_degree,		KS_ordfeminine,	KS_backslash,
     KC(43),  KS_ccedilla,	KS_Ccedilla,	KS_braceright,
+    KC(46),  KS_c,		KS_C,		KS_cent,
     KC(51),  KS_comma,		KS_semicolon,
     KC(52),  KS_period,		KS_colon,
     KC(53),  KS_minus,		KS_underscore,