home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / 175b917u.zip / FMSFMT10.ZIP / FMSFMT.TEM < prev    next >
Text File  |  1993-12-29  |  8KB  |  159 lines

  1. ***********************************************
  2. * Configuration file for FMSFMT, version 1.0  *
  3. ***********************************************
  4. * Generic example showing all the configuration options.
  5. * Use your favorite full screen editor to change this file.
  6. * See FMSFMT.DOC for a guide to specific, working examples
  7. * of configuration files.
  8. ***********************************************
  9. * General notes:
  10. *    lines beginning with * are comments (ignored)
  11. *    lines begining with / specify parameter values controlling
  12. *       how FMSFMT runs
  13. *    in parm values, case does not matter
  14. *                    spaces after the "=" do not matter
  15. *                    multiple parms can be put on the same line, e.g.
  16. *                         /AddCat$=UNC/AddDate$=Today
  17. *    most parms in this file can also be passed on the command line
  18. * --------[display on screen as running doc]---------------
  19. * this entry is simple displayed at the top of FMSFMT when it runs
  20. * it is only for on-screen documentation of what the application does
  21. * and is useful only for confirming you invoked what you expected.
  22. * You can have multiple "/Title=" lines.
  23. /Title=  On this Run, a generic example
  24. * --------[what gets reformatted]----------------
  25. * StartDir is the name of the directory to merge or reformat
  26. /StartDir=      MERGE.DIR
  27. * --------[format of input]------------------------
  28. * StartIsFMS declares that StartDir is an FMS directory - fixed length
  29. * name begins column 1, size column 15, date in 24, and description
  30. * in 34, last 3 characters are category code.   If not FMS directory -
  31. * e.g. redirected "dir", or non-RBBS list, comment out this line.
  32. */StartIsFMS
  33. * --------[where extended descriptions are located in StartDir]-------------
  34. * ExtendedBeforeName means that the extended occur above the entry with
  35. * the file name.   This is how RBBS FMS directories are that are ordered
  36. * by date.   PCBoard directories have the extended directories after
  37. * the file name entry.  Put in "/NoExtended" if there are no extended
  38. * descriptions in the incoming file.  "/ExtendedAfterName" means the
  39. * extended description lines occur after the name/date/size entry.
  40. */ExtendedBeforeName
  41. */ExtendedAfterName
  42. */NoExtended
  43. * --------[where fields are located]-------------
  44. * These parameters let you specify where the fields in the StartDir
  45. * are located.   FMSFMT grabs 13 characters at the name, 7 at the
  46. * size, 8 at the date, and everything after the description, though
  47. * the last 3 are the category code if the directory is an FMS.   If
  48. * a field is not present, declare its value to be 0.   FMSFMT will
  49. * leave it blank, though AddCat and AddDate let you add a value.
  50. * The default is 1 for StartNameAt, 15 for StartSizeAt, 24 for
  51. * StartDateAt, and 34 for StartDescAt.
  52. */StartNameAt=   1
  53. */StartSizeAt=   15
  54. */StartDateAt=   24
  55. */StartDescAt=   34
  56. * --------[convert the fields]---------------------
  57. * ConvertFields tells RBBS to perform edits on the name/size/date/desc
  58. * fields.   The edits for name are to squeeze out interior spaces and
  59. * put a dot between prefix and extension.   The edits for size are to
  60. * allign the field to the right.   The edits for date are to separate
  61. * the month/day/year by "-" and to replace blanks by zeros.   The
  62. * edits for the descrition are to be left justify the field and lengthen
  63. * by blanks or truncate to make the length proper.   If StartDir has
  64. * the proper format, comment out this line and FMSFMT will run faster.
  65. /ConvertFields
  66. * --------[whether use description in ZIP]----------
  67. * Use FILE_ID.DIZ inside the ZIP to get a description.  Will
  68. * reformat the lines to use extended descriptions.  FMSFMT needs
  69. * to know where to look for ZIP files.  The default is to look
  70. * in the current directory.  But if the StartDir file has in it
  71. * "Directory of " then FMSFMT will use the directory following
  72. * as the location to look for the ZIP files that follow (this is
  73. * modelled on the output of the DOS "dir" command.  If the ZIP
  74. * file is not found there, FMSFMT will also look in the current
  75. * directory.   FMSFMT will shell to "pkunzip" to extra the description
  76. * file, so PKUNZIP.EXE must be somewhere in the directories specified
  77. * in the PATH setting or else be in the current directory.  The
  78. * DIZ description will overwrite any found already for the file.
  79. */StartUseDIZ
  80. * --------[ combine extended lines onto one line]------------
  81. *  CombineExtended means for all the extended descriptions to be
  82. *  put at the end of the line with the filename/size/date.  This
  83. *  is useful for sorting.  Then use FMSFMT to burst out the lines
  84. *  after sorting.
  85. */CombineExtended
  86. * --------[add header]------------
  87. * "/Header=" specified what header to add as the first line of
  88. * output.   FMS directories that have special values require a
  89. * header.  Headers in the file merged into will be preserved.
  90. * But if start doesn't have a header, such as one date sorted,
  91. * and you are converting to different format, such as name sorted,
  92. * you may want to have a header added.
  93. */Header=  \FMS NOSORT
  94. * --------[FMS dir to merge into]------------------
  95. * MergeTo is the name of the FMS file to merge entries into.
  96. * If you merely want to reformat StartDir without merging it into
  97. * another file, comment out this line.
  98. */MergeTo=        UPLOADS.DIR
  99. * --------[directory to create]--------------------
  100. * NewDir is the name of the directory to create (reformated/merged)
  101. /NewDir=         MASTER.DIR
  102. * --------[what to set catcode to]-----------------
  103. * AddCat is the category code to put in for all the entires in StartDir.
  104. * Use this if StartDir has no category codes or you wish them all
  105. * to be replaced.  If the StartDir is not FMS, the default is to
  106. * add "UNC" as the category code.
  107. */AddCat=         UTL
  108. * --------[what to set date to]--------------------
  109. * AddDate is the date code to put in for all the entires in StartDir.
  110. * Use this if StartDir has no dates or you wish them all
  111. * to be replaced.  You can specify "TODAY" if you wish the current
  112. * date to be used.
  113. */AddDate=         TODAY
  114. * --------[what to set description to]-----------------
  115. * AddDesc is the category code to put in for all the entries in StartDir.
  116. * Use this if StartDir has no descriptions or you wish them all
  117. * to be replaced.  The default is to leave the description field blank
  118. * if none is indicated in "/StartDescAt=" by setting it to zero.
  119. */AddDesc=         DOS utility
  120. * --------[how extended descriptions written out]-------------
  121. * Extended descriptions come after the filename entry when sorted
  122. *  by name (because read by RBBS from top to bottom) but above
  123. *  when sorted by date (because RBBS reads from bottom up).  This
  124. * parm is especially useful when converting a file rather than
  125. * merging one.
  126. */TargetSortedByName
  127. */TargetSortedByDate
  128. * --------[length of output]--------------------
  129. * NewLen is the total length of the output.   This way you can change
  130. * the length of the output to whatever desired for both StartDir
  131. * and MergeTo.   Value must be 76 or more.  If not specified,
  132. * the default new length is the length of the TargetDir.  The total
  133. * length will depend on the length of the description field:
  134. * 40 for desc length gives 76, 41 gives 77, 42 -> 78, 43 -> 79,
  135. * 44 -> 80, 45 -> 81, 46 -> 82.
  136. /NewLen=      76
  137. * --------[search/replace for input catcodes]------
  138. * ReplaceCat specifies that the cat codes in StartDir are to
  139. * be replaced by others.   You can specify a pair of 3 character codes.
  140. * For example,
  141. *            /ReplaceCat=     001 UTL
  142. * means to replace cat code "001" in StartDir with "UTL"
  143. * Better yet you can specify a list following "/ReplaceCat="
  144. * by listing the pairs of codes on the lines following, terminating
  145. * the list by "END" on a line by itself.
  146. */ReplaceCat=
  147. *001 COM
  148. *002 WPE
  149. *END
  150. * -------------[Multiple Processing]--------------
  151. * You can run as many configurations as desired in a single run
  152. * by including the "/RUN" paramter.  This causes FMSFMT to run with
  153. * the current parameter values.  After a "/RUN" you can change whatever
  154. * parameters you want, then run again.  All values stay the same
  155. * except those changed.  This is useful, for example, when you want
  156. * to process many different input files.  See FFOLD.CFG for an
  157. * example.
  158. */RUN
  159.