From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 30 Oct 2007 10:20:01 +0900 From: underspecified To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] unicode input for OSX-native drawterm In-Reply-To: <14ec7b180710291805w79dbfa72p815d72b7a0d5f134@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2939_4447029.1193707202013" References: <14ec7b180710291805w79dbfa72p815d72b7a0d5f134@mail.gmail.com> Cc: inferno-list@vitanuova.com, acme-sac@googlegroups.com Topicbox-Message-UUID: de5ae60a-ead2-11e9-9d60-3106f5b1d025 ------=_Part_2939_4447029.1193707202013 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline *sigh* I don't need to complain, but this is *exactly* what I have been working on in Acme SAC for the last month. We *really* need some way of getting the drawterm/emu/acme-sac OS X code in sync... --underspecified On 10/30/07, andrey mirtchovski wrote: > > this is the last piece of the puzzle that i was missing from the OSX > drawterm: the ability to input text when i'm using a different > keyboard layout than the english one (that's bulgarian for me). > > this file will pick up the unicode key from the input event and send > it directly to plan9 without attempting to pass it as a char (which is > what the old code did). > > since my screen.c has accumulated quite a few patches missing from the > CVS repository i'm attaching the whole thing. maintainers of acme-sac > and inferno can add the changes: they're in the kEventRawKeyDown event > handler and the convert_key routine and are quite obvious. > > ------=_Part_2939_4447029.1193707202013 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline *sigh* I don't need to complain, but this is *exactly* what I have been working on in Acme SAC for the last month.
We *really* need some way of getting the drawterm/emu/acme-sac OS X code in sync...

--underspecified

On 10/30/07, andrey mirtchovski <mirtchovski@gmail.com> wrote:
this is the last piece of the puzzle that i was missing from the OSX
drawterm: the ability to input text when i'm using a different
keyboard layout than the english one (that's bulgarian for me).

this file will pick up the unicode key from the input event and send
it directly to plan9 without attempting to pass it as a char (which is
what the old code did).

since my screen.c has accumulated quite a few patches missing from the
CVS repository i'm attaching the whole thing. maintainers of acme-sac
and inferno can add the changes: they're in the kEventRawKeyDown event
handler and the convert_key routine and are quite obvious.


------=_Part_2939_4447029.1193707202013--