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

  1. >>>>> "David" == David Ellsworth <davidell@ix.netcom.com> writes:
  2. In article <4rvjvi$cec@dfw-ixnews9.ix.netcom.com> David Ellsworth <davidell@ix.netcom.com> writes:
  3.  
  4.  
  5.     David> There is one bug that has always existed in E/DOS that has
  6.     David> consistently annoyed me (a registered Executor
  7.     David> user). (Well, actually there is another one -- if E/DOS is
  8.     David> started in 50 row text mode, when it exits, you are left in
  9.     David> 50 row mode, but the font is 8x16. But you already know
  10.     David> that :).)
  11.  
  12. Yes, that's a bug that we know about that will not be relevant when we
  13. have a native Win32 version.
  14.  
  15.     David> The Macintosh has two ways of dealing with the keyboard:
  16.  
  17.     David> 1) When a non-modifier key is pressed, released, or
  18.     David> repeated, it generates an event, passing the keycode to the
  19.     David> event handler.  2) It maintains a array containing an
  20.     David> element for each key on the keyboard. This array includes
  21.     David> modifiers (Shift, Ctrl, etc.). For each element, a nonzero
  22.     David> value signals that the corresponding key is being held
  23.     David> down.
  24.  
  25.     David> On the PC, extended key scancodes are prefixed by 0xE0. For
  26.     David> example, the scancode for Left Alt is 0x38, while the
  27.     David> scancode for Right Alt is 0xE0 0x38. In (1), E/DOS handles
  28.     David> this fine. But in (2), it ignores occurences of 0xE0. If
  29.     David> Left Ctrl is pressed and held, then Right Ctrl is pressed
  30.     David> and released, E/DOS will forget that Left Ctrl is being
  31.     David> held down. Even worse, Left and Right Alt are both
  32.     David> translated to Command; there is no way to make the emulated
  33.     David> Mac think you are holding down Option. This is significant
  34.     David> in at least one program: Spin Doctor.
  35.  
  36.     David> To the people at ARDI: please consider fixing this in a
  37.     David> future version of E/DOS. And thank you for an outstanding
  38.     David> product!
  39.  
  40. I just fixed it now, although I didn't test it with Spin Doctor (I
  41. tested it with Asymptote Demo).  We were already doing a bunch of
  42. extended translations, but I guess I overlooked the fact that the
  43. right alternate uses them.  This had been on my TODO list for a while,
  44. thanks to Gene DeClark.
  45.  
  46.     David> --- David Ellsworth davidells@aol.com
  47.     David> davidell@ix.netcom.com
  48.  
  49. --Cliff
  50. ctm@ardi.com
  51.  
  52.