From: | Marc Culler |
Date: | 28 Aug 2000 at 20:32:33 |
Subject: | Re: AMIOPEN: Serious problem |
On Mon, Aug 28, 2000 at 05:56:25PM +0100, Matthew Kille wrote:
> Have you looked at the dev/display/sequences.html escape sequences? Are
> these display codes the same as those given by the keycode cooker?
As far as I can tell those are the keycodes that you get from the raw
keyboard device. When you read the raw keyboard device you get 32 bit
keycodes that contain all possible information including whether the
key was being pressed or released. A graphical user interface would
probably be receiving the raw keycodes on key-press or key-release
events. The cooker translates those 32 bit keycodes into byte
sequences of varying lengths. For normal ASCII characters the cooked
value is a single byte. For special keys it a sequence of up to 5
bytes, not necessarily beginning with the ASCII escape character.
> According to page 203 of the manual, their custom escape sequences are
> "more efficient and more flexible than traditional vt52 commands". (Though
> they also support the vt52 codes.)
That refers to the output to the display, not the input frm the keyboard.
They have escape sequences for moving the cursor, deleting and inserting
characters, etc.
- Marc
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html