From: Quinn Dunkan <quinn@yak.ugcs.caltech.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Foreign keyboard layout
Date: Wed, 19 Sep 2001 09:52:50 -0700 [thread overview]
Message-ID: <20010919165255.1401E90157@yak.ugcs.caltech.edu> (raw)
In-Reply-To: Your message of "Wed, 19 Sep 2001 12:52:51 +0200." <20010919122949.H1071-100000@groucho.hvm.sas.junta-andalucia.es>
> On Tue, 18 Sep 2001, Boyd Roberts wrote:
>
> > iirc, there is a driver that has a mapping file which you
> > can read/write tuples of the form:
> >
> > shift scancode rune
> >
> Thanks. Please, do you remember what driver and/or file(s) are you talking
> about?
> I've found hardcoded keyboard mapping in both:
> /sys/src/9/$cputype/kbd.c (machine-dependent kernel code)
> /sys/src/libcontrol/keyboard.c
> Maybe there are other files like these.
There's a program that provides its own /dev/cons that translates from the old
/dev/cons and provides /dev/kbd to configure the translation (you write
old_unicode new_unicode pairs to it). I use it to get a dvorak layout. It
was posted to the list a while back--take a look at the archives. I believe
it was called kbd.c or something. Unfortunately I managed to lose my copy of
the src, and I can't find it in the archives or the wiki.
It doesn't work perfectly, but it's useful and small and doesn't require
messing with the kernel.
next prev parent reply other threads:[~2001-09-19 16:52 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-18 7:02 Jesus A. Mora
2001-09-18 10:51 ` Boyd Roberts
2001-09-19 10:52 ` Jesus A. Mora
2001-09-19 12:49 ` Boyd Roberts
2001-09-19 16:52 ` Quinn Dunkan [this message]
2001-09-19 17:07 ` Boyd Roberts
2001-09-20 7:43 ` Jesus A. Mora
2001-09-24 16:58 forsyth
2001-09-24 17:21 ` Boyd Roberts
2001-09-26 16:41 ` Boyd Roberts
2001-09-24 17:47 forsyth
2001-09-24 17:56 ` Boyd Roberts
2001-09-26 17:08 rog
2001-09-26 17:07 ` Boyd Roberts
2001-09-26 21:43 ` Boyd Roberts
2001-09-26 22:10 forsyth
2001-09-26 22:45 Russ Cox
2001-09-26 22:48 ` Boyd Roberts
2001-09-26 22:58 ` Boyd Roberts
2001-09-27 1:05 Russ Cox
2001-09-27 1:06 ` Boyd Roberts
2001-09-29 2:44 ` Boyd Roberts
2001-09-29 20:49 ` Boyd Roberts
2001-09-30 2:20 ` Boyd Roberts
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=20010919165255.1401E90157@yak.ugcs.caltech.edu \
--to=quinn@yak.ugcs.caltech.edu \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).