Patch for tildes in Spanish keymap

13 views
Skip to first unread message

Rafael Vargas

unread,
Mar 29, 2009, 5:49:41 PM3/29/09
to min...@googlegroups.com
Hello,

I've changed a line in the Spanish keymap so as to write tildes '~'.
Although there is not a "tilde key" in Spanish keyboards, in every
other OS this mapping (Alt Gr + 4) gives you a tilde character. Can
some of the committers approve and apply this patch to
"/src/drivers/tty/keymaps/spanish.src" ?

Index: spanish.src
===================================================================
--- spanish.src (revision 4206)
+++ spanish.src (working copy)
@@ -10,7 +10,7 @@
/* 02 - '1' */ '1', '!', A('1'), '|', '!', C('A'),
/* 03 - '2' */ '2', '"', A('2'), '@', '"', C('@'),
/* 04 - '3' */ '3', 0372, A('3'), '#', 0372, C('C'),
-/* 05 - '4' */ '4', '$', A('4'), '4', '$', C('D'),
+/* 05 - '4' */ '4', '$', A('4'), '~', '$', C('D'),
/* 06 - '5' */ '5', '%', A('5'), '5', '%', C('E'),
/* 07 - '6' */ '6', '&', A('6'), 0252, '&', C('F'),
/* 08 - '7' */ '7', '/', A('7'), '{', '/', C('G'),


Cheers.

--
Rafael Vargas
http://rafavargas.com

TildeSpanishKeymap.patch

Antoine Leca

unread,
Mar 29, 2009, 7:04:07 PM3/29/09
to min...@googlegroups.com
Rafael Vargas wrote:
> I've changed a line in the Spanish keymap so as to write tildes '~'.
> Although there is not a "tilde key" in Spanish keyboards, in every
> other OS this mapping (Alt Gr + 4) gives you a tilde character.
Yes, but also in "every other OS" this key acts as a dead key, ie
pressing AltGr+4 then N gives you la Ñ (Ñ, very important for
Spanish where it even have a proper key along L).
However with Minix there are no dead keys right now, perhaps this is the
reason?

While I was looking at your patch, I noticed that not all the Ctrl
characters where available with the Spanish keymap: beyond ^A-^Z, we do
have ^@ (NUL) at Ctrl+2 (plus many non-standard aliases), ^[ (ESC) as
Ctrl+` and ^] (GS) as Ctrl++ (same keys as AltGr give [ and ]), and ^_
(US) as Ctrl+'. Missing are ^^ (RS), which is placed in "every other OS"
at Ctrl+6, and ^\ (FS) which is placed at Ctrl+< (the 102th/105th key,
lacking on US keyboards but present on every other ones.)
The attached patch makes the relevant changes, so I propose it for the
same application as Rafael. I have used a major length, in the hope that
patch will succeed even in fuzzy mode.


Antoine

spanishKeymap-Ctrl.patch

Rafael Vargas

unread,
Mar 29, 2009, 7:45:33 PM3/29/09
to min...@googlegroups.com
On Mon, Mar 30, 2009 at 1:04 AM, Antoine Leca <Antoine...@gmail.com> wrote:
> The attached patch makes the relevant changes, so I propose it for the
> same application as Rafael. I have used a major length, in the hope that
> patch will succeed even in fuzzy mode.

Thanks!

Reply all
Reply to author
Forward
0 new messages