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

  1. ***********************************************
  2. * Configuration file for FMSFMT, version 1.0  *
  3. ***********************************************
  4. * Example where converting a single merge directory sorted
  5. *   alphabetically into an FMS directory
  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. * --------[display on screen as running doc]---------------
  17. /Title=  On this Run, converting alphabetic non-FMS
  18. /Title=     into an FMS directory
  19. * --------[what gets reformatted]----------------
  20. * StartDir is the name of the directory to merge or reformat
  21. /StartDir=      CDALPHA.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. * --------[FMS dir to merge into]------------------
  56. * MergeTo is the name of the FMS file to merge entries into.
  57. * If you merely want to reformat StartDir without merging it into
  58. * another file, comment out this line.
  59. */MergeTo=        CDALPHA.DIR
  60. * --------[directory to create]--------------------
  61. * NewDir is the name of the directory to create (reformated/merged)
  62. /NewDir=         CDALPHA.CNV
  63. * --------[header to add to new directory]-----------------
  64. * Header is a line added at the top of the MergeTo file.
  65. * Useful when converting a non-FMS dir, so will be treated as FMS
  66. /Header=         \FMS NOSORT
  67. * --------[what to set catcode to]-----------------
  68. * AddCat is the category code to put in for all the entires in StartDir.
  69. * Use this if StartDir has no category codes or you wish them all
  70. * to be replaced.  If the StartDir is not FMS, the default is to
  71. * add "UNC" as the category code.
  72. /AddCat=         UNC
  73. * --------[what to set date to]--------------------
  74. * AddDate is the date code to put in for all the entires in StartDir.
  75. * Use this if StartDir has no dates or you wish them all
  76. * to be replaced.  You can specify "TODAY" if you wish the current
  77. * date to be used.
  78. */AddDate=         TODAY
  79. * --------[length of output]--------------------
  80. * NewLen is the total length of the output.   This way you can change
  81. * the length of the output to whatever desired for both StartDir
  82. * and MergeTo.   Value must be 76 or more.  If not specified,
  83. * the default new length is the length of the TargetDir.  The total
  84. * length will depend on the length of the description field:
  85. * 40 for desc length gives 76, 41 gives 77, 42 -> 78, 43 -> 79,
  86. * 44 -> 80, 45 -> 81, 46 -> 82.
  87. /NewLen=      76
  88. * --------[search/replace for input catcodes]------
  89. * ReplaceCat specifies that the cat codes in StartDir are to
  90. * be replaced by others.   You can specify a pair of 3 character codes.
  91. * For example,
  92. *            /ReplaceCat=     001 UTL
  93. * means to replace cat code "001" in StartDir with "UTL"
  94. * Better yet you can specify a list following "/ReplaceCat="
  95. * by listing the pairs of codes on the lines following, terminating
  96. * the list by "END" on a line by itself.
  97.