home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / CAROSEL5.ZIP / ETC / SCKEYFIX.DOC < prev    next >
Encoding:
Text File  |  1989-11-08  |  3.7 KB  |  87 lines

  1. Document file for SCKEYFIX.COM                    10/21/89
  2. ===============================================================================
  3.  
  4. PURPOSE:
  5. --------
  6. SCKEYFIX.COM corrects the problem caused by programs which take over the
  7. keyboard in such a way as to preclude Software Carousel Hot key functions.
  8. These programs include, but are not limited to: 
  9.  
  10.     -  Leading Edge Word Processor
  11.     -  Microsoft Windows (Run-time version)
  12.     -  Microsoft Windows (Full version)
  13.     -  Smartcom
  14.  
  15.  
  16. USAGE:
  17. ------
  18. SCKEYFIX.COM is run twice, once before Software Carousel and once after.  
  19. It is required that the second loading be performed immediately prior 
  20. to running the program which normally takes over the keyboard.  In other 
  21. words, if you are loading any other TSR programs in that partition, 
  22. load them before loading SCKEYFIX.COM for the second time.  This allows 
  23. those TSR's to see the keyboard as well.
  24.  
  25. The following diagram is a sample AUTOEXEC.BAT file with SCKEYFIX in use.
  26. This sample file illustrates the first of the two loadings of SCKEYFIX, 
  27. and the correct loading order in regard to Software Carousel:
  28.  
  29.                      +==============+
  30.                      | AUTOEXEC.BAT |
  31.                      +==============+
  32.                      | SCKEYFIX     |
  33.                      | CAROUSEL     |
  34.                      +--------------+
  35.  
  36. The following diagram illustrates the second loading of SCKEYFIX
  37. (after Software Carousel is started, and in any partition in which you
  38. use a keyboard-grabbing program):
  39.  
  40.                    +=================+
  41.                    | Sample Commands |
  42.                    | for Partition N |
  43.                    +=================+
  44.                    | SCKEYFIX        |
  45.                    | CD \WINDOWS     |
  46.                    | PM              | - Starts Pagemaker
  47.                    |                 |   in Run-time Windows
  48.                    +=================+
  49.  
  50. Description:
  51. ------------
  52. SCKEYFIX.COM is a TSR (Terminate and Stay Resident) program with two 
  53. parts, all in one program file.  It is run twice, once before Software
  54. Carousel, and once after.  After it is loaded the second time, the 
  55. ill-behaved program is then run.  The net effect is that Carousel 
  56. always gets the keyboard interrupt first (a prerequisite when dealing 
  57. with a program which does not pass the keyboard interrupt back to 
  58. previously loaded TSR's).
  59.  
  60. The following diagram illustrates the normal keyboard flow when 
  61. SCKEYFIX.COM is not is use:
  62.  
  63.       +-----------------------------------------------------+
  64.       | BIOS <--- Carousel <--- running program <---  INT 9 |
  65.       +-----------------------------------------------------+
  66.  
  67. Note:  This is simplified, as there may be other TSR programs loaded 
  68.        before and after Software Carousel, and that not all 
  69.        applications take over Interrupt 9.  
  70.  
  71. The problem occurs when the running program does not pass the
  72. interrupt request back to the previously loaded interrupt handlers.
  73. TSR's (such as Software Carousel) are unable to 'see' their 
  74. Hot key sequences and therefore cannot be controlled from the keyboard.
  75.  
  76. The following diagram illustrates the keyboard interrupt flow AFTER
  77. running SCKEYFIX.COM.  In this diagram, "Carousel" represents all TSR's 
  78. loaded between the first and second running of SCKEYFIX.COM, and "BIOS"
  79. represents all TSR's loaded prior to the first loading of SCKEYFIX.COM.
  80.  
  81.       +----------------------------------------------------+
  82.       | BIOS <--- running program <--- Carousel <--- INT 9 |
  83.       +----------------------------------------------------+
  84.  
  85. Note:  If the key is used along the way (by a keyboard acknowledge
  86.        and interrupt clear) the interrupt is not passed any further.
  87.