home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / 175b917u.zip / FMSFMT10.ZIP / FFCE2.CFG < prev    next >
Text File  |  1993-12-27  |  5KB  |  126 lines

  1. ***********************************************
  2. * Configuration file for FMSMRG, version 1.0  *
  3. ***********************************************
  4. * Example where inputs are FMS sorted by name
  5. *    and output file combines the extended descriptions on one line
  6. ***********************************************
  7. * General notes:
  8. *    lines beginning with * are comments (ignored)
  9. *    lines begining with / specify parameter values controlling
  10. *       how FMSFMT runs
  11. *    in parm values, case does not matter
  12. *                    spaces after the "=" do not matter
  13. *                    multiple parms can be put on the same line, e.g.
  14. *                         /AddCat$=UNC/AddDate$=Today
  15. *    anything in this file can also be passed on the command line
  16. * --------[what gets reformatted]----------------
  17. * StartDir is the name of the directory to merge or reformat
  18. /StartDir=      MASTALPH.DIR 
  19. * --------[format of input]------------------------
  20. * StartIsFMS declares that StartDir is an FMS directory - fixed length
  21. * name begins column 1, size column 15, date in 24, and description
  22. * in 34, last 3 characters are category code.   If not FMS directory -
  23. * e.g. redirected "dir", or non-RBBS list, comment out this line.
  24. /StartIsFMS
  25. * --------[where extended descriptions are located in StartDir]-------------
  26. * ExtendedBeforeName means that the extended occur above the entry with
  27. * the file name.   This is how RBBS FMS directories are that are ordered
  28. * by date.   PCBoard directories have the extended directories after
  29. * the file name entry.
  30. */ExtendedBeforeName
  31. * --------[where fields are located]-------------
  32. * These parameters let you specify where the fields in the StartDir
  33. * are located.   FMSFMT grabs 13 characters at the name, 7 at the
  34. * size, 8 at the date, and everything after the description, though
  35. * the last 3 are the category code if the directory is an FMS.   If
  36. * a field is not present, declare its value to be 0.   FMSFMT will
  37. * leave it blank, though AddCat and AddDate let you add a value.
  38. */StartNameAt=   1
  39. */StartSizeAt=   15
  40. */StartDateAt=   24
  41. */StartDescAt=   34
  42. * --------[convert the fields]---------------------
  43. * ConvertFields tells RBBS to perform edits on the name/size/date/desc
  44. * fields.   The edits for name are to squeeze out interior spaces and
  45. * put a dot between prefix and extension.   The edits for size are to
  46. * allign the field to the right.   The edits for date are to separate
  47. * the month/day/year by "-" and to replace blanks by zeros.   The
  48. * edits for the descrition are to be left justify the field and lengthen
  49. * by blanks or truncate to make the length proper.   If StartDir has
  50. * the proper format, comment out this line and FMSFMT will run faster.
  51. /ConvertFields
  52. * --------[ combine extended lines onto one line]------------
  53. *  CombineExtended means for all the extended descriptions to be\
  54. *  put at the end of the line with the filename/size/date.  This
  55. *  is useful for sorting.  Then use FMSFMT to burst out the lines
  56. *  after sorting.
  57. /CombineExtended
  58. * --------[FMS dir to merge into]------------------
  59. * MergeTo is the name of the FMS file to merge entries into.
  60. * If you merely want to reformat StartDir without merging it into
  61. * another file, comment out this line.
  62. */MergeTo=        UPLOADS.DIR
  63. * --------[directory to create]--------------------
  64. * NewDir is the name of the directory to create (reformated/merged)
  65. /NewDir=         MASTCOMA.DIR
  66. * --------[what to set catcode to]-----------------
  67. * AddCat is the category code to put in for all the entires in StartDir.
  68. * Use this if StartDir has no category codes or you wish them all
  69. * to be replaced.  If the StartDir is not FMS, the default is to
  70. * add "UNC" as the category code.
  71. */AddCat=         UNC
  72. * --------[what to set date to]--------------------
  73. * AddDate is the date code to put in for all the entires in StartDir.
  74. * Use this if StartDir has no dates or you wish them all
  75. * to be replaced.  You can specify "TODAY" if you wish the current
  76. * date to be used.
  77. */AddDate=         TODAY
  78. * --------[length of output]--------------------
  79. * NewLen is the total length of the output.   This way you can change
  80. * the length of the output to whatever desired for both StartDir
  81. * and MergeTo.   Value must be 76 or more.  If not specified,
  82. * the default new length is the length of the TargetDir.  The total
  83. * length will depend on the length of the description field:
  84. * 40 for desc length gives 76, 41 gives 77, 42 -> 78, 43 -> 79,
  85. * 44 -> 80, 45 -> 81, 46 -> 82.
  86. /NewLen=      76
  87. * --------[search/replace for input catcodes]------
  88. * ReplaceCat specifies that the cat codes in StartDir are to
  89. * be replaced by others.   You can specify a pair of 3 character codes.
  90. * For example,
  91. *            /ReplaceCat=     001 UTL
  92. * means to replace cat code "001" in StartDir with "UTL"
  93. * Better yet you can specify a list following "/ReplaceCat="
  94. * by listing the pairs of codes on the lines following, terminating
  95. * the list by "END" on a line by itself.
  96. /ReplaceCat=
  97. 001 COM
  98. 002 WPE
  99. 003 DBP
  100. 004 EDU
  101. 005 BUS
  102. 006 SPR
  103. 007 PRG
  104. 008 GRF
  105. 009 UNP
  106. 010 GAM
  107. 011 MSU
  108. 012 KBU
  109. 013 FDU
  110. 014 FDU
  111. 015 PRU
  112. 016 SCU
  113. 017 BAU
  114. 018 STA
  115. 019 SPR
  116. 020 WIN
  117. 030 OSU
  118. 040 PRU
  119. 050 PPL
  120. 090 REV
  121. 095 BBS
  122. 096 BBS
  123. 097 BBS
  124. 098 UNC
  125. END
  126.