Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [RFC] Different keyborad layouts
Date: Sun, 5 Oct 2008 13:05:56 +0200	[thread overview]
Message-ID: <20081005110556.GC5541@thorin> (raw)
In-Reply-To: <48E11DF2.3050804@nic.fi>

On Mon, Sep 29, 2008 at 09:26:58PM +0300, Vesa Jääskeläinen wrote:
> 
> Remember that in some keyboard you need to press combos in order to
> generate some character. Like in Finnish keyboard you press alt-gr + e
> in order to generate euro sign (or alt-gr + 5). Also there are
> multi-keypress sequences like in order to make '^' this sign you have to
> press ctrl + '^' button and when released then press space. If you
> happen to press in example 'a' after ctrl + '^' key you get 'â'. And I
> do not think this is the only keyboard with this feature. Also there is
> those dec input sequences like alt+number sequence. In example alt
> (pressed) + '6', '5' you get 'A'.

Do we really want to support all keys (and therefore all minor keyboard
variants) out there, or just those needed for metacharacters like '/' and
such?

> I do not like the idea of using variable for this as it will most likely
> require loading of keymap definition form disk. So I would prefer something:
> 
> insmod keymap
> keymap /boot/grub/keyboard/fi

Seems fine to me.  Note, however, that with the information currently exported
by e.g. at_keyboard.c it isn't possible to tell when special combinations like
"alt-gr + 5" were pressed.

There's quite a bit of pending rework for the input/output split (handlers?)
and USB keyboards (multiple input sources).  Perhaps it'd be better to address
this when the fundamentals have been laid out?

Btw, what happened to the handlers patch?  I thought it was about to be merged.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  parent reply	other threads:[~2008-10-05 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-28 21:58 [RFC] Different keyborad layouts Carles Pina i Estany
2008-09-29 18:26 ` Vesa Jääskeläinen
2008-09-29 22:51   ` Carles Pina i Estany
2008-10-05 11:05   ` Robert Millan [this message]
2008-10-05 11:40     ` Vesa Jääskeläinen
2008-10-05 11:46     ` Vesa Jääskeläinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081005110556.GC5541@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox