home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / unisch1a.zip / _UNI_ENG.CFG next >
Text File  |  1999-06-25  |  8KB  |  206 lines

  1. ;================== UniSched 1.0 GA Example Configuration ==================
  2.  
  3. ;English Example Configuration File
  4. ;In _unische.cfg befindet sich eine Deutsche Beispielkonfiguration.
  5.  
  6. ;This example configuration file cannot and is not intended to replace
  7. ;the full documentation.  This example configuration is not extensively
  8. ;commented and is only intended to give you a general idea on how the
  9. ;configuration file of Unisched has to look like. This file is not a quick
  10. ;install helper! Also, it does not document all features of Unisched.
  11. ;The essence is: Read the Fine Manual, UNISCHED.ENG!!!
  12.  
  13. ;
  14. ;
  15. ;-------------------- Part 1 - General Settings ---------------------------
  16. ;
  17. ;
  18.  
  19. ;The following two lines should always come first in the configuration file.
  20. ;They also demonstrate environment variables:  The string %MAILER% will be
  21. ;replaced with the value of the environment variable MAILER, like for instance
  22. ;"e:\mailer".
  23.  
  24. LogFile = %MAILER%\log\unisched.log    ;set the log file
  25. SemaDir = %MAILER%\bt\flags            ;default path where all semaphore files
  26.                                        ;will be searched/created if no
  27.                                        ;path name is specified
  28.  
  29.  
  30. AliveTime        = 10           ;touch UNISCHED.BSY all 10 minutes
  31. IgnoreOldBusySem = 180          ;ingore UNISCHED.BSY if older than 3 hours
  32.  
  33. Autofail         = On           ;Int 24 Handler for DOS
  34. Clock            = On           ;a clock in the corner
  35. DiskLog          = !?*.~#+.-    ;what you want to have in the log file
  36. ScreenLog        = !?*.~#+.     ;what you want to have in the log window
  37.  
  38. ;PipeLog          = !?*.~#+.          ;OS/2 only: which data ...
  39. ;Pipe             = \\pipe\unisched   ;... should be logged to which pipe
  40.  
  41. ;MTask            = Windows     ;Windows NT uses should uncomment
  42. ;ExcessiveSlicing = 20          ;these two lines
  43.  
  44.  
  45.                                 ;A static Binkley Outbound directory:
  46.  
  47. Outbound          = %MAILER%\MCM\OUTBOUND  ;primary outbound directory
  48. Zone              = 2                      ;your home zone
  49. IgnoreOldBusyFlag = 180     ;ignore .BSY-Flags which are older than 3 hours
  50. ResetDialCounters = Yes     ;always reset dial counters when creating polls
  51. RescanSema        = BTRESCAN.FLG  ;this file is created when Unisched has
  52.                                   ;modified the outbound and wants to enforce
  53.                                   ;a mailer rescan
  54. RescanSema        = CLRESCAN.%02X ;You can use more than one ...
  55. RescanSema        = %MAILER%\MCM\MCMSCAN.ALL
  56.  
  57. ;If you are using a full domain setup, the following lines can tell you
  58. ;how to configure the association between zone number and outbound directory
  59. ;name. The zone number is decimal, the outbound name is the physical
  60. ;directry name, NOT the domain name!
  61. ;9 = VIRNET
  62. ;242 = FIDODE
  63.  
  64.                           ; Some color settings. See the manual to learn how
  65.                           ; the color numbers are generated.
  66. ColBorder          = 3    ; color of the border
  67. ColEvent           = 12   ; color of the "next event" display
  68. ColLog             = 14   ; color of the log window (activity window)
  69. ColKeyDescriptions = 8    ; color of the function key descriptions (actions)
  70. ColKeys            = 31   ; color of the key names
  71. ColHeadline        = 11   ; color of the title line
  72.  
  73. KeyColumns         = 3    ; number of columns in the upper part of the window
  74. RecentActivityLines= 1000 ; Back scroll buffer size. Don't use as high values
  75.                           ; on DOS, there you'd rather use 100 or something.
  76.  
  77. ;ColBorder   = 1          ; An alternative color set
  78. ;ColEvent    = 11
  79. ;ColLog      = 2
  80. ;ColKeys     = 15
  81. ;ColKeyDescriptions = 14
  82. ;ColHeadline = 11
  83.  
  84. Include = someotherthings.cfg  ; include files will be included as is at
  85.                                ; the current position
  86.  
  87.  
  88. ;
  89. ;
  90. ;----------------------- Part 2 - Action Definitions ------------------------
  91. ;
  92. ;
  93.  
  94. $Export          = EXIT 100
  95. $Import          = EXEC %MAILBOX%\sys\import.cmd
  96. $TidyUp          = EXEC %MAILBOX%\sys\tidy.cmd
  97. $Filelist        = EXEC START /C /MIN filelist.cmd
  98. $Statistics      = EXEC START /C /MIN stats.cmd
  99.  
  100. $Sound_Beep      = BEEP 1000 100
  101. $Sound_Startrek  = PLAY %MAILER%\pb\stdsn.mus
  102.  
  103.   ;On Warp 4, you can also let the WPS play a WAV file
  104. $Sound_cuckoo    = OPEN g:\mmos2\sounds\cuckoo.wav
  105.  
  106. $happy_new_year  = PLAY f:\midis\newyear.mid
  107. $new_millenium   = EXEC YEAR2000.EXE
  108.  
  109. $silence         = ABORTMUSIC
  110. $noise           = $Sound_Beep $Sound_Startrek $Sound_cuckook $Sound_Beep
  111.  
  112. $Poll_MisterX    = POLL 2:2476/997        immediate    line2 line3
  113. $Poll_MisterY    = POLL 2:2476/998        poll cond    line2
  114. $Poll_MisterZ    = POLL 246:6106/999      crash        line1
  115. $Unpoll_MisterZ  = REFLAVOUR 246:6106/999 crash normal
  116.  
  117. $Send_Hubdiff    = SEND 24760900.UPD 2:2476/1 crash line2
  118. $Request_Tobi    = REQUEST FILES 2:2476/418 crash line 1
  119. $Filelist_Tobi   = EXEC %MAILER%\sys\unpack_tobis_file_list.cmd
  120.  
  121.  
  122. $edit_config_file = OPEN e:\unisched\unisched.cfg
  123.    ; This line will open the configuration file with the default editor on
  124.    ; OS/2. Attention: You have to specify the full path name and drive letter.
  125.  
  126.    ; Alkternative possibilites for configuring Unishced online:
  127. ;$edit_config_file = START /F/PM E.EXE UNISCHED.CFG   ; OS/2
  128. ;$edit_config_file = EXEC EDIT.COM UNISCHED.CFG       ; DOS ...
  129. $read_config_file = RESTART
  130.  
  131. ;------------------------ Part 3 - Event Definitions -------------------------
  132.  
  133. SpawnInit         = $Sound_Startrek    ; Make noise on startup ...
  134.  
  135. KeyF1 = $Export                        ; The most important functions are
  136. KeyF2 = $Import                        ; assigned to function keys
  137. KeyF3 = $TidyUp
  138. KeyF4 = $Filelist
  139.  
  140. KeyAlt1 = $Poll_MisterX
  141. KeyAlt2 = $Poll_MisterY
  142. KeyAlt3 = $Poll_MisterZ
  143. KeyAltC = $edit_config_file
  144.  
  145. KeyAltP = $Sound_Beep
  146. KeyAltQ = $Sound_Startrek
  147. KeyAltR = $Sound_cuckoo
  148. KeyESC  = $silence
  149.  
  150. *BTMAIL.IN = $Import            ; Import mail as soon as the mailer
  151.                                 ; gives us a sign that new mail has arrived.
  152.  
  153.  
  154.                                 ; Now for the time-dependent events ...
  155.  
  156.   ;We'll call Mister X two times a day, and on Saturdays also a third time:
  157. #010 20:00 21:00      = $Poll_MisterX
  158. #020 05:00 06:00      = $Poll_MisterX
  159. #015 12:00 13:00 Sa   = $Poll_MisterX
  160.  
  161.   ;We poll Mister Y at 0:15, 3:15, 6:15, ...
  162. #030 ~360 +15         = $Poll_MisterY
  163.  
  164.   ;We are polling a filenet from Mister Z which we only want to receive
  165.   ;during cheap tariff time. It is important that the poll flag is removed
  166.   ;if we did not manage to connect him until 4 a.m.
  167. #040 02:00 04:00 Week = $Poll_MisterZ
  168. #050 04:00 02:00 Week = $Unpoll_MisterZ
  169.  
  170.   ;Once a months we want to get Tobi's file list
  171. #070 02:00 04:00 01. 01. = $Request_Tobi
  172.  
  173.   ;... and let it unpack automatically
  174. ^%MAILER%\MCM\INBOUND\BLAND.ZIP = $Filelist_Tobi
  175.  
  176.   ;Once a month we dp statistics.
  177.   ;At 0:00 we regenerate the file list, and during ZMH, we tidy up.
  178. #300 00:00 24:00 01. 01. = $Statistics
  179. #310 00:00 24:00         = $Filelist
  180. #330 03:30 04:30         = $TidyUp
  181.  
  182.   ;black forest clock and alarm clock
  183. #222 ~60 exact 07:59 21:01 week = $Sound_Kuckuck
  184. #223 ~60 exact 09:59 21:01 wkend = $Sound_Kuckuck
  185. #224 07:00 8:00 week = $Krach
  186.  
  187.   ;a scarce event
  188. #400 00:00 24:00 01.01. 01.01. = $Prosit_Neujahr
  189.  
  190.   ;a unique event
  191. #401 00:00 24:00 01.01.2000 01.01.2000 = $Stunde_der_Wahrheit
  192.  
  193.   ;we anticipate Christmas ...
  194. #402 10:00 12:00 25.11. 24.12. Su = PLAY e:\midis\christmassong.mid
  195.  
  196.   ;Restart Cantaloup if it is down ...
  197. !^e:\cl\cl-alive.01 = start /pm/min e:\cl\cl.exe 1
  198. !^e:\cl\cl-alive.02 = start /pm/min e:\cl\cl.exe 2
  199.  
  200.   ;... or has crashed
  201. *<-30>e:\cl\cl-alive.01 = start /pm/min e:\cl\cl.exe 1
  202. *<-30>e:\cl\cl-alive.02 = start /pm/min e:\cl\cl.exe 2
  203.  
  204. ;-----------------------------------------------------------------------------
  205.  
  206.