home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text7919.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  2.3 KB  |  54 lines

  1.     id m0udy9C-0007uNa; Wed, 10 Jul 96 06:13 MDT
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0udy8f-0007uQn; Wed, 10 Jul 96 06:13 MDT
  5. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!ixnews1.ix.netcom.com!ix.netcom.com!ix.netcom.com!news
  6. From: David Ellsworth <davidell@ix.netcom.com>
  7. Newsgroups: comp.emulators.mac.executor
  8. Subject: E/DOS handling of extended keys
  9. Date: Wed, 10 Jul 1996 06:48:25 GMT
  10. Organization: Netcom
  11. Lines: 33
  12. Message-ID: <4rvjvi$cec@dfw-ixnews9.ix.netcom.com>
  13. NNTP-Posting-Host: pas-ca23-32.ix.netcom.com
  14. X-NETCOM-Date: Wed Jul 10  1:52:34 AM CDT 1996
  15. To: executor@ardi.com
  16. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  17. Sender: owner-executor@ardi.com
  18. Precedence: bulk
  19.  
  20. There is one bug that has always existed in E/DOS that has
  21. consistently annoyed me (a registered Executor user). (Well, actually
  22. there is another one -- if E/DOS is started in 50 row text mode, when
  23. it exits, you are left in 50 row mode, but the font is 8x16. But you
  24. already know that :).)
  25.  
  26. The Macintosh has two ways of dealing with the keyboard:
  27.  
  28. 1) When a non-modifier key is pressed, released, or repeated, it
  29. generates an event, passing the keycode to the event handler.
  30. 2) It maintains a array containing an element for each key on the
  31. keyboard. This array includes modifiers (Shift, Ctrl, etc.). For each
  32. element, a nonzero value signals that the corresponding key is being
  33. held down.
  34.  
  35. On the PC, extended key scancodes are prefixed by 0xE0. For example,
  36. the scancode for Left Alt is 0x38, while the scancode for Right Alt is
  37. 0xE0 0x38. In (1), E/DOS handles this fine. But in (2), it ignores
  38. occurences of 0xE0. If Left Ctrl is pressed and held, then Right Ctrl
  39. is pressed and released, E/DOS will forget that Left Ctrl is being
  40. held down. Even worse, Left and Right Alt are both translated to
  41. Command; there is no way to make the emulated Mac think you are
  42. holding down Option. This is significant in at least one program: Spin
  43. Doctor.
  44.  
  45. To the people at ARDI: please consider fixing this in a future version
  46. of E/DOS. And thank you for an outstanding product!
  47.  
  48. ---
  49. David Ellsworth
  50. davidells@aol.com
  51. davidell@ix.netcom.com
  52.  
  53.  
  54.