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

  1.     id m0ufGgx-0007uca; Sat, 13 Jul 96 20:13 MDT
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0ufGgN-0007uVn; Sat, 13 Jul 96 20:13 MDT
  5. Path: sloth.swcp.com!usenet
  6. From: Clifford T. Matthews <ctm@ardi.com>
  7. Newsgroups: comp.emulators.mac.executor
  8. Subject: Re: E/DOS handling of extended keys
  9. Date: 13 Jul 1996 19:23:52 -0600
  10. Organization: ARDI
  11. Lines: 50
  12. Message-ID: <uf3f2vtyon.fsf@ftp.ardi.com>
  13. References: <4rvjvi$cec@dfw-ixnews9.ix.netcom.com>
  14. NNTP-Posting-Host: gw.ardi.com
  15. In-reply-to: David Ellsworth's message of Wed, 10 Jul 1996 06:48:25 GMT
  16. X-Newsreader: Gnus v5.0
  17. To: executor@ardi.com
  18. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  19. Sender: owner-executor@ardi.com
  20. Precedence: bulk
  21.  
  22. >>>>> "David" == David Ellsworth <davidell@ix.netcom.com> writes:
  23. In article <4rvjvi$cec@dfw-ixnews9.ix.netcom.com> David Ellsworth <davidell@ix.netcom.com> writes:
  24.  
  25.  
  26.     David> There is one bug that has always existed in E/DOS that has
  27.     David> consistently annoyed me (a registered Executor
  28.     David> user). (Well, actually there is another one -- if E/DOS is
  29.     David> started in 50 row text mode, when it exits, you are left in
  30.     David> 50 row mode, but the font is 8x16. But you already know
  31.     David> that :).)
  32.  
  33. Yes, that's a bug that we know about that will not be relevant when we
  34. have a native Win32 version.
  35.  
  36.     David> The Macintosh has two ways of dealing with the keyboard:
  37.  
  38.     David> 1) When a non-modifier key is pressed, released, or
  39.     David> repeated, it generates an event, passing the keycode to the
  40.     David> event handler.  2) It maintains a array containing an
  41.     David> element for each key on the keyboard. This array includes
  42.     David> modifiers (Shift, Ctrl, etc.). For each element, a nonzero
  43.     David> value signals that the corresponding key is being held
  44.     David> down.
  45.  
  46.     David> On the PC, extended key scancodes are prefixed by 0xE0. For
  47.     David> example, the scancode for Left Alt is 0x38, while the
  48.     David> scancode for Right Alt is 0xE0 0x38. In (1), E/DOS handles
  49.     David> this fine. But in (2), it ignores occurences of 0xE0. If
  50.     David> Left Ctrl is pressed and held, then Right Ctrl is pressed
  51.     David> and released, E/DOS will forget that Left Ctrl is being
  52.     David> held down. Even worse, Left and Right Alt are both
  53.     David> translated to Command; there is no way to make the emulated
  54.     David> Mac think you are holding down Option. This is significant
  55.     David> in at least one program: Spin Doctor.
  56.  
  57.     David> To the people at ARDI: please consider fixing this in a
  58.     David> future version of E/DOS. And thank you for an outstanding
  59.     David> product!
  60.  
  61. I just fixed it now, although I didn't test it with Spin Doctor (I
  62. tested it with Asymptote Demo).  We were already doing a bunch of
  63. extended translations, but I guess I overlooked the fact that the
  64. right alternate uses them.  This had been on my TODO list for a while,
  65. thanks to Gene DeClark.
  66.  
  67.     David> --- David Ellsworth davidells@aol.com
  68.     David> davidell@ix.netcom.com
  69.  
  70. --Cliff
  71. ctm@ardi.com
  72.  
  73.