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 08:17:33 -0800 Message-ID: Subject: Re: [9fans] keyboard events in sam From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Topicbox-Message-UUID: aa435174-ead5-11e9-9d60-3106f5b1d025 sam(1) says ``Text may be typed and edited as in rio(1); also the escape key (ESC) selects (sets dot to) text typed since the last mouse button hit.'' rio(1) has a subsection titled ``Text windows.'' Ctrl-0 isn't a real control sequence (if you look at the output of "ascii", the valid control characters are A through _). What byte are you trying to type? You cannot detect the press of the Alt key - the kernel does that as part of its keyboard handling. Russ