From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Mon, 7 Dec 2009 14:13:26 +0000 Message-ID: <80c99e790912070613g1caffb63m7c09e0530f687a95@mail.gmail.com> From: Lorenzo Bolla To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd29d84a55d54047a240f95 Subject: [9fans] keyboard events in sam Topicbox-Message-UUID: a9ff4592-ead5-11e9-9d60-3106f5b1d025 --000e0cd29d84a55d54047a240f95 Content-Type: text/plain; charset=ISO-8859-1 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. --000e0cd29d84a55d54047a240f95 Content-Type: text/html; charset=ISO-8859-1 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.
--000e0cd29d84a55d54047a240f95--