From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20061224190959.GA7832@it.uc3m.es> References: <20061224190959.GA7832@it.uc3m.es> Content-Type: text/plain; charset=UTF-8; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: arisawa@ar.aichi-u.ac.jp Subject: Re: [9fans] Installation impressions from a plan9 newbie Date: Mon, 25 Dec 2006 09:20:10 +0900 To: =?UTF-8?Q?Alberto_Cort=C3=A9s?= , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Cc: Topicbox-Message-UUID: f9b2ded6-ead1-11e9-9d60-3106f5b1d025 Hello, On 2006/12/25, at 4:09, Alberto Cort=C3=A9s 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=3D/sys/lib/kbmap/ascii > my_kbmap=3D/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=3Des And in termrc, add lines if(~ $keyboard ?*){ cat /sys/lib/kbmap/$keyboard > /dev/kbmap } Bind operation might be required before cat. bind -a '#=CE=BA' /dev where '=CE=BA' is kapper. Kenji Arisawa