All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carles Pina i Estany <carles@pina.cat>
To: grub-devel@gnu.org
Subject: [RFC] Different keyborad layouts
Date: Sun, 28 Sep 2008 23:58:12 +0200	[thread overview]
Message-ID: <20080928215812.GC5259@pina.cat> (raw)


Hello,

I was thinking how we could have different keyboard layouts and after
have some ideas I sent some emails to Robert about this topic (who had some
better ideas :-) )

Let me to explain here some plan/design. I would like to research on it
after some weeks, but if we need some discussion we could have it before
:-)

(this is the result of some mails with Robert, so I'm copying/pasting and
changing some things, if I'm wrong Robert correct me!)

Plan:
- in term/i386/pc/at_keyboard.c we could have something like this:

  static char english_map[] = { x, x, x };
  char *map = english_map;

- have a new module with different layouts and variable hook

- when user (or grub.cfg) change some variable (KEY_LAYOUT?), this module would
redefine the term/i386/pc/at_keybord.c char *map to KEY_LAYOUT_map (es_map,
de_map, etc.)

Nowadays at_keyboard.c is not used, I could enable for testing. It seems that
when USB keyboard will be integrated everybody will use at_keyboard.c (or at
least USB and i386-pc)

How it sounds?

It would be very nice for Grub, to have different layouts and localization :-)

Thanks,

-- 
Carles Pina i Estany		GPG id: 0x17756391
	http://pinux.info



             reply	other threads:[~2008-09-28 21:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-28 21:58 Carles Pina i Estany [this message]
2008-09-29 18:26 ` [RFC] Different keyborad layouts Vesa Jääskeläinen
2008-09-29 22:51   ` Carles Pina i Estany
2008-10-05 11:05   ` Robert Millan
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=20080928215812.GC5259@pina.cat \
    --to=carles@pina.cat \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.