home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / FMSFMT10.ZIP / FFALPHA.CFG < prev    next >
Text File  |  1991-11-24  |  5KB  |  123 lines

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