From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Foreign keyboard layout From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-uyavlhpgjtlwkwfvuurmfasurg" Message-Id: <20010926221608.7191B19A31@mail.cse.psu.edu> Date: Wed, 26 Sep 2001 23:10:18 +0100 Topicbox-Message-UUID: f50bcf4e-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-uyavlhpgjtlwkwfvuurmfasurg Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit you can map Shift and some of the other special keys elsewhere in the Unicode space; it's not quite like the use of 0200 by the old shells. --upas-uyavlhpgjtlwkwfvuurmfasurg Content-Type: message/rfc822 Content-Disposition: inline Received: from tele-punt-22.mail.demon.net ([194.217.242.7]) by lavoro; Wed Sep 26 23:24:20 BST 2001 Received: from punt-2.mail.demon.net by mailstore for forsyth@caldo.demon.co.uk id 1001540969:20:07919:0; Wed, 26 Sep 2001 21:49:29 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-2.mail.demon.net id aa2111997; 26 Sep 2001 21:49 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7322819A31; Wed, 26 Sep 2001 17:47:14 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0CEB419A0C for <9fans@cse.psu.edu>; Wed, 26 Sep 2001 17:46:53 -0400 (EDT) Received: (qmail 50368799 invoked by uid 0); 26 Sep 2001 21:46:51 -0000 Received: from unknown (HELO SOMA) ([212.198.185.162]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for <9fans@cse.psu.edu>; 26 Sep 2001 21:46:51 -0000 Message-ID: <00f401c146d4$512f7400$a2b9c6d4@SOMA> From: "Boyd Roberts" To: <9fans@cse.psu.edu> References: <20010926165615.047CB19A55@mail.cse.psu.edu> <005201c146ad$b5a301d0$a2b9c6d4@SOMA> Subject: Re: [9fans] Foreign keyboard layout MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 26 Sep 2001 23:43:44 +0200 azerty support is advancing, but i'm now at the point of a pc/kbd.c hack or re-write to get it support certain latin1 chars and shift/alt/alt-gr to work right. the problem, but i'll have to study the code, is that it uses the 8th bit to indicate a shifted char and then a series of chars in the bottom end of the latin1 codespace to indicate shift/ctrl/alt/etc. this is a big problem because the runes are overloaded 'cos an azerty keyboard 'generates' stuff with the 8th bit set. this is reminiscent of the way the bourne shell used the 8th bit to indicate quoting -- yuk, and that's before we get to the sigsegv memory management ... a quick hack would be to use the 16th bit, but that may provoke exactly the same problem further down the track, which i most certainly want to avoid. i hope i don't have to read the unicode spec -- gag ... --upas-uyavlhpgjtlwkwfvuurmfasurg--