From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <50BC014F.7090206@gmail.com> References: <50BBF629.5020609@gmail.com> <20121203010858.AFADFB827@mail.bitblocks.com> <50BC014F.7090206@gmail.com> Date: Sun, 2 Dec 2012 20:10:32 -0600 Message-ID: From: Christopher Wilson To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=14dae9d253b40db05b04cfe941e6 Subject: Re: [9fans] Raspberry Pi: keyboard layout Topicbox-Message-UUID: ef1fe526-ead7-11e9-9d60-3106f5b1d025 --14dae9d253b40db05b04cfe941e6 Content-Type: text/plain; charset=ISO-8859-1 I seem to remember that there is already a dvorak key map somewhere in Plan 9. I was able to just use it. On Dec 2, 2012 7:34 PM, "Murray Colpman" wrote: > On 03/12/12 01:08, Bakul Shah wrote: > > On Mon, 03 Dec 2012 00:45:29 GMT Murray Colpman < > muzerakascooby@gmail.com> wrote: > >> When I run the kbmap program, attempting to set a map flashes up an > >> error about not being able to find /dev/kbmap. Looking at the manpages, > >> it seems that /dev/kbmap is supposed to be brought in with bind -a > >> '#kappa' /dev (with kappa obviously replaced with the actual kappa > >> letter). I did snarf the kappa from the manpage, and I also tried typing > >> it on the keyboard in various ways (compose, *, k for instance), so I > >> don't think that the issue is that I'm unable to type kappa correctly. > >> Anyway, when I run this bind command, I get "bind: #kappa: unknown > >> device in # filename" (again, kappa replaced with the actual kappa). > > > > You need to compile the driver in. Add > > kbmap > > to the dev section in config file /sys/src/9/bcm/pi. mk and > > then copy 9pi to the dos partition. > > > > dossrv -f /dev/sdM0/dos > > mount -c /sv/dos /n/dos > > cp /sys/src/9/bcm/9pi /n/dos/9pi > > fshalt > > > Thank you very much for the instructions! > > Just tried it, kbmap now works perfectly, and I have now set the > keyboard map in my lib/profile. It all works :D - now I just have to > hack together a UK Dvorak - the map files look easy enough to fiddle > with. I'll do this tomorrow as I should really be sleeping now, though. > > Thanks a lot! > Murray Colpman. > > --14dae9d253b40db05b04cfe941e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I seem to remember that there is already a dvorak key map somewhere in P= lan 9. I was able to just use it.

On Dec 2, 2012 7:34 PM, "Murray Colpman&quo= t; <muzerakascooby@gmail.com= > wrote:
On 03/12/12 01:08, Bakul Shah wrote:
> On Mon, 03 Dec 2012 00:45:29 GMT Murray Colpman <muzerakascooby@gmail.com> =A0wrote:
>> When I run the kbmap program, attempting to set a map flashes up a= n
>> error about not being able to find /dev/kbmap. Looking at the manp= ages,
>> it seems that /dev/kbmap is supposed to be brought in with bind -a=
>> '#kappa' /dev (with kappa obviously replaced with the actu= al kappa
>> letter). I did snarf the kappa from the manpage, and I also tried = typing
>> it on the keyboard in various ways (compose, *, k for instance), s= o I
>> don't think that the issue is that I'm unable to type kapp= a correctly.
>> Anyway, when I run this bind command, I get "bind: #kappa: un= known
>> device in # filename" (again, kappa replaced with the actual = kappa).
>
> You need to compile the driver in. =A0Add
> =A0 =A0 =A0 kbmap
> to the dev section in config file /sys/src/9/bcm/pi. =A0mk and
> then copy 9pi to the dos partition.
>
> =A0 =A0 =A0 dossrv -f /dev/sdM0/dos
> =A0 =A0 =A0 mount -c /sv/dos /n/dos
> =A0 =A0 =A0 cp /sys/src/9/bcm/9pi /n/dos/9pi
> =A0 =A0 =A0 fshalt
>
Thank you very much for the instructions!

Just tried it, kbmap now works perfectly, and I have now set the
keyboard map in my lib/profile. It all works :D - now I just have to
hack together a UK Dvorak - the map files look easy enough to fiddle
with. I'll do this tomorrow as I should really be sleeping now, though.=

Thanks a lot!
Murray Colpman.

--14dae9d253b40db05b04cfe941e6--