home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / packer / shez / sample.ini < prev    next >
INI File  |  1993-09-07  |  9KB  |  179 lines

  1. ;********************************************************************
  2. ;            SHEZ User Initialization file                          *
  3. ;                 (SAMPLE FILE ONLY!!!!!)                           *
  4. ;                                                                   *
  5. ;            AFTER MODIFYING THIS FILE IT MUST                      *
  6. ;                    BE RENAME TO:                                  *
  7. ;                      SHEZ.INI                                     *
  8. ;            AND THEN COPIED TO A DIRECTORY THAT IS                 *
  9. ;                IN YOUR PATH STATEMENT.                            *
  10. ;                                                                   *
  11. ;                                                                   *
  12. ;FORMAT OF FILE:                                                    *
  13. ;  Each line must end with a Carriage return, Line feed.            *
  14. ;  Everything to the right of a semicolon treated as comments.      *
  15. ;                                                                   *
  16. ;  External viewer programs are specified as follows:               *
  17. ;     EXT = PROGRAM                                                 *
  18. ;  WHERE ext      is the file extension (DO NOT ENTER THE PERIOD!)  *
  19. ;        program  is the program to execute based on the selected   *
  20. ;                 file extension.                                   *
  21. ;                 $f indicates to SHEZ where to place the filename  *
  22. ;                    when executing the program.                    *
  23. ;EXAMPLE:                                                           *
  24. ; C=E:\UTY\QEDIT.EXE $F                                             *
  25. ;                                                                   *
  26. ; If the highlighted file in SHEZ is HELP.C then SHEZ will          *
  27. ; attempt to execute E:\UTY\QEDIT.EXE HELP.C                        *
  28. ;                                                                   *
  29. ;********************************************************************
  30. ;                     ADVANCED FEATURES                             *
  31. ;                                                                   *
  32. ;SPECIFYING A STARTUP DIRECTORY:                                    *
  33. ;  To tell SHEZ to change to a specific directory before running    *
  34. ;  the specified external file viewer use the vertical bar          *
  35. ;  character to separate the startup directory name from the        *
  36. ;  viewer command as shown below:                                   *
  37. ;                                                                   *
  38. ;GIF=E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                 *
  39. ;                                                                   *
  40. ;                                                                   *
  41. ;TELLING SHEZ TO PAUSE AFTER RUNNING THE VIEWER:                    *
  42. ;  SHEZ can pause before returning to itself allowing you to        *
  43. ;  view the contents of the screen after the external viewer        *
  44. ;  has been executed. This is accomplished by placing the ~         *
  45. ;  character immediately after the equal sign.                      *
  46. ;                                                                   *
  47. ;GIF=~E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                *
  48. ;                                                                   *
  49. ;                                                                   *
  50. ;********************************************************************
  51.  
  52.  
  53.  
  54.  
  55. [External Viewers]     ;THIS IS A REQUIRED ENTRY, TELLS SHEZ WHERE
  56.                        ;THE EXTERNAL VIEWER DATA BEGINS
  57.  
  58. generic=list.com $f    ;This is a generic viewer it will be executed if
  59.                        ;the highlighted file's extension is not specified,
  60.                        ;or there is no file extension.
  61.  
  62. H  =Q.EXE $f           ;Run q.exe for file with .h  extension
  63.  
  64. DOC=E.EXE $f           ;Run e.exe for file with .doc extension
  65.  
  66. WP =WPVIEW.EXE $F      ;Run wpview.exe for file with .wp extension
  67.  
  68. C=E.EXE $F             ;Run e.exe for file with .c extension
  69.  
  70.  
  71.  
  72. ;********************************************************************
  73. ;                  SETTING UP PRINTERS                              *
  74. ;                                                                   *
  75. ;Up to three user defined printers can be defined.  Each printer    *
  76. ;definition requires it's own section name.  The section name       *
  77. ;is: [PRINTERx]  where x is 1,2, or 3.                              *
  78. ;Each printer section must have the following keyword defined:      *
  79. ;                                                                   *
  80. ;NAME                                                               *
  81. ;   user defined name of printer (25 characters or less)            *
  82. ;SETUP                                                              *
  83. ;   printer setup string                                            *
  84. ;CHARS-PER-LINE                                                     *
  85. ;   maximum number of characters per line                           *
  86. ;LINE-PER-PAGE                                                      *
  87. ;   maximum number of lines per page                                *
  88. ;ENDUP                                                              *
  89. ;   printer endup string (THIS IS OPTIONAL)                         *
  90. ;                                                                   *
  91. ;The printer SETUP and ENDUP strings can be up to 100 characters in *
  92. ;length.  The strings CAN NOT contain carriage return or line feed  *
  93. ;characters.  If these must be included in the string use the $     *
  94. ;character to enter their HEX equivalent.  I.E. a carriage return   *
  95. ;would be entered as $0d. The $ character indicates to SHEZ that the*
  96. ;next two characters are to be interpreted as HEX.  For example to  *
  97. ;enter the ASCII ESC character into the setup string use the        *
  98. ;following in your string: $1b.                                     *
  99. ;                                                                   *
  100. ;********************************************************************
  101.  
  102.  
  103. [Printer1]             ;HPLASER II-IV portrait compressed
  104. name=HP-port-compress
  105. setup=$1bE$1b(10U$1b(s16.6H$1b&l8D
  106. endup=$1bE
  107. chars-per-line=132
  108. lines-per-page=80
  109.  
  110. [Printer2]             ;HPLASER II-IV landscape compressed
  111. name=HP-land-compress
  112. setup=$1bE$1b&l1O$1b(10U$1b(s16.6H$1b&l8D
  113. endup=$1bE
  114. chars-per-line=174
  115. lines-per-page=64
  116.  
  117.  
  118. ;*********************************************************************
  119. ;                         SETTING UP USER MENUS
  120. ;
  121. ;Up to 10 user defined menu items may be defined in this section.
  122. ;Each menu item MUST have a NAME parameter and a PROGRAM parameter
  123. ;defined. The NAME parameter is the text that will appear drop
  124. ;down menu when the uSer menu option is selected.  The PROGRAM
  125. ;parameter defines what program or batch file will be executed
  126. ;when the item is selected. The rules for defining these two
  127. ;keyword parameters are as follows:
  128. ;
  129. ;NAME
  130. ;  User defined text of 25 characters or less. This text will
  131. ;  appear on the drop down menu.
  132. ;
  133. ;PROGRAM
  134. ;  The program or batch file to execute when the selection is
  135. ;  chosen.
  136. ;
  137. ;
  138. ;SPECIFYING A STARTUP DIRECTORY:
  139. ;   To tell SHEZ to change to a specific directory before running
  140. ;   the specified user program use the vertical bar character to
  141. ;   separate the startup directory name from the program/batch
  142. ;   file to execute as shown below:
  143. ;
  144. ;   PROGRAM=E:\GIF\VPIC.EXE|G:\GIF\VPIC
  145. ;
  146. ;
  147. ;TELLING SHEZ TO PAUSE AFTER RUNNING A PROGRAM
  148. ;   SHEZ can pause before returning to itself allowing you to
  149. ;   view the contents of the screen after the program
  150. ;   has been executed. This is accomplished by placing the ~
  151. ;   character immediately after the equal sign.
  152. ;
  153. ;   PROGRAM=~E:\GIF\VPIC.EXE|G:\GIF\VPIC
  154. ;
  155. ;PASSING A FILE TO A USER DEFINED PROGRAM
  156. ;   By using the $f characters when defining the PROGRAM to execute
  157. ;   you can pass the currently highlighted filename to an external
  158. ;   program.  The $f tell SHEZ where to place the filename when
  159. ;   launching a user specified program.
  160. ;
  161. ;   This will also work when viewing the contents of a compressed file.
  162. ;   When viewing the contents of a compressed file, if the $f characters
  163. ;   are defined in the PROGRAM specification, the highlighted file is
  164. ;   extracted to a work directory and the user program is launched.
  165. ;   When the user program is exited, SHEZ will then check the extracted
  166. ;   works file's time and date stamp.  If the work file was updated
  167. ;   SHEZ will REFRESH the copy of the file in the compressed file.
  168. ;*********************************************************************
  169.  
  170.  
  171. [User-menu]
  172. Name=WordPerfect 5.1
  173. Program=E:\APPS\WP51\WP.EXE /nk|E:\APPS\WP51
  174.  
  175. Name=WordPerfect 5.1 (pass file)
  176. Program=E:\APPS\WP51\WP.EXE $f /nk|E:\APPS\WP51
  177.  
  178. Name=WordPerfect 6.0
  179. Program=U:\WP60\WP.EXE /nk|U:\WP60