Path: utzoo!attcan!uunet!wuarchive!usc!apple!ksand From: ksand@Apple.COM (Kent Sandvik) Newsgroups: comp.sys.mac.programmer Subject: Re: After Dark 2.0 misses some events - fix required Message-ID: <48032@apple.Apple.COM> Date: 13 Jan 91 22:00:35 GMT References: <18799.278d2bd7@windy.dsir.govt.nz> Organization: Apple Computer Inc., Cupertino, CA Lines: 23 In article <18799.278d2bd7@windy.dsir.govt.nz> sramtrc@albert.dsir.govt.nz writes: >The actual problem is that AD misses A/UX events such as keystrokes. So I can >be typing away and the screensaver starts up on me. I'm looking for a quick >hack to fix it because I like AD. If AD relies on PostEvent AND/OR peeking/pokeing in the event queue, it will break under A/UX (see TN #229, page 2). The way to resolve this is to use a special AUXDispatch call under A/UX for looking into the event queue (under A/UX the event queue is over on the kernel memory space side...). So the ultimate way to fix this is to write some code under A/UX, disasm it and move it over to the Mac world as special glue code for A/UX. Regards, Kent Sandvik -- Kent Sandvik, Apple Computer Inc, Developer Technical Support NET:ksand@apple.com, AppleLink: KSAND DISCLAIMER: Private mumbo-jumbo Zippy++ says: "The ANSI C++ Standard should be an object oriented model"