From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <80c99e790912070613g1caffb63m7c09e0530f687a95@mail.gmail.com> References: <80c99e790912070613g1caffb63m7c09e0530f687a95@mail.gmail.com> Date: Mon, 7 Dec 2009 14:39:54 +0000 Message-ID: <80c99e790912070639l693ac40cr3fa763bf0b2f6350@mail.gmail.com> From: Lorenzo Bolla To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd1a90245f502047a246e29 Subject: Re: [9fans] keyboard events in sam Topicbox-Message-UUID: aa0e4574-ead5-11e9-9d60-3106f5b1d025 --000e0cd1a90245f502047a246e29 Content-Type: text/plain; charset=ISO-8859-1 To be more precise, I meant "samterm", not sam. Sorry for the noise. L. On Mon, Dec 7, 2009 at 2:13 PM, Lorenzo Bolla wrote: > Hi all, > looking at sam sources from plan9port, it seems that CTRL-0 and CTRL-p (and > followings, like CTRL-1 and CTRL-q, CTRL-2 and CTRL-r, etc) corespond to the > same hex value. > Is there a way to discriminate between them? > I haven't found a way to detect the press of the Alt key (or is it just > used to compose utf chars)? > Or, even better, can you point me to a more detailed document than man that > explain how keyboard is handled? > > Thanks, > L. > --000e0cd1a90245f502047a246e29 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable To be more precise, I meant "samterm", not sam.
Sorry for the = noise.
L.


On Mon, Dec 7, 2009 at 2= :13 PM, Lorenzo Bolla <lbolla@gmail.com> wrote:
Hi all,
lookin= g at sam sources from plan9port, it seems that CTRL-0 and CTRL-p (and follo= wings, like CTRL-1 and CTRL-q, CTRL-2 and CTRL-r, etc) corespond to the sam= e hex value.
Is there a way to discriminate between them?
I haven't found a way to detect the press of the Alt key (or is it just= used to compose utf chars)?
Or, even better, can you point me to a more= detailed document than man that explain how keyboard is handled?

Thanks,
L.

--000e0cd1a90245f502047a246e29--