9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa@ar.aichi-u.ac.jp
To: "Alberto Cortés" <alcortes@it.uc3m.es>,
	"Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Installation impressions from a plan9 newbie
Date: Mon, 25 Dec 2006 09:20:10 +0900	[thread overview]
Message-ID: <E45B86A5-47C4-450F-BD05-F9CC57217C10@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <20061224190959.GA7832@it.uc3m.es>

Hello,

On 2006/12/25, at 4:09, Alberto Cortés wrote:

>
> - kbmap: adding a kbmap question at the installation process will
>   be nice; a kbmap variable in plan9.ini?... I used this on my
>   termrc (based on /sys/src/cmd/kbmap.c):
>
>     def_kbmap=/sys/lib/kbmap/ascii
>     my_kbmap=/sys/lib/kbmap/es
>     if (test (-w /dev/kbmap) -a (-r $def_kbmap) -a (-r $my_kbmap)) {
>         cat $def_kbmap > /dev/kbmap
>         cat $my_kbmap > /dev/kbmap
>     }
> ....

Something like below will work, but I haven't try yet.
In plan9.ini, add a line
	keyboard=es
And in termrc, add lines
	if(~ $keyboard ?*){
		cat /sys/lib/kbmap/$keyboard > /dev/kbmap
	}

Bind operation might be required before cat.
	bind -a '#κ' /dev
where 'κ' is kapper.

Kenji Arisawa




  reply	other threads:[~2006-12-25  0:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-24 19:09 Alberto Cortés
2006-12-25  0:20 ` arisawa [this message]
2006-12-25  0:30   ` Rodolfo Garcia
2006-12-29 17:35 ` sretzki

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=E45B86A5-47C4-450F-BD05-F9CC57217C10@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9fans@cse.psu.edu \
    --cc=alcortes@it.uc3m.es \
    /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).