home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
TOPXP111.LZH
/
SAMPLE.CFG
next >
Wrap
Text File
|
1992-07-07
|
15KB
|
314 lines
;
;
;
;
;
;
; ____ ___ ___ ____ __
; / / / /__/ / / \/
; / /__/ / __/__ /__ /\
;
;
;
; The Maximus-Compatible Topic Extraction Program
;
; Copyright 1988, 1991 by Scott Dudley, All Rights Reserved.
;
;
;
;
;
;
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; WARNING! ;;
;; ;;
;; This configuration file is only a sample, and probably won't work on ;;
;; your system without modification. Due to the complexity of this ;;
;; file, it is suggested that you read the entire documentation file ;;
;; before trying to comprehend this sample configuration. Most of TopicX's ;;
;; advanced features are only glossed over in this file, so you'll be ;;
;; missing a LOT if you don't read the documentation. ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; The following verb tells TopicX where to put its log. The log is in
; an Max-compatible format, so you can append it to your normal
; MAX.LOG if you like. It details the message areas processed, errors,
; and (optionally) if it found specific messages.
;
;
Log Max.Log
;
;
;
; The MultiPass verb specifies that we want TopicX to start making
; multiple passes at the configuration file when the amount of message
; memory available gets lower than "X" bytes free. This usually isn't
; needed, unless you have a fairly large configuration file.
;
;MultiPass 20000
;
;
;
; The following verb tells TopicX how to handle origin lines in messages.
; `NoScan' tells TopicX not to search the origin lines of messages (the
; default), `NoPrint' tells TopicX not to print the origin lines, `None'
; tells TopicX to neither search nor print the origin lines, and `All'
; tells TopicX to both search and print the origin lines of messages.
;
Origin NoScan
;Origin NoPrint
;Origin None
;Origin All
;
;
;
; The SkipBlank verb tells TopicX to disable the output of blank lines
; to the ASCII extract files.
;
;SkipBlank
;
;
;
; The archiver verb tells TopicX which compression program to use to archive
; the ASCII extracts. Check the documentation for more details on how to
; use this command. If you want to move the extracts to the archive
; (ie. delete them after being added), then specify the "Move" option
; of your archiver.
;
Archiver LHarc A @archive@ @extract@ ; Use LHarc M to move
;Archiver PKarc A @archive@ @extract@ ; Use PKarc M to move
;Archiver PKzip -AEX @archive@ @extract@ ; Use PKzip -MEX to move
;Archiver Zoo A @archive@ @extract@ ; Use Zoo M to move
;Archiver Pak A @archive@ @extract@ ; Use Pak M to move
;Archiver DWC A @archiver@ @extract@ ; Use DWC M to move
;
;
;
; The Macro verb defines a macro that can be substituted throughout
; the entire configuration file. See the documentation for more details
; on how to use a macro.
;
Macro WD [^a-z0-9] ; Word delimiter macro for regular
Macro PvtPath F:\File\Private ; Path to extracts for SysOp viewing
Macro ExtPath F:\File\Extracts ; Path to extracts for user viewing
;
; IMPORTANT: Macro definitions _must_ be placed before the first area
; definition!
;
;
; The divider keyword specifies what to insert between messages in the
; ASCII extracts. This string can consist of any characters, and may be
; up to 79 characters long. If no divider is specified, a string of 79
; dashes is used by default.
;
Divider --------------= Brought to you compliments of the Yogi ]I[ BBS =---------------
;
;
; The local verb specifies how you want TopicX to handle locally-entered
; messages. `Import' will work on over 95% of systems running TopicX,
; which is why it is the default. For information on the other options,
; please refer to the documentation file enclosed in this archive.
;
Local Import
;Local Redate
;Local None
;
;
;
; Now, the bulk of the configuration file: Area Definitions.
;
; Due to the depth of this topic, it is only covered in the documentation
; file. However, several sample areas are provided here (with explanations),
; so you can get an idea of what a working system looks like. (If you
; haven't RTFM'd by now, you're going to be REALLY lost!)
All
LTMX "stair" @PvtPath@\gjs%y%j.Txt
; This definition will be added to the beginning of EVERY area below.
Area C:\Msg\Private "Private"
AF @PvtPath@\Pvt%y%j.Txt @PvtPath@\Pvt%y%m.Lzh
;
; This definition captures all of the messages in the local message area,
; and archives them to the file F:\File\Sysmess\Pvt<year><month>.Lzh.
EchoArea C:\Msg\Trinet "TriNet"
AF @PvtPath@\Tri%y%j.Txt @PvtPath@\Tri%y%m.Lzh
AF&~P @ExtPath@\Trin%y%m.Txt @ExtPath@\Trin%y%m.Lzh
;
; The above captures all messages in C:\Msg\Trinet to the file
; Tri<year><juldate>.Txt for the SysOp's viewing, and captures all public
; messages to the file Trin<year><month>.Txt file, for viewing by
; normal users. It archives the former into the file
; F:\File\Sysmess\Tri<year><month>.Lzh, and the latter into
; F:\File\Archives\Trin<year><month>.Lzh.
;
; The next four areas are basically the same as the above.
EchoArea C:\Msg\Trigame "Local Gaming"
AF&~P @ExtPath@\Trig%y%m.Txt @ExtPath@\Trig%y%m.Lzh
EchoArea C:\Msg\Trade "Trade"
AF @PvtPath@\Trd%y%j.Txt @PvtPath@\Trd%y%m.Lzh
AF&~P @ExtPath@\Trad%y%m.Txt @ExtPath@\Trad%y%m.Lzh
EchoArea C:\Msg\Trisop "TriSysop"
AF @PvtPath@\Trs%y%j.Txt @PvtPath@\Trs%y%m.Lzh
EchoArea C:\Msg\Topicx "TopicX"
AF @PvtPath@\Tpx%y%j.Txt @PvtPath@\Tpx%y%j.Lzh
NetArea C:\Msg\Net "NetMail"
AXSM "SysGraph" @PvtPath@\Syg%y%j.Txt @PvtPath@\Syg%y%m.Lzh
AXSM "TopicX" @PvtPath@\Tpx%y%j.Txt @PvtPath@\Tpx%y%m.Lzh
AXT "Steven Bonisteel" | "Hubert Lai" @PvtPath@\Trs%y%j.Txt @PvtPath@\Trs%y%m.Lzh
AF @PvtPath@\Net%y%j.Txt @PvtPath@\Net%y%m.Lzh
; The above captures any messages from the netmail area, and scans them
; for a few keywords. If none are found, then it extracts the message to
; the default F:\File\Private\Net<year><juldate>.Txt, and archives it
; to F:\File\Private\Net<year><month>.Lzh.
EchoArea C:\Msg\Trek "Trek"
ASM "Icarus" @ExtPath@\Icar%y%m.Txt @ExtPath@\Icar%y%m.Lzh
ASM "Contagion" @ExtPath@\Cont%y%m.Txt @ExtPath@\Cont%y%m.Lzh
ASM "Sulu" @ExtPath@\Sulu%y%m.Txt @ExtPath@\Sulu%y%m.Lzh
ASM "Dauphin" @ExtPath@\Daph%y%m.Txt @ExtPath@\Daph%y%m.Lzh
ASM "Samaritan" @ExtPath@\Samr%y%m.Txt @ExtPath@\Samr%y%m.Lzh
ASM "Chekov" @ExtPath@\Chek%y%m.Txt @ExtPath@\Chek%y%m.Lzh
ASM "Picard" @ExtPath@\Picr%y%m.Txt @ExtPath@\Picr%y%m.Lzh
ASM "Riker" @ExtPath@\Rikr%y%m.Txt @ExtPath@\Rikr%y%m.Lzh
ASM "Geordi" @ExtPath@\Geor%y%m.Txt @ExtPath@\Geor%y%m.Lzh
ASM "Troi" @ExtPath@\Troi%y%m.Txt @ExtPath@\Troi%y%m.Lzh
ASM "Uhura" @ExtPath@\Uhur%y%m.Txt @ExtPath@\Uhur%y%m.Lzh
ASM "Kirk" | "Shatner" @ExtPath@\Kirk%y%m.Txt @ExtPath@\Kirk%y%m.Lzh
ASM "Spock" | "Nimoy" @ExtPath@\Spok%y%m.Txt @ExtPath@\Spok%y%m.Lzh
AXRSM "@wd@Wes@wd@" @ExtPath@\Wes%y%j.Txt @ExtPath@\Wes%y%j.Lzh
SM "Wesley" | "Wheaton" @ExtPath@\Wes%y%j.Txt
; The handling of this area is fairly normal, except for the fact that
; it will look for the WORD "Wes", which means it won't extract messages
; containing the strings "West", "Westerly", "Northwestern", etc.
EchoArea C:\Msg\Comm "Communications"
ASM "XBBS" @ExtPath@\Xbbs%y%m.Txt @ExtPath@\Xbbs%y%m.Lzh
ASM "BiModem" @ExtPath@\Bmod%y%m.Txt @ExtPath@\Bmod%y%m.Lzh
ASM "Qmodem" @ExtPath@\Qmod%y%m.Txt @ExtPath@\Qmod%y%m.Lzh
ASM "HST" & "Dual" | "14.4k" | "14400" | "USR" @ExtPath@\Hst%y%m.Txt @ExtPath@\Hst%y%m.Lzh
ARSM "@wd@BNU@wd@" @ExtPath@\Bnu%y%m.Txt @ExtPath@\Bnu%y%m.Lzh
ARXSM "[^\.]Zip" @ExtPath@\Zip%y%m.Txt @ExtPath@\Zip%y%m.Lzh
AXSM "LHArc" @ExtPath@\Lhrc%y%m.Txt @ExtPath@\Lhrc%y%m.Lzh
; This area is also fairly normal, except it will extract messages
; containing the word "BNU". It will also extract messages containing
; the word "Zip", as long as its NOT prefixed with a period, such as
; would occur in a filename. It will also messages containing the
; text "14.4k", "14400", "USR", or both "HST" and "Dual".
EchoArea C:\Msg\Dr_Debug "Dr. Debug"
ASM "Fat" | "Cluster Size" @ExtPath@\Clus%y%m.Txt @ExtPath@\Clus%y%m.Lzh
ASM "Fractal" @ExtPath@\Frac%y%m.Txt @ExtPath@\Frac%y%m.Lzh
ASM "XBBS" @ExtPath@\Xbbs%y%m.Txt @ExtPath@\Xbbs%y%m.Lzh
ARSM "@wd@GNU@wd@" @ExtPath@\Gnu%y%m.Txt @ExtPath@\Gnu%y%m.Lzh
ASM "Minix" @ExtPath@\Minx%y%m.Txt @ExtPath@\Minx%y%m.Lzh
ASM "Free Speech" | "FCC" @ExtPath@\Fsph%y%m.Txt @ExtPath@\Fsph%y%m.Lzh
ASM "Aspartame" | "Coke" | "Mountain Dew" | "Jolt" | "Pepsi" | "Dr Pepper" @ExtPath@\Soft%y%m.Txt @ExtPath@\Soft%y%m.Lzh
ARSM "Front *Door" @ExtPath@\Fdor%y%m.Txt @ExtPath@\Fdor%y%m.Lzh
ARSM "@wd@BNU@wd@" @ExtPath@\Bnu%y%m.Txt @ExtPath@\Bnu%y%m.Lzh
ARXSM "[^\.]Zip" @ExtPath@\Zip%y%m.Txt @ExtPath@\Zip%y%m.Lzh
AXSM "LHArc" @ExtPath@\Lhrc%y%m.Txt @ExtPath@\Lhrc%y%m.Lzh
; The only thing special about this area is that it will extract mesages
; containing either "FrontDoor", "Front Door", "Front Door", etc.
;
; The rest of the configuration file is pretty mundane. There are a few
; special tricks, but it is included here as an example for your reference
; only.
EchoArea C:\Msg\C_Echo "C Echo"
RASM "@wd@GNU@wd@" @ExtPath@\Gnu%y%m.Txt @ExtPath@\Gnu%y%m.Lzh
ASM "Pointer" @ExtPath@\Poin%y%m.Txt @ExtPath@\Poin%y%m.Lzh
ASM "GIF" @ExtPath@\Gif%y%m.Txt @ExtPath@\Gif%y%m.Lzh
RASM "Assembl[ey]" @ExtPath@\CAsm%y%m.Txt @ExtPath@\CAsm%y%m.Lzh
ASM "386" @ExtPath@\C386%y%m.Txt @ExtPath@\C386%y%m.Lzh
ASM "Minix" @ExtPath@\Minx%y%m.Txt @ExtPath@\Minx%y%m.Lzh
ASM "Parameter List" @ExtPath@\Prof%y%m.Txt @ExtPath@\Prof%y%m.Lzh
ASM "Profiler" @ExtPath@\Prof%y%m.Txt @ExtPath@\Prof%y%m.Lzh
ASM "Comm" | "FOSSIL" | "Modem" @ExtPath@\Ccom%y%m.Txt @ExtPath@\Ccom%y%m.Lzh
RASM "Modula *2" @ExtPath@\Mod2%y%m.Txt @ExtPath@\Mod2%y%m.Lzh
EchoArea C:\Msg\Lotus "Lotus 1-2-3"
ASM "@@AVG" @ExtPath@\3Avg%m%y.Msg @ExtPath@\3Avg%m%y.Lzh
ASM "@@BASE" @ExtPath@\3Bas%m%y.Msg @ExtPath@\3Bas%m%y.Lzh
ASM "@@DATE" @ExtPath@\3Dat%m%y.Msg @ExtPath@\3Dat%m%y.Lzh
ASM "@@ERR" @ExtPath@\3Err%m%y.Msg @ExtPath@\3Err%m%y.Lzh
ASM "@@IRR" @ExtPath@\3Irr%m%y.Msg @ExtPath@\3Irr%m%y.Lzh
ASM "@@MOD" @ExtPath@\3Mod%m%y.Msg @ExtPath@\3Mod%m%y.Lzh
ASM "@@NOW" @ExtPath@\3Now%m%y.Msg @ExtPath@\3Now%m%y.Lzh
ASM "@@SUM" @ExtPath@\3Sum%m%y.Msg @ExtPath@\3Sum%m%y.Lzh
ASM "Agenda" @ExtPath@\3Gen%m%y.Msg @ExtPath@\3Gen%m%y.Lzh
ASM "Aseasyas" @ExtPath@\Asea%m%y.Msg @ExtPath@\Asea%m%y.Lzh
ASM "Border" @ExtPath@\3Bor%m%y.Msg @ExtPath@\3Bor%m%y.Lzh
ASM "Cmor" @ExtPath@\Cmor%m%y.Msg @ExtPath@\Cmor%m%y.Lzh
ASM "Compile 1toC" | "Compile 1-to-C" @ExtPath@\3Cic%m%y.Msg @ExtPath@\3Cic%m%y.Lzh
ASM "Cumulative" @ExtPath@\Lcum%m%y.Msg @ExtPath@\Lcum%m%y.Lzh
ASM "Excel" @ExtPath@\Excl%m%y.Msg @ExtPath@\Excl%m%y.Lzh
ASM "Graphing" @ExtPath@\3Gra%m%y.Msg @ExtPath@\3Gra%m%y.Lzh
ASM "Graphwriter" @ExtPath@\3Gr2%m%y.Msg @ExtPath@\3Gr2%m%y.Lzh
ASM "HAL" @ExtPath@\3Hal%m%y.Msg @ExtPath@\3Hal%m%y.Lzh
ASM "Jaguar" @ExtPath@\3Jag%m%y.Msg @ExtPath@\3Jag%m%y.Lzh
ASM "Laser" @ExtPath@\3Las%m%y.Msg @ExtPath@\3Las%m%y.Lzh
ASM "Logical Functions" @ExtPath@\3Log%m%y.Msg @ExtPath@\3Log%m%y.Lzh
ASM "Look and Link" @ExtPath@\3Lal%m%y.Msg @ExtPath@\3Lal%m%y.Lzh
ASM "Lucid" @ExtPath@\Lu3D%m%y.Msg @ExtPath@\Lu3D%m%y.Lzh
ASM "Macro" @ExtPath@\3Mac%m%y.Msg @ExtPath@\3Mac%m%y.Lzh
ASM "Mice" | "Mouse" @ExtPath@\Lmce%m%y.Msg @ExtPath@\Lmce%m%y.Lzh
ASM "Parse" @ExtPath@\3Par%m%y.Msg @ExtPath@\3Par%m%y.Lzh
ASM "Password" @ExtPath@\Lpas%m%y.Msg @ExtPath@\Lpas%m%y.Lzh
ASM "Printer" | "Printing" @ExtPath@\3Prn%m%y.Msg @ExtPath@\3Prn%m%y.Lzh
ASM "Quattro" @ExtPath@\Quat%m%y.Msg @ExtPath@\Quat%m%y.Lzh
ASM "SCO Professional" @ExtPath@\Scop%m%y.Msg @ExtPath@\Scop%m%y.Lzh
ASM "Stata" @ExtPath@\3Sta%m%y.Msg @ExtPath@\3Sta%m%y.Lzh
ASM "Status Line" @ExtPath@\Lsta%m%y.Msg @ExtPath@\Lsta%m%y.Lzh
ASM "SuperCalc" @ExtPath@\Sc5_%m%y.Msg @ExtPath@\Sc5_%m%y.Lzh
ASM "Symphony" @ExtPath@\3Sym%m%y.Msg @ExtPath@\3Sym%m%y.Lzh
ASM "Value Pack" @ExtPath@\3Val%m%y.Msg @ExtPath@\3Val%m%y.Lzh
; The only thing really worth noting in this area is the use of the macro
; character in a search expression. To search for an actual '@', you
; must use two '@' signs in a row.
EchoArea $c:\msg\muffin "Maximus Support"
XLTM "topicx" @ExtPath@\tpx%y%j.txt @ExtPath@\topx%m%y
LFD nul
; This area will save all the messages with "topicx" in them and delete FROM
; THE MESSAGE AREA any messages that don't have "topicx" in them. Three things
; to note here, the first is the '$' infront of the area filename, this tells
; TOPICX it is a SQUISH format area. The second point is the output file of
; 'nul', which means the messages WON'T be save anywhere. The third thing is
; the 'X' flag which means that once a message has been "selected" by this
; search line, no other lines will be used for selection, therefor the LFD
; won't be "executed" when the XLTM line is...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; End of Sample TopicX v1.00 Configuration File ;;
;; ;;
;; Deleting all of the comment lines in this file will allow TopicX to ;;
;; run faster. ;;
;; ;;
;; DID YOU RTFM? ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;