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

  1. ***********************************************
  2. * Configuration file for FMSMRG, version 1.0  *
  3. ***********************************************
  4. * Example where inputs are sorted by date
  5. *    and merge file can have extended descriptions after the file name
  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=      CDDATE.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. * --------[FMS dir to merge into]------------------
  53. * MergeTo is the name of the FMS file to merge entries into.
  54. * If you merely want to reformat StartDir without merging it into
  55. * another file, comment out this line.
  56. /MergeTo=        UPLOADS.DIR
  57. * --------[directory to create]--------------------
  58. * NewDir is the name of the directory to create (reformated/merged)
  59. /NewDir=         MASTDATE.DIR
  60. * --------[what to set catcode to]-----------------
  61. * AddCat is the category code to put in for all the entires in StartDir.
  62. * Use this if StartDir has no category codes or you wish them all
  63. * to be replaced.  If the StartDir is not FMS, the default is to
  64. * add "UNC" as the category code.
  65. */AddCat=         UNC
  66. * --------[what to set date to]--------------------
  67. * AddDate is the date code to put in for all the entires in StartDir.
  68. * Use this if StartDir has no dates or you wish them all
  69. * to be replaced.  You can specify "TODAY" if you wish the current
  70. * date to be used.
  71. */AddDate=         TODAY
  72. * --------[length of output]--------------------
  73. * NewLen is the total length of the output.   This way you can change
  74. * the length of the output to whatever desired for both StartDir
  75. * and MergeTo.   Value must be 76 or more.  If not specified,
  76. * the default new length is the length of the TargetDir.  The total
  77. * length will depend on the length of the description field:
  78. * 40 for desc length gives 76, 41 gives 77, 42 -> 78, 43 -> 79,
  79. * 44 -> 80, 45 -> 81, 46 -> 82.
  80. /NewLen=      76
  81. * --------[search/replace for input catcodes]------
  82. * ReplaceCat specifies that the cat codes in StartDir are to
  83. * be replaced by others.   You can specify a pair of 3 character codes.
  84. * For example,
  85. *            /ReplaceCat=     001 UTL
  86. * means to replace cat code "001" in StartDir with "UTL"
  87. * Better yet you can specify a list following "/ReplaceCat="
  88. * by listing the pairs of codes on the lines following, terminating
  89. * the list by "END" on a line by itself.
  90. /ReplaceCat=
  91. 001 COM
  92. 002 WPE
  93. 003 DBP
  94. 004 EDU
  95. 005 BUS
  96. 006 SPR
  97. 007 PRG
  98. 008 GRF
  99. 009 UNP
  100. 010 GAM
  101. 011 MSU
  102. 012 KBU
  103. 013 FDU
  104. 014 FDU
  105. 015 PRU
  106. 016 SCU
  107. 017 BAU
  108. 018 STA
  109. 019 SPR
  110. 020 WIN
  111. 030 OSU
  112. 040 PRU
  113. 050 PPL
  114. 090 REV
  115. 095 BBS
  116. 096 BBS
  117. 097 BBS
  118. 098 UNC
  119. END
  120.