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

  1. Cc: Executor Mailing-List <executor@ardi.com>
  2. To: Executor Bugs <bugs@ardi.com>
  3. Content-type: TEXT/PLAIN; charset=US-ASCII
  4. X-sender: d_burr@starfleet.gov
  5. From: Donald Burr <d_burr@ix.netcom.com>
  6. Date: Sat, 23 Mar 1996 00:23:09 -0800 (PST)
  7. Sender: owner-executor@ardi.com
  8. Precedence: bulk
  9.  
  10. I've discovered a problem in the way Executor handles CAPSLOCK.  Please 
  11. allow me to explain.
  12.  
  13. On typical Macs, the Caps Lock key is a simple LOCKING mechanical switch.  
  14. Like most mechanical switches, it can be in either one of two states: OFF 
  15. and ON.  (will be represented by 0 and 1, respectively)  Since the Mac's 
  16. CAPS LOCK button is LOCKING, if you push it once, it "clicks" and stays 
  17. down, thus the CAPS LOCK key is set to the 1 state until you press it 
  18. again and "click" it off.
  19.  
  20. On the PC, it is different.  Again, the PC's CAPS LOCK key is a simple 
  21. mechanical switch, and can be either turned on (1) or off (0).  BUT, the 
  22. PC's CAPS LOCK key is NOT a locking key -- it does not stay down when you 
  23. press it.  Thus, if you press the CAPS LOCK KEY once, it toggles briefly 
  24. to the ON (1) state, then returns to the OFF (0) state.  The KEYBOARD 
  25. CONTROLLER in the PC is responsible for handling capslock, and so it 
  26. isn't as simple as on the Mac.
  27.  
  28. So, how does this affect Executor?
  29.  
  30. The other night, I was playing Maelstrom.  Suddenly the phone rang.  I 
  31. said "Damn!" and went to pause the game.  To do this you turn on Caps 
  32. Lock.  Well, unfortunately, here's what happend: for the BRIEFEST of time 
  33. (about 1 second), the "Game Paused" screen flashed on... then, the game 
  34. resumed again.  "Eh?" I thought.  Well, my game was toast anyway, so I 
  35. quit to dos and checked my caps lock key.  It worked ok, all right.  So 
  36. then I thought it might be a bug in how Maelstrom runs under Executor.  
  37. So I tried a different application -- Microsoft Word.  I engaged the CAPS 
  38. LOCK and typed in some stuff.  Darn it, but the stuff didn't appear in 
  39. caps!  "Feh!"
  40.  
  41. Well, after some experimentation (and hair-pulling), I discovered that:
  42.  
  43. * Maelstrom will stay paused if I hold down the CAPS LOCK key.  The
  44.   minute I let it go, the game resumes.
  45. * I can type capital letters in MS Word, TexEdit, etc... IF I hold down 
  46. the CAPS LOCK key while doing so.  The minute I release it, back to lower 
  47. case.
  48.  
  49. During all of these shenanigans, the CAPS LOCK light on my keyboard is 
  50. on, though!!!
  51.  
  52. My guess is that, instead of checking the PC's keyboard controller or 
  53. whatever else that controls the PC's caps lock facility, Executor is 
  54. using the state of the CAPS LOCK KEY ITSELF (down or up?) to determine 
  55. caps lockishness.  So, since the caps lock in PC"s is done by software (a 
  56. control bit in the PC keyboard controller or whatever) rather than 
  57. Hardware (a physical key being "locked down") as is on the Mac, programs 
  58. like Maelstrom and MS Word, which probably work like this:
  59.  
  60.   if (caps_lock_key == PRESSED_DOWN)
  61.   {
  62.     printf("Game Paused - Unclick Caps Lock to continue");
  63.   } else do_game();
  64.  
  65. do not work right.
  66.  
  67. I know many people don't use CAPS LOCK out there, but many people do, and 
  68. anyway it would probably be a good thing to fix or at least investigate ASAP.
  69.  
  70. This is under E/DOS 1.99q11.  Oddly enough, the caps lock works perfectly 
  71. under E/Linux 1.99q9.
  72.  
  73. Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212
  74. TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072
  75. PGP Public Key available by request (send e-mail) or on Public Key Servers.
  76. ** Uphold your right to privacy - Use PGP. **
  77.  
  78.