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

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