Path: utzoo!utgpu!water!watmath!dalcs!garfield!john13 From: john13@garfield.UUCP (John Russell) Newsgroups: comp.sys.amiga Subject: Straightforward examples sought Keywords: rawkey lists Message-ID: <4312@garfield.UUCP> Date: 22 Dec 87 18:47:05 GMT Distribution: na Organization: CS Dept., Memorial U. of Newfoundland, St. John's Lines: 21 I'm looking for illustrative examples in source code on a couple of topics. First is list creation/handling using the Exec functions. Is it just me or are these terribly documented? The reference I use (Amiga Programmer's Handbook) doesn't mention the NewList() function and neither it nor the RKM is very helpful about what has to be initialized manually and what the system will do for you. Also handling of Intuition RAWKEY messages. I wrote a stub which will take the IntuiMessage->Code and handle meta-key actions, all the printable characters, and call functions when special keys (eg the arrows or function keys) are pressed. However I wouldn't like to be accused of ignoring the keymaps, so can these RAWKEY messages be parsed properly without having to mess around with the console device (which RawKeyConvert() wants to see, apparently)? I want to avoid the console handler entirely if possible and work just with Intuition. John -- "...and intuition, in a case such as this, is of crucial importance." -- William Gibson, _Count_Zero_