home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / hswtch03.zip / HSWITCH.TXT < prev   
Text File  |  1993-07-06  |  7KB  |  197 lines

  1.                          === DISCLAIMER ===
  2.  
  3.  
  4. I allow you to use and distribute HSWITCH freely under the
  5. condition that I am in no way responsible for any damage or
  6. loss you may suffer. 
  7.  
  8.  
  9. Henk Kelder, Fidonet 2:280/801.339
  10.  
  11. Notes about HSWITCH:
  12. ====================
  13.  
  14. HSWITCH is a program that allows you to switch sessions on OS/2 2.0 from
  15. within full screen sessions.
  16.  
  17. HSWITCH is a dual mode program. The .exe file actually contains TWO
  18. programs: A OS/2 program AND a TSR program for DOS.
  19.  
  20. For HSWITCH to work properly you need to have OS/2 2.1 or OS/2 2.0 AND
  21. the service pack installed. On OS/2 2.0 GA HSWITCH does not work properly.
  22.  
  23. General Installation for OS/2
  24. =============================
  25.  
  26. There are two ways to install HSWITCH:
  27.  
  28. 1. Add a "RUN=[path]HSWITCH.EXE [options] in your CONFIG.SYS
  29.  
  30. 2. Enter "DETACH [path]HSWITCH [options]" at a OS/2 command prompt
  31.  
  32. Valid options are:
  33.  
  34.         /Fnn : nn is first session number to monitor (default 4)
  35.         /Lnn : nn is last session number to monitor  (default 15)
  36.                See notes on version 1.3
  37.  
  38.         /Hnn : nn is the scancode of the HOTKEY. The default value for the 
  39.                hotkey is 53.
  40.                See notes on version 1.4
  41.  
  42. Installation in a DOS box
  43. =========================
  44.  
  45. Simply run HSWITCH in a DOS (VDM or VMB) session, or better install in
  46. in your AUTOEXEC.BAT.
  47. It will install itself as an TSR program that will take round 9Kb of 
  48. RAM space.
  49. If the OS/2 version is not installed, the DOS version will NOT install.
  50.  
  51. When activated by its hotkey, HSWITCH will send a signal to the 
  52. OS/2 counterpart that will actually show the switchlist. 
  53.  
  54. Since the OS/2 program has no way to determine which DOS session has send 
  55. the signal the DOS program changes its session title for some moments to 
  56. "DOSSWITCH" so the OS/2 program can recoqnize the proper DOS session.
  57. The default duration of this title-change is 500 milliseconds which is
  58. sufficient for a 33 mHz 486 on normal operation.
  59. If HSWITCH never checkmarks the current DOS session when activated from DOS
  60. you could try to increase this value. Please note that the DOS program is
  61. blocked for the specified duration.
  62.  
  63. Note: HSWITCH can also be loaded and activated in a DOS window. Pressing 
  64. the hotkey there will however result in switching to full screen before the
  65. switchlist is displayed. 
  66.  
  67. HSWITCH does not work (the tasklist will not appear) while using WIN-OS/2.
  68.  
  69. Syntax :
  70.         [path]HSWITCH [options]
  71.  
  72. Valid options are:
  73.  
  74.         /Hnn : nn is the scancode of the HOTKEY. The default value for the 
  75.                hotkey is 53.
  76.                This options only has effect when specified while installing
  77.                See notes on version 1.4
  78.  
  79.         /Tnn : Specify the title-change duration in milliseconds. 
  80.                The default duration is 500 milliseconds. 
  81.  
  82.         /R   : When already installed, removes itself from memory
  83.  
  84. Activating
  85. ==========
  86.  
  87. To activate HSWITCH press the hot-key. This hot-key consist of two keys:
  88. Press and hold the <ALT> key en press the forward slash.
  89.  
  90. This keystroke causes a task list window to appear over the current
  91. screen.  A session can be selected by using the arrow keys, or by
  92. entering the first letter in the session title.
  93.  
  94. Once a session has been selected, you can enter any of the following
  95. keys:
  96.  
  97. <ENTER> - switches you to the highlighted session
  98. <ESC>   - places you back in the session you started in
  99. <ALT-X> - Removes the detached HSWITCH OS/2 background program
  100.  
  101.  
  102. Known bugs/limitations
  103. ======================
  104.  
  105. - HSWITCH may not become active from within an OS/2 session if you have more
  106.   than 20 or so sessions.
  107.  
  108. - When you activate HSWITCH from an DOS session the current session is
  109.   not always marked by the highlighted bar. Instead the first session might
  110.   highlighted while no session is check-marked. (See notes on version 1.4)
  111.  
  112. - On Version of OS/2 where only the initial release of OS/2 is installed
  113.   (GA) there are reports of traps when the DOS HSWITCH is used.
  114.  
  115. - HSWITCH uses box drawing characters to display itself and assumes you are
  116.   using codepage 437. If you are not using this Codepage some incorrect
  117.   characters might be used.
  118.  
  119. - When HSWITCH is activated from a DOS session, and the session is at a 
  120.   COMMAND Prompt, HSWITCH will show 'Current DOS' instead of the normal 
  121.   title. (feature, no bug).
  122.  
  123.  
  124.  
  125. Credits
  126. =======
  127.  
  128. The OS/2 Part of HSWITCH is based on the public domain "VSWITCH" program 
  129. by Scott Dudley. The DOS part is off my own hand.
  130.  
  131. VSWITCH is in turn based on a public domain program call "HOTKEY" by
  132. Peter Fitzsimmons and Dave Burton.  
  133.  
  134. HSWITCH is also public domain. The OS/2 code was compiled with 
  135. IBM C/2 Set 32 Bits compiler for OS/2 2.0. The DOS code was compiled with
  136. the Microsoft C version 6.0a compiler.
  137.  
  138.  
  139. =========================== HISTORY =======================================
  140. Notes on version 1.3:
  141.  
  142. o       You can now specify the first and last session that hswitch
  143.         monitors. The syntax is:
  144.  
  145.             run=[d:\path\]hswitch.exe /Fff /Lll (in the config.sys)
  146.                         or
  147.             detach [d:\path\]hswitch.exe /Fff /Lll (from the command line)
  148.  
  149.             where ff is the first session id and
  150.                   ll is the last session id.
  151.  
  152.         The defaults are 4 until 15.                
  153.         
  154.  
  155. o       When the DOS HSWITCH is used and the screen is not set on
  156.         25 lines, the screen background is cleared before the program
  157.         will popup.
  158.  
  159. o       If you run HSWITCH in the foreground it will show messages about
  160.         whats happening (debug messages mainly).
  161.  
  162.  
  163. Notes on version 1.4:
  164.  
  165. o       You can now specify the HOTKEY that HSWITCH uses.
  166.         Note that this hotkey must always be an ALT-combination.
  167.         The syntax is: 
  168.  
  169.                 [....]HSWITCH /Hnn 
  170.         
  171.         where nn must be a valid DECIMAL keyboard SCAN code.
  172.         Not all keys can be used. Some (e.g. the numeric keys and 
  173.         the tab key) simply don't work. Most alphabetic keys however work.
  174.         Just try it.
  175.         
  176.         Should you use the parameter make sure you specify 
  177.         the /H parameter both for the OS/2 version as for the DOS version 
  178.         the same.
  179.  
  180.         Please note that no checking is done!
  181.  
  182.         You'll find scancodes in your PC's manual.
  183.  
  184. o       The tasklist is shown in reversed order now. This normally matches
  185.         the order in the standard PM tasklist.
  186.  
  187. o       HSWITCH now tries to select the proper session when activated from
  188.         a DOS session. 
  189.  
  190.         However when it works, and the DOS session is at a COMMAND Prompt,
  191.         HSWITCH will show 'Current DOS' instead of the normal title. 
  192.         (feature, no bug).
  193.  
  194. o       When the DOS version was installed in upper memory using LH the
  195.         upper memory was not freed when the DOS version was deinstalled.
  196.         This has been corrected.
  197.