home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / TOPXP111.LZH / SAMPLE.CFG next >
Text File  |  1992-07-07  |  15KB  |  314 lines

  1. ;
  2. ;
  3. ;
  4. ;
  5. ;
  6. ;
  7. ;                          ____  ___  ___ ____  __
  8. ;                           /   /  / /__/  /   /   \/
  9. ;                          /   /__/ /   __/__ /__  /\
  10. ;
  11. ;
  12. ;
  13. ;                The Maximus-Compatible Topic Extraction Program
  14. ;
  15. ;          Copyright 1988, 1991 by Scott Dudley, All Rights Reserved.
  16. ;
  17. ;
  18. ;
  19. ;
  20. ;
  21. ;
  22. ;
  23. ;
  24.  
  25.  
  26. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  27. ;;                                                                          ;;
  28. ;;                               WARNING!                                   ;;
  29. ;;                                                                          ;;
  30. ;; This configuration file is only a sample, and probably won't work on     ;;
  31. ;; your system without modification.  Due to the complexity of this         ;;
  32. ;; file, it is suggested that you read the entire documentation file        ;;
  33. ;; before trying to comprehend this sample configuration.  Most of TopicX's ;;
  34. ;; advanced features are only glossed over in this file, so you'll be       ;;
  35. ;; missing a LOT if you don't read the documentation.                       ;;
  36. ;;                                                                          ;;
  37. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  38.  
  39.  
  40. ; The following verb tells TopicX where to put its log.  The log is in
  41. ; an Max-compatible format, so you can append it to your normal
  42. ; MAX.LOG if you like.  It details the message areas processed, errors,
  43. ; and (optionally) if it found specific messages.
  44. ;
  45. ;
  46. Log Max.Log
  47. ;
  48. ;
  49. ;
  50. ; The MultiPass verb specifies that we want TopicX to start making
  51. ; multiple passes at the configuration file when the amount of message
  52. ; memory available gets lower than "X" bytes free.  This usually isn't
  53. ; needed, unless you have a fairly large configuration file.
  54. ;
  55. ;MultiPass 20000
  56. ;
  57. ;
  58. ;
  59. ; The following verb tells TopicX how to handle origin lines in messages.
  60. ; `NoScan' tells TopicX not to search the origin lines of messages (the
  61. ; default), `NoPrint' tells TopicX not to print the origin lines, `None'
  62. ; tells TopicX to neither search nor print the origin lines, and `All'
  63. ; tells TopicX to both search and print the origin lines of messages.
  64. ;
  65. Origin NoScan
  66. ;Origin NoPrint
  67. ;Origin None
  68. ;Origin All
  69. ;
  70. ;
  71. ;
  72. ; The SkipBlank verb tells TopicX to disable the output of blank lines
  73. ; to the ASCII extract files.
  74. ;
  75. ;SkipBlank
  76. ;
  77. ;
  78. ;
  79. ; The archiver verb tells TopicX which compression program to use to archive
  80. ; the ASCII extracts.  Check the documentation for more details on how to
  81. ; use this command.  If you want to move the extracts to the archive
  82. ; (ie. delete them after being added), then specify the "Move" option
  83. ; of your archiver.
  84. ;
  85. Archiver LHarc A @archive@ @extract@            ; Use LHarc M to move
  86. ;Archiver PKarc A @archive@ @extract@           ; Use PKarc M to move
  87. ;Archiver PKzip -AEX @archive@ @extract@        ; Use PKzip -MEX to move
  88. ;Archiver Zoo A @archive@ @extract@             ; Use Zoo M to move
  89. ;Archiver Pak A @archive@ @extract@             ; Use Pak M to move
  90. ;Archiver DWC A @archiver@ @extract@            ; Use DWC M to move
  91. ;
  92. ;
  93. ;
  94. ; The Macro verb defines a macro that can be substituted throughout
  95. ; the entire configuration file.  See the documentation for more details
  96. ; on how to use a macro.
  97. ;
  98. Macro WD [^a-z0-9]                      ; Word delimiter macro for regular
  99. Macro PvtPath F:\File\Private           ; Path to extracts for SysOp viewing
  100. Macro ExtPath F:\File\Extracts          ; Path to extracts for user viewing
  101. ;
  102. ; IMPORTANT:  Macro definitions _must_ be placed before the first area
  103. ; definition!
  104. ;
  105. ;
  106. ; The divider keyword specifies what to insert between messages in the
  107. ; ASCII extracts.  This string can consist of any characters, and may be
  108. ; up to 79 characters long.  If no divider is specified, a string of 79
  109. ; dashes is used by default.
  110. ;
  111. Divider --------------= Brought to you compliments of the Yogi ]I[ BBS =---------------
  112. ;
  113. ;
  114. ; The local verb specifies how you want TopicX to handle locally-entered
  115. ; messages.  `Import' will work on over 95% of systems running TopicX,
  116. ; which is why it is the default.  For information on the other options,
  117. ; please refer to the documentation file enclosed in this archive.
  118. ;
  119. Local Import
  120. ;Local Redate
  121. ;Local None
  122. ;
  123. ;
  124. ;
  125. ; Now, the bulk of the configuration file:  Area Definitions.
  126. ;
  127. ; Due to the depth of this topic, it is only covered in the documentation
  128. ; file.  However, several sample areas are provided here (with explanations),
  129. ; so you can get an idea of what a working system looks like.  (If you
  130. ; haven't RTFM'd by now, you're going to be REALLY lost!)
  131.  
  132. All
  133.        LTMX "stair"                    @PvtPath@\gjs%y%j.Txt
  134.  
  135. ; This definition will be added to the beginning of EVERY area below.
  136.  
  137.  
  138. Area    C:\Msg\Private "Private"
  139.         AF @PvtPath@\Pvt%y%j.Txt @PvtPath@\Pvt%y%m.Lzh
  140. ;
  141. ; This definition captures all of the messages in the local message area,
  142. ; and archives them to the file F:\File\Sysmess\Pvt<year><month>.Lzh.
  143.  
  144. EchoArea C:\Msg\Trinet "TriNet"
  145.          AF @PvtPath@\Tri%y%j.Txt @PvtPath@\Tri%y%m.Lzh
  146.          AF&~P @ExtPath@\Trin%y%m.Txt @ExtPath@\Trin%y%m.Lzh
  147. ;
  148. ; The above captures all messages in C:\Msg\Trinet to the file
  149. ; Tri<year><juldate>.Txt for the SysOp's viewing, and captures all public
  150. ; messages to the file Trin<year><month>.Txt file, for viewing by
  151. ; normal users.  It archives the former into the file
  152. ; F:\File\Sysmess\Tri<year><month>.Lzh, and the latter into
  153. ; F:\File\Archives\Trin<year><month>.Lzh.
  154. ;
  155. ; The next four areas are basically the same as the above.
  156.  
  157. EchoArea C:\Msg\Trigame "Local Gaming"
  158.          AF&~P @ExtPath@\Trig%y%m.Txt @ExtPath@\Trig%y%m.Lzh
  159.  
  160. EchoArea C:\Msg\Trade "Trade"
  161.          AF @PvtPath@\Trd%y%j.Txt @PvtPath@\Trd%y%m.Lzh
  162.          AF&~P @ExtPath@\Trad%y%m.Txt @ExtPath@\Trad%y%m.Lzh
  163.  
  164. EchoArea C:\Msg\Trisop "TriSysop"
  165.          AF @PvtPath@\Trs%y%j.Txt @PvtPath@\Trs%y%m.Lzh
  166.  
  167. EchoArea C:\Msg\Topicx "TopicX"
  168.          AF @PvtPath@\Tpx%y%j.Txt @PvtPath@\Tpx%y%j.Lzh
  169.  
  170. NetArea C:\Msg\Net "NetMail"
  171.       AXSM "SysGraph" @PvtPath@\Syg%y%j.Txt @PvtPath@\Syg%y%m.Lzh
  172.       AXSM "TopicX" @PvtPath@\Tpx%y%j.Txt @PvtPath@\Tpx%y%m.Lzh
  173.        AXT "Steven Bonisteel" | "Hubert Lai" @PvtPath@\Trs%y%j.Txt @PvtPath@\Trs%y%m.Lzh
  174.         AF @PvtPath@\Net%y%j.Txt @PvtPath@\Net%y%m.Lzh
  175.  
  176. ; The above captures any messages from the netmail area, and scans them
  177. ; for a few keywords.  If none are found, then it extracts the message to
  178. ; the default F:\File\Private\Net<year><juldate>.Txt, and archives it
  179. ; to F:\File\Private\Net<year><month>.Lzh.
  180.  
  181. EchoArea C:\Msg\Trek "Trek"
  182.         ASM "Icarus" @ExtPath@\Icar%y%m.Txt @ExtPath@\Icar%y%m.Lzh
  183.         ASM "Contagion" @ExtPath@\Cont%y%m.Txt @ExtPath@\Cont%y%m.Lzh
  184.         ASM "Sulu" @ExtPath@\Sulu%y%m.Txt @ExtPath@\Sulu%y%m.Lzh
  185.         ASM "Dauphin" @ExtPath@\Daph%y%m.Txt @ExtPath@\Daph%y%m.Lzh
  186.         ASM "Samaritan" @ExtPath@\Samr%y%m.Txt @ExtPath@\Samr%y%m.Lzh
  187.         ASM "Chekov" @ExtPath@\Chek%y%m.Txt @ExtPath@\Chek%y%m.Lzh
  188.         ASM "Picard" @ExtPath@\Picr%y%m.Txt @ExtPath@\Picr%y%m.Lzh
  189.         ASM "Riker" @ExtPath@\Rikr%y%m.Txt @ExtPath@\Rikr%y%m.Lzh
  190.         ASM "Geordi" @ExtPath@\Geor%y%m.Txt @ExtPath@\Geor%y%m.Lzh
  191.         ASM "Troi" @ExtPath@\Troi%y%m.Txt @ExtPath@\Troi%y%m.Lzh
  192.         ASM "Uhura" @ExtPath@\Uhur%y%m.Txt @ExtPath@\Uhur%y%m.Lzh
  193.         ASM "Kirk" | "Shatner" @ExtPath@\Kirk%y%m.Txt @ExtPath@\Kirk%y%m.Lzh
  194.         ASM "Spock" | "Nimoy" @ExtPath@\Spok%y%m.Txt @ExtPath@\Spok%y%m.Lzh
  195.       AXRSM "@wd@Wes@wd@" @ExtPath@\Wes%y%j.Txt @ExtPath@\Wes%y%j.Lzh
  196.          SM "Wesley" | "Wheaton" @ExtPath@\Wes%y%j.Txt
  197.  
  198. ; The handling of this area is fairly normal, except for the fact that
  199. ; it will look for the WORD "Wes", which means it won't extract messages
  200. ; containing the strings "West", "Westerly", "Northwestern", etc.
  201.  
  202. EchoArea C:\Msg\Comm "Communications"
  203.         ASM "XBBS" @ExtPath@\Xbbs%y%m.Txt @ExtPath@\Xbbs%y%m.Lzh
  204.         ASM "BiModem" @ExtPath@\Bmod%y%m.Txt @ExtPath@\Bmod%y%m.Lzh
  205.         ASM "Qmodem" @ExtPath@\Qmod%y%m.Txt @ExtPath@\Qmod%y%m.Lzh
  206.         ASM "HST" & "Dual" | "14.4k" | "14400" | "USR" @ExtPath@\Hst%y%m.Txt @ExtPath@\Hst%y%m.Lzh
  207.        ARSM "@wd@BNU@wd@" @ExtPath@\Bnu%y%m.Txt @ExtPath@\Bnu%y%m.Lzh
  208.       ARXSM "[^\.]Zip" @ExtPath@\Zip%y%m.Txt @ExtPath@\Zip%y%m.Lzh
  209.        AXSM "LHArc" @ExtPath@\Lhrc%y%m.Txt @ExtPath@\Lhrc%y%m.Lzh
  210.  
  211. ; This area is also fairly normal, except it will extract messages
  212. ; containing the word "BNU".  It will also extract messages containing
  213. ; the word "Zip", as long as its NOT prefixed with a period, such as
  214. ; would occur in a filename.  It will also messages containing the
  215. ; text "14.4k", "14400", "USR", or both "HST" and "Dual".
  216.  
  217. EchoArea C:\Msg\Dr_Debug "Dr. Debug"
  218.          ASM "Fat" | "Cluster Size" @ExtPath@\Clus%y%m.Txt @ExtPath@\Clus%y%m.Lzh
  219.          ASM "Fractal" @ExtPath@\Frac%y%m.Txt @ExtPath@\Frac%y%m.Lzh
  220.          ASM "XBBS" @ExtPath@\Xbbs%y%m.Txt @ExtPath@\Xbbs%y%m.Lzh
  221.         ARSM "@wd@GNU@wd@" @ExtPath@\Gnu%y%m.Txt @ExtPath@\Gnu%y%m.Lzh
  222.          ASM "Minix" @ExtPath@\Minx%y%m.Txt @ExtPath@\Minx%y%m.Lzh
  223.          ASM "Free Speech" | "FCC" @ExtPath@\Fsph%y%m.Txt @ExtPath@\Fsph%y%m.Lzh
  224.          ASM "Aspartame" | "Coke" | "Mountain Dew" | "Jolt" | "Pepsi" | "Dr Pepper" @ExtPath@\Soft%y%m.Txt @ExtPath@\Soft%y%m.Lzh
  225.         ARSM "Front *Door" @ExtPath@\Fdor%y%m.Txt @ExtPath@\Fdor%y%m.Lzh
  226.         ARSM "@wd@BNU@wd@" @ExtPath@\Bnu%y%m.Txt @ExtPath@\Bnu%y%m.Lzh
  227.        ARXSM "[^\.]Zip" @ExtPath@\Zip%y%m.Txt @ExtPath@\Zip%y%m.Lzh
  228.         AXSM "LHArc" @ExtPath@\Lhrc%y%m.Txt @ExtPath@\Lhrc%y%m.Lzh
  229.  
  230. ; The only thing special about this area is that it will extract mesages
  231. ; containing either "FrontDoor", "Front Door", "Front  Door", etc.
  232. ;
  233. ; The rest of the configuration file is pretty mundane.  There are a few
  234. ; special tricks, but it is included here as an example for your reference
  235. ; only.
  236.  
  237. EchoArea C:\Msg\C_Echo "C Echo"
  238.         RASM "@wd@GNU@wd@" @ExtPath@\Gnu%y%m.Txt @ExtPath@\Gnu%y%m.Lzh
  239.          ASM "Pointer" @ExtPath@\Poin%y%m.Txt @ExtPath@\Poin%y%m.Lzh
  240.          ASM "GIF" @ExtPath@\Gif%y%m.Txt @ExtPath@\Gif%y%m.Lzh
  241.         RASM "Assembl[ey]" @ExtPath@\CAsm%y%m.Txt @ExtPath@\CAsm%y%m.Lzh
  242.          ASM "386" @ExtPath@\C386%y%m.Txt @ExtPath@\C386%y%m.Lzh
  243.          ASM "Minix" @ExtPath@\Minx%y%m.Txt @ExtPath@\Minx%y%m.Lzh
  244.          ASM "Parameter List" @ExtPath@\Prof%y%m.Txt @ExtPath@\Prof%y%m.Lzh
  245.          ASM "Profiler" @ExtPath@\Prof%y%m.Txt @ExtPath@\Prof%y%m.Lzh
  246.          ASM "Comm" | "FOSSIL" | "Modem" @ExtPath@\Ccom%y%m.Txt @ExtPath@\Ccom%y%m.Lzh
  247.         RASM "Modula *2" @ExtPath@\Mod2%y%m.Txt @ExtPath@\Mod2%y%m.Lzh
  248.  
  249. EchoArea C:\Msg\Lotus "Lotus 1-2-3"
  250.        ASM "@@AVG" @ExtPath@\3Avg%m%y.Msg @ExtPath@\3Avg%m%y.Lzh
  251.        ASM "@@BASE" @ExtPath@\3Bas%m%y.Msg @ExtPath@\3Bas%m%y.Lzh
  252.        ASM "@@DATE" @ExtPath@\3Dat%m%y.Msg @ExtPath@\3Dat%m%y.Lzh
  253.        ASM "@@ERR" @ExtPath@\3Err%m%y.Msg @ExtPath@\3Err%m%y.Lzh
  254.        ASM "@@IRR" @ExtPath@\3Irr%m%y.Msg @ExtPath@\3Irr%m%y.Lzh
  255.        ASM "@@MOD" @ExtPath@\3Mod%m%y.Msg @ExtPath@\3Mod%m%y.Lzh
  256.        ASM "@@NOW" @ExtPath@\3Now%m%y.Msg @ExtPath@\3Now%m%y.Lzh
  257.        ASM "@@SUM" @ExtPath@\3Sum%m%y.Msg @ExtPath@\3Sum%m%y.Lzh
  258.        ASM "Agenda" @ExtPath@\3Gen%m%y.Msg @ExtPath@\3Gen%m%y.Lzh
  259.        ASM "Aseasyas" @ExtPath@\Asea%m%y.Msg @ExtPath@\Asea%m%y.Lzh
  260.        ASM "Border" @ExtPath@\3Bor%m%y.Msg @ExtPath@\3Bor%m%y.Lzh
  261.        ASM "Cmor" @ExtPath@\Cmor%m%y.Msg @ExtPath@\Cmor%m%y.Lzh
  262.        ASM "Compile 1toC" | "Compile 1-to-C" @ExtPath@\3Cic%m%y.Msg @ExtPath@\3Cic%m%y.Lzh
  263.        ASM "Cumulative" @ExtPath@\Lcum%m%y.Msg @ExtPath@\Lcum%m%y.Lzh
  264.        ASM "Excel" @ExtPath@\Excl%m%y.Msg @ExtPath@\Excl%m%y.Lzh
  265.        ASM "Graphing" @ExtPath@\3Gra%m%y.Msg @ExtPath@\3Gra%m%y.Lzh
  266.        ASM "Graphwriter" @ExtPath@\3Gr2%m%y.Msg @ExtPath@\3Gr2%m%y.Lzh
  267.        ASM "HAL" @ExtPath@\3Hal%m%y.Msg @ExtPath@\3Hal%m%y.Lzh
  268.        ASM "Jaguar" @ExtPath@\3Jag%m%y.Msg @ExtPath@\3Jag%m%y.Lzh
  269.        ASM "Laser" @ExtPath@\3Las%m%y.Msg @ExtPath@\3Las%m%y.Lzh
  270.        ASM "Logical Functions" @ExtPath@\3Log%m%y.Msg @ExtPath@\3Log%m%y.Lzh
  271.        ASM "Look and Link" @ExtPath@\3Lal%m%y.Msg @ExtPath@\3Lal%m%y.Lzh
  272.        ASM "Lucid" @ExtPath@\Lu3D%m%y.Msg @ExtPath@\Lu3D%m%y.Lzh
  273.        ASM "Macro" @ExtPath@\3Mac%m%y.Msg @ExtPath@\3Mac%m%y.Lzh
  274.        ASM "Mice" | "Mouse" @ExtPath@\Lmce%m%y.Msg @ExtPath@\Lmce%m%y.Lzh
  275.        ASM "Parse" @ExtPath@\3Par%m%y.Msg @ExtPath@\3Par%m%y.Lzh
  276.        ASM "Password" @ExtPath@\Lpas%m%y.Msg @ExtPath@\Lpas%m%y.Lzh
  277.        ASM "Printer" | "Printing" @ExtPath@\3Prn%m%y.Msg @ExtPath@\3Prn%m%y.Lzh
  278.        ASM "Quattro" @ExtPath@\Quat%m%y.Msg @ExtPath@\Quat%m%y.Lzh
  279.        ASM "SCO Professional" @ExtPath@\Scop%m%y.Msg @ExtPath@\Scop%m%y.Lzh
  280.        ASM "Stata" @ExtPath@\3Sta%m%y.Msg @ExtPath@\3Sta%m%y.Lzh
  281.        ASM "Status Line" @ExtPath@\Lsta%m%y.Msg @ExtPath@\Lsta%m%y.Lzh
  282.        ASM "SuperCalc" @ExtPath@\Sc5_%m%y.Msg @ExtPath@\Sc5_%m%y.Lzh
  283.        ASM "Symphony" @ExtPath@\3Sym%m%y.Msg @ExtPath@\3Sym%m%y.Lzh
  284.        ASM "Value Pack" @ExtPath@\3Val%m%y.Msg @ExtPath@\3Val%m%y.Lzh
  285.  
  286. ; The only thing really worth noting in this area is the use of the macro
  287. ; character in a search expression.  To search for an actual '@', you
  288. ; must use two '@' signs in a row.
  289.  
  290.  
  291. EchoArea $c:\msg\muffin "Maximus Support"
  292.       XLTM "topicx" @ExtPath@\tpx%y%j.txt @ExtPath@\topx%m%y
  293.        LFD         nul
  294.  
  295. ; This area will save all the messages with "topicx" in them and delete FROM
  296. ; THE MESSAGE AREA any messages that don't have "topicx" in them. Three things
  297. ; to note here, the first is the '$' infront of the area filename, this tells
  298. ; TOPICX it is a SQUISH format area. The second point is the output file of
  299. ; 'nul', which means the messages WON'T be save anywhere. The third thing is
  300. ; the 'X' flag which means that once a message has been "selected" by this
  301. ; search line, no other lines will be used for selection, therefor the LFD
  302. ; won't be "executed" when the XLTM line is...
  303.  
  304. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  305. ;;                                                                          ;;
  306. ;;             End of Sample TopicX v1.00 Configuration File                ;;
  307. ;;                                                                          ;;
  308. ;; Deleting all of the comment lines in this file will allow TopicX to      ;;
  309. ;; run faster.                                                              ;;
  310. ;;                                                                          ;;
  311. ;;                               DID YOU RTFM?                              ;;
  312. ;;                                                                          ;;
  313. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  314.