home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / MISC / GHOST230.ZIP / SAMPLE.CFG < prev    next >
Encoding:
Text File  |  1990-11-01  |  35.8 KB  |  929 lines

  1. % +-------------------------------------------------------------------------+
  2. % |                        configuration file for Ghostwriter 2.2 and newer |
  3. % +-------------------------------------------------------------------------+
  4. %
  5. %   This file will be processed sequentially. Lines with ; or % in column 1
  6. %   are treated as comment lines. Everything following the ; or % character
  7. %   also is treated as comment and ignored.
  8. %
  9. %   Without exception all keywords and user names are case insensitive.
  10. %   User names always will be converted to "Firstname Lastname", no matter
  11. %   if "firstname lastname", "FIRSTNAME LASTNAME", "fIRSTNAME LASTname"
  12. %   or any other combination was entered.
  13. %   Message text lines will always be used as found in this file.
  14. %
  15. %   Path names need not to end with a backslash \ character.
  16. %   If a drive specification in a path name is missing
  17. %   the currently logged drive will be used by default.
  18. %
  19. %   DOS environment variables may be used in any configuration or
  20. %   message text line of this file. Use this %method% to write strings
  21. %   which should be taken from the DOS environment. If the variable
  22. %   %junk% is not set, %junk% will be kept without changes.
  23. %
  24. %   To include for example the strings %temp% or $year in the message text
  25. %   use %%temp% and $$year. This makes %%temp% appear as %temp% and $$year
  26. %   appear as $year.
  27. %
  28. %   To use the string %Subject% as tag line/message subject
  29. %   take care to write %Subject% *not* starting at column 1
  30. %   in this file.
  31. %
  32. %   Currently there are five "built-in" tags which may not be used
  33. %   as tags in this configuration file:
  34. %
  35. %   Hello!  is used to do a check if all required parameters
  36. %           are found and identified correctly by the program.
  37. %           This only can be done if Binkley.Cfg, Fd.Sys or
  38. %           Config.Ra is in the same subdirectory as Ghost.Exe
  39. %           or can be located by the BINKLEY, FD or RA environment
  40. %           variables respectively.
  41. %
  42. %   History creates a detailed overview for the outbound and inbound
  43. %           mail history. This tag is available *only* in FrontDoor
  44. %           environments; make sure Inbound.His and Outbound.His
  45. %           are located in FrontDoor's "system" directory.
  46. %
  47. %   Report  is used to do a check for new echomail messages
  48. %           addressed to the sysop. A table containing the
  49. %           numbers and names of the installed echomail boards,
  50. %           eventually unreceived messages and the total number
  51. %           of messages in each board will be sent as message
  52. %           to the sysop in the netmail folder.
  53. %           If "-dFilename.Ext" or "-dDevice" is included on
  54. %           the command line this table will be written to
  55. %           "Filename.Ext" or sent to "Device" instead of
  56. %           being written to a netmail message.
  57. %
  58. %           CAUTION: This is only available in a QuickBBS
  59. %                    echomail message base environment.
  60. %                    Also a TosScan-like Areas.Bbs file
  61. %                    must be present in the same subdirectory
  62. %                    as the other Msg*.Bbs QuickBBS files.
  63. %                    This Areas.Bbs file is not required in
  64. %                    FrontDoor environments; the data will
  65. %                    be taken from Folder.Sys in FrontDoor's
  66. %                    system directory.
  67. %
  68. %   Server  is used to invoke the server function: the netmail
  69. %           directory will be scanned for messages addressed to
  70. %           the user name given on the "#define serveruser"
  71. %           matching the "Subject:" field with the password
  72. %           given on "#define serverpassword".
  73. %           If messages to this user are found they will be
  74. %           saved as batch files and executed immediately.
  75. %
  76. %   Trigger invokes the "trigger" function: the netmail directory
  77. %           is searched for messages which "Subject:" fields match
  78. %           the subject for trigger items (see below: #define trigger).
  79. %           If any match is found the DOS command on the "command"
  80. %           line for the matching trigger "subject" will be executed.
  81. %           Afterwards the "received" flag for this message is set.
  82. %
  83. % +-------------------------------------------------------------------------+
  84. % |                                   first: miscellaneous general settings |
  85. % +-------------------------------------------------------------------------+
  86.   #define serveruser     Home Server       % user name for server requests  |
  87.   #define serverpassword Gitanes           % password for server requests   |
  88. % #define messagebase    Fido              % use QBBS for QuickBBS echomail |
  89. % #define messagebase    QBBS              % use Fido for *.MSG echomail    |
  90. % #define QBBSpath       c:\binkley        % use *only* with BinkleyTerm    |
  91. % #define magicoffset    2                 % overrides processday Friday    |
  92. % #define packer         zip               % for the "Z" instead of "A"     |
  93.   #define statuslog      C:\Fd\Fd.Log      % second log file option         |
  94. % #define forcedINTL                       % force ^aINTL kludge in netmail |
  95. % #define zonegate                         % no Opus like zone remapping    |
  96.   #define endtag         #end              % optional end-of-tag mark       |
  97. %                                                                           |
  98. %                          If "#define endtag <endstring>" is enabled       |
  99. %                          the first occurance of <endstring>               |
  100. %                          in the message text is interpreted               |
  101. %                          as end-of-text mark.                             |
  102. %                                                                           |
  103. %                          The next 19 non-comment lines will be treated    |
  104. %                          as the names for the seven days of the week      |
  105. %                          and the names for the twelve months of the year. |
  106. %                                                                           |
  107. %                          These strings affect the appearance of the       |
  108. %                          $dname, $mname and $bouncedate variables         |
  109. %                          if used in the message text.                     |
  110. %                                                                           |
  111. % #define country          % uses the next 19 non-comment lines             |
  112. % --------------------------------------------------------------------------+
  113. %
  114. % Sonntag
  115. % Montag
  116. % Dienstag
  117. % Mittwoch
  118. % Donnerstag
  119. % Freitag
  120. % Samstag
  121. %
  122. % Januar
  123. % Februar
  124. % März
  125. % April
  126. % Mai
  127. % Juni
  128. % Juli
  129. % August
  130. % September
  131. % Oktober
  132. % November
  133. % Dezember
  134. %
  135. % +-------------------------------------------------------------------------+
  136. % |                                               now the "trigger" section |
  137. % +-------------------------------------------------------------------------+
  138. %
  139. %       The format for this section:
  140. %
  141. %       #define trigger <-- indicates "start of trigger section" *REQUIRED*
  142. %
  143. %       subject <message subject>
  144. %               This is the subject which must match with a non-received
  145. %               message in the netmail directory.
  146. %
  147. %       from    [firstname lastname]
  148. %               "Firstname lastname" is optional. However, a "from"
  149. %               line must be the next non-comment line after "subject".
  150. %               If "firstname lastname" are not empty strings
  151. %               <message subject> and <firstname lastname> must match
  152. %               to invoke the <DOS command>.
  153. %               Otherwise only <message subject> must match.
  154. %
  155. %       command <DOS command>
  156. %               Any valid DOS command or batch file name.
  157. %               Use "first command;next command;next command;...;"
  158. %               to execute more than one DOS command or batch file.
  159. %               The last character of a multiple command line
  160. %               *must* be a semicolon.
  161. %
  162. %       ... [more "subject", "from" and "command" lines] ...
  163. %
  164. %       #end            <-- indicates "end of trigger section"   *REQUIRED*
  165. %
  166. % #define trigger
  167. %
  168. % subject Hello and thank you!
  169. % from
  170. % command @echo off;cls;echo A message from a new user was found!;pause;
  171. %
  172. % subject Fnews
  173. % from    Felix Kasza
  174. % command copy c:\fd\inbound\$fidonews c:\files\vol7;del c:\fd\inbound\$fidonews;
  175. %
  176. % subject Yet another subject
  177. % from    another user
  178. % command another.batch
  179. %
  180. % #end
  181. %
  182. % +-------------------------------------------------------------------------+
  183. % |          next: parameters used in connection with the mail check option |
  184. % +-------------------------------------------------------------------------+
  185.   #define bouncelimit 4    % day limit for pending mail                     |
  186. % #define cosysop          % forward unreceived mail to the group "cosysop" |
  187.   #define purge            % delete messages from or to the "purge" group   |
  188. %                          % the "purge" group never will get replies too!  |
  189. % --------------------------------------------------------------------------+
  190.   #define group purge
  191. % ---------------------------------------------------------------------------
  192. %
  193.   Avatar
  194.   Captain Moonrock
  195.   Erwin Uchatzi
  196.   Isaac Aziza
  197.   Karl Jungwirth
  198.   Odo Doeschl
  199.   Skoal Bandit
  200.   Tracy Milburn
  201.   Wingman
  202. %
  203. % ---------------------------------------------------------------------------
  204. % #define group cosysop
  205. % ---------------------------------------------------------------------------
  206. %
  207. % Point Duck                310/11.1   private  kill
  208. % Bilbo Beutlin             310/3.14   private  kill
  209. %
  210. % ---------------------------------------------------------------------------
  211.   #define group alert
  212. % ---------------------------------------------------------------------------
  213. %
  214.   Alexander Holy            310/90
  215.   Felix Kasza               310/11
  216.   Johannes Hoerhan          310/10
  217.   Werner Schlagnitweit      310/3
  218. %
  219. % ---------------------------------------------------------------------------
  220.   #define group beta
  221. % ---------------------------------------------------------------------------
  222. %
  223.   Felix Kasza               310/11
  224.   Johannes Hoerhan          310/10
  225.   Rainer Loeb               242/25
  226.   Werner Schlagnitweit      310/3
  227. %
  228. % ---------------------------------------------------------------------------
  229.   #define group update
  230. % ---------------------------------------------------------------------------
  231. %
  232.   Bruce Bodger            1:170/400
  233.   Felix Kasza               310/11
  234.   John Alton              1:141/250
  235.   Paul Boakes               254/91
  236.   Peter Janssens            512/1
  237.   Rainer Loeb               242/25
  238.   Rudi van Lishout          512/26
  239.   Werner Schlagnitweit      310/3
  240. %
  241. % ---------------------------------------------------------------------------
  242.   #define group users
  243. % ---------------------------------------------------------------------------
  244. %
  245.   Alex Piantavigna          333/104
  246.   Alexander Holy            310/90
  247.   Alexander Lustig          313/10
  248.   Alexander Modrach         245/2.5037
  249.   Alexander Revesz          310/3.77
  250.   Andre Backs               280/303
  251.   Andreas Huber             313/5.5
  252.   Andreas Levenitschnig     310/10.3
  253.   Andreas Ulmer             509/6.10
  254.   Andreas Winterer          507/402.7
  255.   Arno Huiskamp             512/1.15
  256.   Axel Dunkel               243/12
  257.   Axel Golob                249/9
  258.   Ben Selderslaghs          280/203.29
  259.   Bob Henson                252/15
  260.   Bob Sprenger              286/617
  261.   Bruce Bodger            1:170/400
  262.   Carlo Ballarini           331/316
  263.   Carsten Guenther          242/25.11
  264.   Cary Howell             1:379/207
  265.   Casper Roos               281/1.9
  266.   Christian Czirnich        246/42
  267.   Christian Dorner          310/8
  268.   Christian Ekhart          316/3
  269.   Christian Felsing         248/5
  270.   Christian Hick            244/16
  271.   Daniel Moeller            507/630.7635
  272.   Darren Ellis            1:132/402
  273.   Dave Killip             1:109/339
  274.   Dave Rees               1:209/711
  275.   David Burdick           1:382/14
  276.   David Gibbs             1:115/439
  277.   David Rance               252/110
  278.   Denis Ducharme          1:167/134
  279.   Diana Westphal            242/7
  280.   Dieter Hoffmann           242/20.3
  281.   Dieter Hummel             243/11
  282.   Dietmar Kneidl            509/3.6
  283.   Dietmar Uhr               243/35
  284.   Don Cunningham          3:713/611
  285.   Doug Belkofer           1:234/10
  286.   Douwe Houvast             512/124.7
  287.   Eduardo Jacob             344/2
  288.   Eelco de Graaff           281/1
  289.   Enrique Lopez             341/12.116
  290.   Erik Hantsoe              234/51
  291.   Evgeny Chupriyanov         42/100
  292.   Fabiano Fabris          27:27/0
  293.   Felix Kasza               310/11
  294.   Francis de la Llera       346/4.2
  295.   Frans Hagelaars           512/2
  296.   Franz Ehgartner            31/80
  297.   Gary Nystrom            1:152/31
  298.   Georg Engleitner          313/9
  299.   Gerald Hinteregger        310/11.69
  300.   Gijs van Duffelen         512/39.10
  301.   Guido Germeroth           245/2.5033
  302.   Hans Geldof               280/305.3
  303.   Hans Koehncke             248/1
  304.   Hansi Novak               247/62
  305.   Heinrich Wenzel           313/7
  306.   Heinz Drews               249/12.5
  307.   Hendrik Schulz            247/207
  308.   Henk Abma                 512/30
  309.   Henk Jansen               500/104
  310.   Henning Schroeder         507/21.7394
  311.   Henry van Aarssen         500/27
  312.   Herbert Lehmann           249/1.2015
  313.   Hilmar Hipp               507/15
  314.   Holger von Heissen        509/4
  315.   Hubert Brentano           244/18.4342
  316.   Jack Decker             1:154/8
  317.   Jay Jadofsky            1:154/450
  318.   Jeff Sheese             1:110/20
  319.   Jeroen Smulders           512/124.8
  320.   Jerry Ablan             1:115/876
  321.   Jim Lane                1:382/37
  322.   Jim Louvau              1:290/4
  323.   Jim Perry               1:375/10
  324.   Joerg Dassler             509/6
  325.   Joey Recker            1:3617/3
  326.   Johannes Hoerhan          310/10
  327.   Johannes Mistelbauer      310/30
  328.   Johannes Weidl            313/10.2
  329.   John Burton             1:147/34
  330.   John Marlett            1:116/18
  331.   John Theed              1:135/41
  332.   Johnny Pulliam        99:9100/6
  333.   Jona Boettcher            245/2
  334.   Jordi Murgo               343/401
  335.   Jos Chrispijn             285/402
  336.   Jose-Ma Rodriguez         343/104
  337.   Josef Braun               313/2
  338.   Juan J. Achutegui         344/7
  339.   Juan Miguel               345/203
  340.   Karel Peeters             295/45
  341.   Karl-Heinz Kissel         249/12.6
  342.   Karl Becker               313/5
  343.   Kelly Drown             1:170/403
  344.   Kelly Griffin           1:170/611
  345.   Kevin Williams          1:102/523
  346.   Lars Joergensen           231/60.32
  347.   Leo Moll                  242/2
  348.   Louis van Geel            295/3
  349.   Luc Schoofs               295/26
  350.   Marc Theilhaber           247/1.9992
  351.   Marco van den Bovenkamp   512/27.2
  352.   Markus Czerner            507/7.7307
  353.   Markus Hogsved            203/308
  354.   Markus Lomb               507/404
  355.   Martin Guersch            242/36
  356.   Martin Junior             295/45.4501
  357.   Marv Shelton            1:107/919
  358.   Mattias Larsson           203/101.5
  359.   Maurice van der Werf      281/5.11
  360.   Michael Nelson          1:125/20
  361.   Michaela Schoebel         247/14
  362.   Michiel de Bruijn         285/505.2
  363.   Mike Simkins               25/100
  364.   Mike Smith              1:389/7
  365.   Nico Knapp                341/10
  366.   Noel Bradford              25/102
  367.   Norbert Versluis          283/106
  368.   Norman Molineaux          253/164
  369.   Orlando Castillo          346/4
  370.   Patrik Sjoberg            205/208
  371.   Paul Boakes               254/91
  372.   Paul Ellison            1:147/3
  373.   Paul Leclerc            1:132/151
  374.   Paul Schuh              1:151/2020
  375.   Pavel Korensky            420/17
  376.   Pep Arbona                346/4.5
  377.   Peter Garben              249/1
  378.   Peter Janssens            512/1
  379.   Peter Reinold             310/18
  380.   Peter Stijnman            281/513
  381.   Peter Tan               3:600/33
  382.   Petr Kocmid               420/18
  383.   Philipp Thomas            242/25.5
  384.   Philippe Galle            322/1
  385.   Rainer Loeb               242/25
  386.   Ralf Pradella             249/6
  387.   Ramon Martinez            346/5
  388.   Reinhold Mueller          245/34.5168
  389.   Reinier de Groot          512/100
  390.   Richard Lakerveld         280/305
  391.   Richard Lee             1:151/223
  392.   Richard W. Burton         343/302
  393.   Rob Schmaling           1:141/765
  394.   Rob van Hoeven            512/100.5
  395.   Robert Maierhofer         310/19
  396.   Robert Orso                31/40
  397.   Roland Gautschi           302/561
  398.   Roland Guyt               281/105
  399.   Roland Mausolf            243/43
  400.   Roman Redl                310/1.5
  401.   Rory Starkweather      1:3614/103
  402.   Ruud de Bruin             281/603
  403.   Saar Blitz                403/139
  404.   Sander Eek                512/122
  405.   Santiago Crespo           341/2.102
  406.   Sascha Haensel            245/12.5377
  407.   Sascha Vogt               310/7
  408.   Sico Bruins               512/10.4
  409.   Simon Gamble              252/112
  410.   Stefan Kaspar             507/402
  411.   Stefan Sarzio             507/7.7308
  412.   Stefan Schaffner          247/1
  413.   Stephan Schwab            245/36
  414.   Stuart Henderson          255/13
  415.   Ted Tang                1:154/386
  416.   Thomas Endres             243/44.3442
  417.   Thomas Nachtigall         509/10
  418.   Tony van den Bogaert      295/43
  419.   Torsten Hoffmann          245/12.5373
  420.   Ulf Jungjohann            509/3
  421.   Urban Oettli              302/903
  422.   Uwe Koester               507/5
  423.   Vincent Verhagen          512/27
  424.   Volker Kaechele           509/9.2542
  425.   Werner Baar               310/3.6
  426.   Werner Schlagnitweit      310/3
  427.   Willem Blink              512/30.1
  428.   Wim Abels                 242/20
  429.   Wolfgang Mattis           507/7
  430.   Wolfgang Meyer            313/9.5
  431.   Wolfgang Mix              243/16
  432.   Wolfgang Praxl            310/3.16
  433.   Wolfgang Zeller           507/21
  434.   Zit Seng                3:600/37
  435. %
  436. %
  437. % +-------------------------------------------------------------------------+
  438. % |                                 This is the end of the #define section. |
  439. % |                                 Next come the various message labels.   |
  440. % +-------------------------------------------------------------------------+
  441. %
  442. %
  443. % +-------------------------------------------------------------------------+
  444. % |                                     distribute the last program release |
  445. % +-------------------------------------------------------------------------+
  446. %
  447.   $fileGhostwriter          % "Ghostwriter" is a magic filename on my system
  448. %
  449.   to   group update  private  ^aflags dir
  450.   path netmail
  451. %
  452.        Hello, $name.
  453.  
  454.        See your system's inbound subdirectory for Ghost220.Zip, version
  455. 2.2 of my "Ghostwriter" program. Among a lot of bug fixes and new features
  456. the program has been modified to work with the new "address" statement
  457. introduced by BinkleyTerm 2.40.
  458.  
  459.        Feel free to distribute the program on SDS. If you plan to do so,
  460. please contact Rudi Van Lishout, 2:512/26. Rudi is the first one to hatch
  461. SDS files; please help avoiding file dupes and unneccessary phone costs
  462. for you and other sysops.
  463.  
  464.        Werner.
  465. %
  466. %
  467. % +-------------------------------------------------------------------------+
  468. % |                                          notify the known program users |
  469. % +-------------------------------------------------------------------------+
  470. %
  471.   Ghostwriter's future
  472. %
  473.   to   group users  private  kill
  474.   path netmail
  475. %
  476.       Hello, $name.
  477.  
  478.       To improve further development of my "Ghostwriter" I decided to split
  479. the program into two versions: a BinkleyTerm-specific version supporting the
  480. *.Msg message format and a FrontDoor-specific version supporting *.Msg in
  481. the netmail folder and QuickBBS-format in echomail folders.
  482.  
  483.       The BinkleyTerm-version will be maintained and expanded by Johannes
  484. Mistelbauer, 2:310/30, who received the complete source from me. Please send
  485. all BinkleyTerm-related bug reports, suggestions, wishes for modification
  486. etc. to Johannes.
  487.  
  488.       Currently I'm completely re-writing the FrontDoor-specific version
  489. from scratch. I'm trying to decrease the program's size, to wipe out known
  490. and hidden bugs and to expand the features. I'll use all goodies found in
  491. FrontDoor 1.99c and all future FrontDoor versions.
  492.  
  493.       Thanks for your attention,
  494.  
  495.       Werner.
  496. %
  497. %
  498. % +-------------------------------------------------------------------------+
  499. % |                                      did I miss the daily wakeup event? |
  500. % +-------------------------------------------------------------------------+
  501. %
  502.   Boot error detected
  503. %
  504. %       Note: As shown on the line below it's possible to insert
  505. %             additional mailer specific message status kludges.
  506. %             The string after "^a" is inserted in uppercase letters
  507. %             as the very last kludge line right before the message text.
  508. %             In this config file "^a" is entered as Alt-94 Alt-97;
  509. %             it will be converted to Alt-1 in the message text.
  510. %
  511.   to   group alert  private  kill  ^aflags dir imm
  512.   path netmail
  513. %
  514.        Servus, $name.
  515.  
  516.        Ich habe heute nach 10 Versuchen, mich um 5.30 Uhr ans Keyboard
  517. des Rechners zu holen, nicht geantwortet. Entweder habe ich verschlafen
  518. oder die Nacht bei meiner Freundin verbracht. Unter Umständen bin ich
  519. auch in einer Aufnahmestation der Wiener Unfallkrankenhäuser zu finden
  520. oder ich fange schön langsam an, zu Hause zu vermodern.
  521.  
  522.        Wenn es Dir möglich ist, versuche mich bitte unter 450 16 43/344 an
  523. meinem Arbeitsplatz (Computer 2000) zu erreichen. Meine Freundin, Kornelia
  524. Hochsteiner, erreichst Du unter 45 35 11/26 (Reproform) ab 14.00 Uhr.
  525. Ein Anruf bei mir dürfte sinnlos sein, da wahrscheinlich noch das Modem
  526. abhebt.
  527.  
  528.        Vielen Dank für Deine Bemühungen.
  529.  
  530.        Werner.
  531. %
  532. %
  533. % +-------------------------------------------------------------------------+
  534. % |                          post statistical overview in an echomail board |
  535. % +-------------------------------------------------------------------------+
  536. %
  537.   Message review
  538. %
  539. %     This tag posts a statistical message overwiew
  540. %     on the first of each month using my program "Qlist".
  541. %     Qlist scans QuickBBS message board "$dummy" (-d[nn]) and
  542. %     puts the output file on a RAM disk (my TEMP environment
  543. %     variable points to this RAM disk).
  544. %     Ghostwriter creates a message in board "$dummy" (-d[nn]);
  545. %     the message text will be the output of Qlist.
  546. %
  547. %     The tag is called with "ghost message_review -nghostwriter -d[nn]",
  548. %     where [nn] is a number between 1 and 200, pointing to a specific
  549. %     QuickBBS message board of my message base.
  550. %
  551.   dos  @echo off
  552.   dos  del %temp%report.txt
  553.   dos  cls
  554.   dos  c:\fd\qlist subj -b$dummy -o%temp%report.txt -m4 -t
  555. %
  556.   to   All  310/11
  557.   path #$dummy
  558. %
  559. $include%temp%report.txt
  560. %
  561. %
  562. % +-------------------------------------------------------------------------+
  563. % |                                automatically generate a flame on sunday |
  564. % +-------------------------------------------------------------------------+
  565. %
  566.   onday saturday: Pointnet
  567. %
  568.   to   Automati ohne Vati  310/11
  569.   path #4
  570. %
  571.        Automati,
  572.  
  573.  > Pointverzeichnis von 310/3 Pointnet 3000
  574.                               ^^^^^^^^^^^^^
  575.        Was soll der Scheiss?
  576.  
  577.        Howard.
  578. %
  579. %
  580. % +-------------------------------------------------------------------------+
  581. % |                                           example #1: message variables |
  582. % +-------------------------------------------------------------------------+
  583. %
  584.   Internal use only
  585. %
  586. %       I use this tag to check all message variables available;
  587. %       no further sense in this text.
  588. %
  589. %       As you can see on the second "dos" line built-in magic filenames
  590. %       can be used as parameters for DOS commands.
  591. %
  592. %       Depending on "#define packer" and the system's date in this
  593. %       example $Nodediff will be expanded to the currently valid filename.
  594. %
  595. %  +--- Note:
  596. %  |
  597. %  |    If "testuser", "address", "flags" and "testpath" are set
  598. %  |    in the DOS environment the next statements also would be valid.
  599. %  |
  600. %  +--> to   %testuser%  %address%  %flags%
  601. %       path %testpath%
  602. %
  603. %       Since there is more than just one "dos [command]" line
  604. %       a temporary batch file will be created.
  605. %       Instead of each single line this batch file will be
  606. %       executed and afterwards deleted by the program.
  607. %
  608.   dos  @echo off
  609.   dos  c:\tools\diskutil\sysmap > %temp%mem.txt
  610.   dos  copy d:\files\net\$nodediff %temp% > nul
  611.   dos  echo $fidonews $pday > %temp%today.txt
  612.   dos  echo And this is my temp path: %temp% >> %temp%today.txt
  613.   dos  c:\tools\diskutil\list %temp%*.bat
  614.   dos  c:\tools\diskutil\list %temp%*.txt
  615.   dos  del %temp%today.txt
  616.   dos  del %temp%$nodediff
  617. %
  618.   to   Henk Wevers  2:500/1  private kill
  619.   path netmail
  620. %
  621.         This message is intended to be a test for new Ghostwriter features.
  622. Have a look at the following variables: this should be the current day:
  623. $day; the day's name is: "$dname"; now there are $diskfree kb free disk
  624. space; the DOS version in use is $dosversion; the origin net of this
  625. message is $fromnet, the origin node is $fromnode, the message was created
  626. at point #$frompoint located in zone $fromzone. Currently there are $memory
  627. kb free RAM in the $monthth month of this year. By the way: the name of the
  628. month is "$mname".
  629.  
  630.         Let's have a look at the current memory mapping:
  631.  
  632. $include %temp%mem.txt
  633.  
  634.         Now let's check all magic filenames supported by the program:
  635.  
  636.         $Anetlist, $Bbsnet, $Eggdiff, $Egglist, $Fidonews, $Netlist,
  637. $Nodediff, $Nodelist, $Opcndiff, $Opcnlist, $Pointnet, $Sigdiff, $Sigecho,
  638. $Signodes.
  639.  
  640.         The name of the origin system is "$origin". This message is addressed
  641. to $tozone:$tonet/$tonode.$topoint. Now it's $time, the year is $year. Finally
  642. [to satisfy the wishes of some computer science students regarding "smart
  643. parsing"...] this variable here --> $$year should *not* have been translated
  644. into the current year.
  645.  
  646.         The command line parameter entered was "$dummy".
  647.  
  648.         Let's hope everything is ok.
  649. %
  650. %
  651. % +-------------------------------------------------------------------------+
  652. % |                                                example #2: file request |
  653. % +-------------------------------------------------------------------------+
  654. %
  655.   $nodediff $fidonews
  656. %
  657. %                called with "ghost $nodediff_$fidonews" this tag will
  658. %                always request the full Nodediff and Fidonews file names
  659. %                valid for the current date.
  660. %                all the other built-in "magic" file names may be used
  661. %                in the same way.
  662. %
  663.   to   Felix Kasza 310/11  request
  664.   path netmail
  665. %
  666.   #end
  667. %
  668. %                A file request normally contains no message text.
  669. %                Therefore "#end" (or whatever you've selected as
  670. %                <end-of-text mark>) is used in this and the next
  671. %                example.
  672. %
  673. %                Take care to use the same string as used on the
  674. %                "#define endtag <end-of-text mark>" config line.
  675. %
  676. %
  677. % +-------------------------------------------------------------------------+
  678. % |                                         example #3: file update request |
  679. % +-------------------------------------------------------------------------+
  680. %
  681.   D:\Files\Net\Fd199c.Lzh
  682. %
  683. %        called with "ghost d:\files\net\fd199c.lzh" this tag will generate
  684. %        a file update request to the address found on the next "to" line.
  685. %
  686.   to   Joaquim Homrighausen  3:632/308  update
  687.   path netmail
  688. %
  689.   #end
  690. %
  691. %
  692. % +-------------------------------------------------------------------------+
  693. % |                                                  example #4: mail check |
  694. % +-------------------------------------------------------------------------+
  695. %
  696.   Mailcheck
  697. %
  698. %            Check all echomail areas for non-received messages;
  699. %            replies will be written <answer>; copies of the unreceived
  700. %            messages will be forwarded to the sysop <forward>.
  701. %
  702. %            After the echomail check the netmail directory
  703. %            also will be scanned for new messages.
  704. %
  705. %            The keyword "all" after "path" only works if:
  706. %
  707. %            1. FrontDoor is used and the file Folder.Sys is existing.
  708. %
  709. %            2. BinkleyTerm is used and the file Areas.Bbs is located
  710. %               in the same subdirectory as Binkley.Cfg.
  711. %               If BinkleyTerm is used in a QuickBBS echomail environment
  712. %               Areas.Bbs must be in "TosScan"-flavour and should be
  713. %               placed in the same directory as the Msg*.Bbs files.
  714. %
  715. %            3. RemoteAccess is used and a TosScan-like Areas.Bbs
  716. %               is located in the same subdirectory as the other
  717. %               QuickBBS message files (Msg*.Bbs).
  718. %
  719.   path all answer forward
  720. %
  721. %
  722. %       +--- This statement only checks the netmail directory
  723. %       |    ================================================
  724. %       |
  725. %       +--> path netmail % optional: answer forward
  726. %
  727. %
  728. %       +--- This statement only checks QuickBBS board #5
  729. %       |    ============================================
  730. %       |
  731. %       +--> path #5 % optional: answer forward
  732. %
  733. %            Caution: for the above statement to work
  734. %                     a TosScan-like Areas.Bbs file
  735. %                     must exist in the same directory
  736. %                     as the QuickBBB message files.
  737. %
  738. %                     In a FrontDoor environment only
  739. %                     Folder.Sys is required.
  740. %
  741. %
  742.        Hello, $name.
  743.  
  744.        Unfortunately the message you posted on $bouncedate in "$bouncearea"
  745. to Werner has not been received by its addressee within the last
  746. $bouncelimit days. Since usually all messages at least will be read or will
  747. get a reply there must have been a serious reason for him to skip your
  748. message.
  749.  
  750.        Feel free to send your message again via FidoNet mail to Werner
  751. Berghofer @ $fromzone:$fromnet/$fromnode.$frompoint or try to get in touch
  752. in any other way you probably may know.
  753.  
  754.        Very sorry.
  755.  
  756.        Ghostwriter.
  757. %
  758. %
  759. % +-------------------------------------------------------------------------+
  760. % |                                              example #5: onday function |
  761. % +-------------------------------------------------------------------------+
  762. %
  763. %            This function is very similar to "ondate":
  764. %            Start the program with "onday" as tag parameter.
  765. %            Include a tag (tag line, "to ...", "path ..." and text)
  766. %            in the configuration file.
  767. %
  768. %            Valid day names are Monday, Tuesday, Wednesday, Thursday,
  769. %                                Friday, Saturday and Sunday.
  770. %
  771. %            Everything from "onday <dayname>" to the next blank
  772. %            character will be ignored; the message "Subject:"
  773. %            will be the string immediately following the first
  774. %            blank character.
  775. %
  776. %            Note: only the first matching tag will be used
  777. %                  for message creation. If you need more tags
  778. %                  for the same weekday use "-fotherconfig.file"
  779. %                  as command line option to use the program
  780. %                  with "otherconfig.file".
  781. %
  782. % onday tuesday: Friday evening meeting
  783. %
  784. % to   All Fidonet participants  310/11
  785. % path #4
  786. %
  787. %      Hello, anybody out there in the Austrian FidoNet.
  788. %
  789. %      Please allow me to remind you of our Friday evening meeting.
  790. % Hope everyone of the sysops and point users is able to spare a little
  791. % leisure time for joining us.
  792. %
  793. %      A companionable Ghostwriter.
  794. %
  795. %
  796. % +-------------------------------------------------------------------------+
  797. % |                            example #6: ondate function on specific date |
  798. % +-------------------------------------------------------------------------+
  799. %
  800.   ondate 1990-03-17: Opus 1.10 has been released
  801. %
  802. %      on March 17th, 1990, the command "ghost ondate" will create
  803. %      an echomail message with the subject "Opus 1.10 has been released"
  804. %
  805. %      Note: tough this will become an echomail message an address
  806. %            too is required.
  807. %
  808. %            A TosScan-like Areas.Bbs file must be located in the
  809. %            same subdirectory as the QuickBBS message base files
  810. %            for the "path #[nn]" statement to work properly.
  811. %
  812.   to   All  310/11
  813.   path #8
  814. %
  815.        Hello, FidoNet developers.
  816.  
  817.        Finally, it has become reality: Opus 1.10 has been released by it's
  818. authors. Let's all get up and request the specs describing the various data
  819. structures used in the new version of Opus. Hope soon there will be a lot
  820. of useful utilities supporting this extended version of a state-of-the-art
  821. BBS program.
  822.  
  823.        Many thanks to Wynn Wagner III for inventing Opus, to George
  824. Stanislav, Vince Perriello, Doug Boone, Tom Kashuba and all the other
  825. guys involved in the development of Opus 1.10.
  826.  
  827.        Werner.
  828. %
  829. %
  830. % +-------------------------------------------------------------------------+
  831. % |                              example #7: ondate function with wildcards |
  832. % +-------------------------------------------------------------------------+
  833. %
  834.   ondate 19??-??-01: The monthly area report has been generated
  835. %
  836. %            on each first of a month "ghost ondate" will create a message
  837. %            with the subject "The monthly area report has been generated"
  838. %
  839.   dos  c:\batch\report
  840.   to   Werner Berghofer  310/11.100  private
  841.   path netmail
  842. %
  843.        Hello, $name.
  844.  
  845.        Please note: a new month just has started. The echomail reports
  846. have been successfully generated, packed and are waiting for transmission
  847. to your bossnode, 2:310/11.
  848.  
  849.        By the way: take care for the usual duties required on the start
  850. of a new month (pay the rent for the flat, buy a new ticket for the Vienna
  851. public transports etc).
  852.  
  853.        GW.
  854. %
  855. %
  856. % +-------------------------------------------------------------------------+
  857. % |                         example #8: wildcard file attach with date flag |
  858. % +-------------------------------------------------------------------------+
  859. %
  860.   $fileC:\Pascal\Units\*.Pas -d 5        % all units not older then five days
  861. %
  862.   dos  dir c:\pascal\units\*.pas > %temp%dir.txt
  863.   to   Niklaus Wirth  1:234/567.89  private  kill
  864.   path netmail
  865. %
  866.        Howde, $name.
  867.  
  868.        Find attached all my Pascal units which were changed within
  869. the last five days. Here's a listing of the directory for verification:
  870. $include %temp%dir.txt
  871.  
  872.        GW.
  873. %
  874. %
  875. % +-------------------------------------------------------------------------+
  876. % |                                         example #9: nodelist processing |
  877. % +-------------------------------------------------------------------------+
  878. %
  879.   Nodelist-Update
  880. %
  881. %        A batch file with this parameters will be executed:
  882. %
  883. %        %1 day number of the most recent Friday
  884. %        %2 file name of the current Nodediff file
  885. %        %3 current day in a two character string
  886. %
  887. %        Let's call this batch file "Nodediff.Bat":
  888. %
  889. %        @echo off
  890. %        cls
  891. %        d:
  892. %        cd \binkley\nodelist
  893. %        del fidouser.lst
  894. %        del nodelist.*
  895. %        cls
  896. %        pkxarc d:\binkley\inbound\%2
  897. %        pkunzip e:\files\net\nodelist.z*
  898. %        cls
  899. %        editnl
  900. %        del e:\files\net\nodelist.*
  901. %        del e:\files\net\nodediff.*
  902. %        del d:\binkley\inbound\%2
  903. %        echo FidoNet nodediff for day #%1 > %temp%arcnote.txt
  904. %        cls
  905. %        pkarc -mx e:\files\net\%2 nodediff.%1 < %temp%arcnote.txt
  906. %        cls
  907. %        parselst
  908. %        cls
  909. %        echo FidoNet nodelist for day #%1 > %temp%arcnote.txt
  910. %        pkzip -mz e:\files\net\nodelist.z%3 nodelist.%1 < %temp%arcnote.txt
  911. %        del %temp%\arcnote.txt
  912. %        cls
  913. %        cd \binkley
  914. %
  915.   dos  c:\batch\nodediff $pday $nodediff $day2
  916.   to   Werner Berghofer  310/11.100  private
  917.   path netmail
  918. %
  919.  
  920.        Note:
  921.  
  922. The most recent nodediff file, $nodediff, hast just been received
  923. and [let's hope it...] has been processed successful.
  924.  
  925.        GW.
  926. %
  927. %
  928. % -------------------------------------------------------[eof Ghost.Cfg]---
  929.