home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pds.zip / install.txt < prev    next >
Text File  |  1994-07-06  |  9KB  |  169 lines

  1.  
  2. This file contains documentation on how to install the 'Panel Display System'
  3. for OS/2 V2.x.
  4.  
  5. Installation of the 'Panel Display System' shareware package and the inclosed
  6. demonstration programs is simply a matter of using a program capable of
  7. extracting files stored in the "PKZIP" format and either copying some of the
  8. files to other directories or by adding the directory containing these files to
  9. various "CONFIG.SYS" statements.
  10.  
  11. The fastest way to install 'PDS' in order to be able to execute the
  12. demonstration programs is to simply create a directory and to unzip the
  13. distribution file "HSSPD.ZIP" into that directory.
  14.  
  15. The demonstration programs can be run from that directory by opening an OS/2
  16. "Command Line Window" from the "Command Prompts" folder, changing to the
  17. directory containing these files and then executing the demonstrations.
  18.  
  19. The following demonstrations are available:
  20.  
  21.   LOAN.CMD   - A sample 'Simple Interest Loan' calculator.
  22.                This is a REXX script that uses the REXX interface for the PD
  23.                system known as the 'rxPD' interface. This script uses the
  24.                "HSSPD.DLL" dynamic link library, which contains the rxPD REXX
  25.                extensions and the 'Panel Definition Library' file, "LOAN.PNL".
  26.  
  27.   LOAN.EXE   - A sample 'Simple Interest Loan' calculator.
  28.                This is an executable file that uses the PD system's 'High Level
  29.                Language' interface. It is identical in function to the
  30.                "LOAN.CMD" command file and uses the same "HSSPD.DLL" and
  31.                "LOAN.PNL" files.
  32.  
  33.   PDEDIT.CMD - A simple interactive text editor.
  34.                This is a REXX script like the "LOAN.CMD" file which demonstrates
  35.                the power of the 'Panel Display System'.  It is a fully
  36.                functional editor in that it will save any changes or create any
  37.                file requested.
  38.  
  39.   UGUESSIT.CMD - A game where you try to guess a 4 digit number.
  40.                Another REXX script which uses the "UGUESSIT.PNL" panel
  41.                library.
  42.                Lots of fun!
  43.                (07/05/94 - The UGUESSIT game has been split into a separate
  44.                            package in order to reduce the size of this shareware
  45.                            package.)
  46.  
  47.   BOUNCE1.CMD/BOUNCE2.CMD - Demonstrations of simple character animation.
  48.  
  49.   SNAKE1.CMD/SNAKE2.CMD - Demonstrations of more complex character animation.
  50.                The "SNAKE2.CMD" script is the more complex of the "BOUNCE" and
  51.                "SNAKE" scripts. Use the "/H' operand in order to display some
  52.                help information on the available options.
  53.  
  54.                CAVEAT - There is a "BUG" in OS/2 2.1 that can have a severe
  55.                impact on your system if you run any of the "BOUNCE" or "SNAKE"
  56.                scripts in an OS/2 "FULL SCREEN" session and then press either
  57.                "Alt+ESC" or "Ctrl+ESC" to get back to the OS/2 "Desktop". The
  58.                bug is in OS/2's "Schedular". What happens is that the "BOUNCE"
  59.                scripts and the "SNAKE1" script will consume about 99.99% of
  60.                the available CPU cycles. The 0.01% available to all other
  61.                process is simply because these scripts call "BEEP" which gives
  62.                all other processes about 1/400th of a second to execute.
  63.                The "SNAKE2" script runs in "QUIET" mode by default. This means
  64.                that it can consume 100.00% of the CPU if run in "FULL SCREEN"
  65.                and switched to the background.
  66.                This bug is not present in OS/2 2.0 and it is fixed by the latest
  67.                OS/2 2.1 "Corrective Service Diskettes" (CSD).
  68.                To repeat, this is a bug in OS/2, not in the "Panel Display
  69.                System" nor these demonstration scripts.
  70.  
  71. In order to make the 'Panel Display System' accessable to all PDS applications
  72. which you or others might develop, all that is necessary is that the "HSSPD.DLL"
  73. file be located in a directory listed in the "LIBPATH" statement in the
  74. "CONFIG.SYS" file or that the directory containing "HSSPD.DLL" be added to the
  75. "LIBPATH" statement.
  76.  
  77. In order to make the demonstration files accessable from any directory in an
  78. OS/2 "Window", you can either copy the files to other directories or you can add
  79. the directory containing these files to the "PATH" statement and the "DPATH"
  80. statement.
  81.  
  82. The '.CMD' files and the '.EXE' files should be in a directory listed by the
  83. "PATH" statement in the "CONFIG.SYS" file.
  84.  
  85. The '.PNL' files should be in a directory listed by the "DPATH" statement in the
  86. "CONFIG.SYS" file.
  87.  
  88. OS/2 searchs the current working directory and then the directories in the
  89. "LIBPATH" statement of the "CONFIG.SYS" in order to find the 'Dynamic Link
  90. Library' file "HSSPD.DLL" needed by PDS applications.
  91.  
  92. The 'Panel Display System' first searches the current working directory and then
  93. the "DPATH" environment variable for the '.PNL' files required by PDS
  94. applications.
  95.  
  96. To test for a proper installation of PDS, there is an "Installation and
  97. Verification Procedure", or IVP, provided with this version of PDS.
  98.  
  99. The IVP is contained within the "IVP.CMD" and "IVP.PNL" files.
  100.  
  101. This IVP simply defines the PDS REXX extensions to OS/2 and attempts to
  102. display a panel.
  103.  
  104. The IVP panel will display the expected PDS version and release numbers and the
  105. same values as defined by the REXX PDS initialization routine.
  106.  
  107. There are four possible errors tested by the IVP.
  108.  
  109. 1. Unable to define the HSSPD.DLL routines as REXX extension routines.
  110. 2. Conflicting routine names between PDS and some other REXX extension.
  111. 3. Unable to initialize a single instance of the REXX PDS subsystem.
  112. 4. Unexpected version number.
  113.  
  114. The possible reasons for the errors are:
  115.  
  116. 1. The HSSPD.DLL is not in the current directory or in one of the directories
  117.    defined by the 'LIBPATH' statement in 'CONFIG.SYS'.
  118. 2. The PDS system was defined as a REXX extension but the attempt to
  119.    execute the rxPDInit routine failed with 'Function not found'.
  120.    This means that a function defined as 'rxPDLoadFuncs' was previously
  121.    defined by some other REXX extension package.
  122. 3. The PDS system was properly defined as a REXX extension but the execution of
  123.    the rxPDInit initialization routine indicated a problem finding or parsing
  124.    the "IVP.PNL" file. This file should be in the the current working directory
  125.    or one of the directories defined by the 'DPATH' statement in 'CONFIG.SYS'.
  126. 4. The IVP retrieved the PDS version and release number from PDS and displayed
  127.    it on the screen but the retrieved values do not match the hardcoded values
  128.    on the IVP panel. This is probably caused by a previous version of HSSPD.DLL
  129.    already in use or defined to REXX. OS/2 uses DLLs which are already in use
  130.    before search the 'LIBPATH' directories for a required DLL. If a previous
  131.    version of HSSPD.DLL is already in use, end all applications which are using
  132.    PDS and exit all OS/2 windowed and full screen sessions. This will release
  133.    all referrences to the DLL and force OS/2 to again search the 'LIBPATH'
  134.    directories. Note, if your 'LIBPATH' statement does not contain a referrence
  135.    to the current working directory, OS/2 may again find the older version of
  136.    HSSPD.DLL. In this case, modify the 'LIBPATH' statement by adding a '.;' CWD
  137.    referrence or by referrencing the new PDS directory or replace the older
  138.    HSSPD.DLL with the newer version in the original PDS directory.
  139.  
  140. Feel free to modify the demonstration REXX PDS scripts, but please do not
  141. redistribute this package with any changes you may make.
  142.  
  143. Unregistered versions of the 'Panel Display System' are detected and a PDS
  144. copyright/registration panel is presented once per day when any PDS application
  145. is executed for the first time that day.
  146.  
  147. If the first application executed after installation of this system is the IVP,
  148. the PDS registration panel will be the first panel displayed.
  149.  
  150. To continue execution of the IVP and all other PDS samples or applications,
  151. simply press the escape, 'ESC', key. The PDS registration panel will not be
  152. displayed again until the next day and only when a PDS application is executed.
  153.  
  154. Registered customers should enter their registration number, whenever the PDS
  155. registration panel is presented, as per the instructions received with their
  156. registration acknowledgement letter. This will suppress the PDS registration
  157. panel until such time as OS/2 is reinstalled or a previous backup of certain
  158. OS/2 system files are restored. At that time it will be necessary to reenter the
  159. registration number.
  160.  
  161. If a new version, not a new release, of PDS is installed, a new registration
  162. number will be required as per the shareware agreement.
  163.  
  164. If after having decided that the PDS package does not prove to be a useful
  165. addition to OS/2, the REXX script "REMOVE.CMD" can be executed to remove
  166. information about PDS from the OS/2 system files. This script does not delete
  167. any files or directories nor does it modify the OS/2 "CONFIG.SYS" file.
  168.  
  169.