Package: keymap
Version: none
Author: Guillem Jover <guillem@hadrons.org>
Status: applied
Description:
 Add support for Spanish key mapping under the Hurd.

diff -Nu keymap/loadkeys.pl keymap-patched/loadkeys.pl
--- keymap/loadkeys.pl	Tue Aug 31 04:38:39 1999
+++ keymap-patched/loadkeys.pl	Fri May 17 21:45:17 2002
@@ -16,8 +16,10 @@
  'us_-', '0x0c',
  'de_szlig', '0x0c',
  'de_eszet', '0x0c',
+ 'es_single_quote', '0x0c',
  'us_=', '0x0d',
  'de_\'', '0x0d',
+ 'es_exclamdown', '0x0d',
  'backspace', '0x0e',
  'bs', '0x0e',
  'tabulator', '0x0f',
@@ -28,6 +30,7 @@
  'r', '0x13',
  't', '0x14',
  'us_y', '0x15',
+ 'es_y', '0x15',
  'de_z', '0x15',
  'u', '0x16',
  'i', '0x17',
@@ -35,8 +38,10 @@
  'p', '0x19',
  'us_[', '0x1a',
  'de_uuml', '0x1a',
+ 'es_grave', '0x1a',
  'us_]', '0x1b',
  'de_+', '0x1b',
+ 'es_+', '0x1b',
  'return', '0x1c',
  'enter', '0x1c',
  'ret', '0x1c',
@@ -53,14 +58,19 @@
  'l', '0x26',
  'us_;', '0x27',
  'de_ouml', '0x27',
+ 'es_ntilde', '0x27',
  'us_\'', '0x28',
+ 'es_acute', '0x28',
  'de_auml', '0x28',
  'us_\`', '0x29',
  'de_^', '0x29',
+ 'es_masculine', '0x29',
 
  'us_\\', '0x2b',
  'de_#', '0x2b',
+ 'es_ccedilla', '0x2b',
  'us_z', '0x2c',
+ 'es_z', '0x2c',
  'de_y', '0x2c',
  'x', '0x2d',
  'c', '0x2e',
@@ -72,6 +82,7 @@
  '.', '0x34',
  'us_/', '0x35',
  'de_-', '0x35',
+ 'es_-', '0x35',
  'space', '0x39',
  'space_bar', '0x39',
  'sp', '0x39',
@@ -83,6 +94,7 @@
  'ins', '0x52',
  'delete', '0x53',
  'del', '0x53',
+ 'es_<', '0x56',
  'de_<', '0x56');
 
 %value_map = (
@@ -265,6 +277,16 @@
  'ouml', '0x94',
  'Ouml', '0x99',
  'Uuml', '0x9a',
+ 'exclamdown', '0xa1',
+ 'femenine', '0xaa',
+ 'notsign', '0xac',
+ 'masculine', '0xba',
+ 'periodcentered', '0xb7',
+ 'questiondown', '0xbf',
+ 'Ccedilla', '0xc7',
+ 'Ntilde', '0xd1',
+ 'ccedilla', '0xe7',
+ 'ntilde', '0xf1',
  'alpha', '0xe0',
  'beta',  '0xe1',
  'Gamma', '0xe2',
diff -Nu keymap/map.es keymap-patched/map.es
--- keymap/map.es	Thu Jan  1 01:00:00 1970
+++ keymap-patched/map.es	Fri May 17 21:14:22 2002
@@ -0,0 +1,60 @@
+#
+# spanish qwerty keymap
+#
+# scan		normal		shift		ctrl	alt	shift_alt
+esc		esc
+1		1		!		nc	|
+2		2		"		nc	@
+3		3		periodcentered	nc	#
+4		4		$		nc	~
+5		5		%
+6		6		&		nc	notsign
+7		7		/		nc	{
+8		8		(		nc	[
+9		9		)		nc	]
+0		0		=		nc	}
+es_single_quote	' 		?		nc	\
+es_exclamdown	exclamdown	questiondown	nc	~
+es_ccedilla	ccedilla	Ccedilla	nc	}
+bs		del
+q		q		Q		dc1
+w		w		W		etb
+e		e		E		enq
+r		r		R		dc2
+t		t		T		dc4
+es_y		y		Y		em
+u		u		U		nak
+i		i		I		ht
+o		o		O		si
+p		p		P		dle
+es_grave	`		^		nc	[
+es_+		+		*		nc	]
+return		cr
+a		a		A		soh
+s		s		S		dc3
+d		d		D		eot
+f		f		F		ack
+g		g		G		bel
+h		h		H		bs
+j		j		J		lf
+k		k		K		vt
+l		l		L		ff
+es_ntilde	ntilde		Ntilde
+es_acute	'		"		nc	{
+es_<		<		>
+es_z		z		Z		sub
+es_masculine	masculine	femenine	nc	\
+x		x		X		can
+c		c		C		etx
+v		v		V		syn
+b		b		B		stx
+n		n		N		so
+m		m		M		cr
+,		,		;
+.		.		:
+es_-		-		_
+ins		ins
+del		delete
+end		end
+page_up		page_up
+page_down	page_down
diff -Nu keymap/set_key.c keymap-patched/set_key.c
--- keymap/set_key.c	Mon Aug 30 23:47:58 1999
+++ keymap-patched/set_key.c	Sun May 12 19:17:28 2002
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include <errno.h>
 #include <error.h>
 #include <stdlib.h>
