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

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