home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
unisch1a.zip
/
_UNI_ENG.CFG
next >
Wrap
Text File
|
1999-06-25
|
8KB
|
206 lines
;================== UniSched 1.0 GA Example Configuration ==================
;English Example Configuration File
;In _unische.cfg befindet sich eine Deutsche Beispielkonfiguration.
;This example configuration file cannot and is not intended to replace
;the full documentation. This example configuration is not extensively
;commented and is only intended to give you a general idea on how the
;configuration file of Unisched has to look like. This file is not a quick
;install helper! Also, it does not document all features of Unisched.
;The essence is: Read the Fine Manual, UNISCHED.ENG!!!
;
;
;-------------------- Part 1 - General Settings ---------------------------
;
;
;The following two lines should always come first in the configuration file.
;They also demonstrate environment variables: The string %MAILER% will be
;replaced with the value of the environment variable MAILER, like for instance
;"e:\mailer".
LogFile = %MAILER%\log\unisched.log ;set the log file
SemaDir = %MAILER%\bt\flags ;default path where all semaphore files
;will be searched/created if no
;path name is specified
AliveTime = 10 ;touch UNISCHED.BSY all 10 minutes
IgnoreOldBusySem = 180 ;ingore UNISCHED.BSY if older than 3 hours
Autofail = On ;Int 24 Handler for DOS
Clock = On ;a clock in the corner
DiskLog = !?*.~#+.- ;what you want to have in the log file
ScreenLog = !?*.~#+. ;what you want to have in the log window
;PipeLog = !?*.~#+. ;OS/2 only: which data ...
;Pipe = \\pipe\unisched ;... should be logged to which pipe
;MTask = Windows ;Windows NT uses should uncomment
;ExcessiveSlicing = 20 ;these two lines
;A static Binkley Outbound directory:
Outbound = %MAILER%\MCM\OUTBOUND ;primary outbound directory
Zone = 2 ;your home zone
IgnoreOldBusyFlag = 180 ;ignore .BSY-Flags which are older than 3 hours
ResetDialCounters = Yes ;always reset dial counters when creating polls
RescanSema = BTRESCAN.FLG ;this file is created when Unisched has
;modified the outbound and wants to enforce
;a mailer rescan
RescanSema = CLRESCAN.%02X ;You can use more than one ...
RescanSema = %MAILER%\MCM\MCMSCAN.ALL
;If you are using a full domain setup, the following lines can tell you
;how to configure the association between zone number and outbound directory
;name. The zone number is decimal, the outbound name is the physical
;directry name, NOT the domain name!
;9 = VIRNET
;242 = FIDODE
; Some color settings. See the manual to learn how
; the color numbers are generated.
ColBorder = 3 ; color of the border
ColEvent = 12 ; color of the "next event" display
ColLog = 14 ; color of the log window (activity window)
ColKeyDescriptions = 8 ; color of the function key descriptions (actions)
ColKeys = 31 ; color of the key names
ColHeadline = 11 ; color of the title line
KeyColumns = 3 ; number of columns in the upper part of the window
RecentActivityLines= 1000 ; Back scroll buffer size. Don't use as high values
; on DOS, there you'd rather use 100 or something.
;ColBorder = 1 ; An alternative color set
;ColEvent = 11
;ColLog = 2
;ColKeys = 15
;ColKeyDescriptions = 14
;ColHeadline = 11
Include = someotherthings.cfg ; include files will be included as is at
; the current position
;
;
;----------------------- Part 2 - Action Definitions ------------------------
;
;
$Export = EXIT 100
$Import = EXEC %MAILBOX%\sys\import.cmd
$TidyUp = EXEC %MAILBOX%\sys\tidy.cmd
$Filelist = EXEC START /C /MIN filelist.cmd
$Statistics = EXEC START /C /MIN stats.cmd
$Sound_Beep = BEEP 1000 100
$Sound_Startrek = PLAY %MAILER%\pb\stdsn.mus
;On Warp 4, you can also let the WPS play a WAV file
$Sound_cuckoo = OPEN g:\mmos2\sounds\cuckoo.wav
$happy_new_year = PLAY f:\midis\newyear.mid
$new_millenium = EXEC YEAR2000.EXE
$silence = ABORTMUSIC
$noise = $Sound_Beep $Sound_Startrek $Sound_cuckook $Sound_Beep
$Poll_MisterX = POLL 2:2476/997 immediate line2 line3
$Poll_MisterY = POLL 2:2476/998 poll cond line2
$Poll_MisterZ = POLL 246:6106/999 crash line1
$Unpoll_MisterZ = REFLAVOUR 246:6106/999 crash normal
$Send_Hubdiff = SEND 24760900.UPD 2:2476/1 crash line2
$Request_Tobi = REQUEST FILES 2:2476/418 crash line 1
$Filelist_Tobi = EXEC %MAILER%\sys\unpack_tobis_file_list.cmd
$edit_config_file = OPEN e:\unisched\unisched.cfg
; This line will open the configuration file with the default editor on
; OS/2. Attention: You have to specify the full path name and drive letter.
; Alkternative possibilites for configuring Unishced online:
;$edit_config_file = START /F/PM E.EXE UNISCHED.CFG ; OS/2
;$edit_config_file = EXEC EDIT.COM UNISCHED.CFG ; DOS ...
$read_config_file = RESTART
;------------------------ Part 3 - Event Definitions -------------------------
SpawnInit = $Sound_Startrek ; Make noise on startup ...
KeyF1 = $Export ; The most important functions are
KeyF2 = $Import ; assigned to function keys
KeyF3 = $TidyUp
KeyF4 = $Filelist
KeyAlt1 = $Poll_MisterX
KeyAlt2 = $Poll_MisterY
KeyAlt3 = $Poll_MisterZ
KeyAltC = $edit_config_file
KeyAltP = $Sound_Beep
KeyAltQ = $Sound_Startrek
KeyAltR = $Sound_cuckoo
KeyESC = $silence
*BTMAIL.IN = $Import ; Import mail as soon as the mailer
; gives us a sign that new mail has arrived.
; Now for the time-dependent events ...
;We'll call Mister X two times a day, and on Saturdays also a third time:
#010 20:00 21:00 = $Poll_MisterX
#020 05:00 06:00 = $Poll_MisterX
#015 12:00 13:00 Sa = $Poll_MisterX
;We poll Mister Y at 0:15, 3:15, 6:15, ...
#030 ~360 +15 = $Poll_MisterY
;We are polling a filenet from Mister Z which we only want to receive
;during cheap tariff time. It is important that the poll flag is removed
;if we did not manage to connect him until 4 a.m.
#040 02:00 04:00 Week = $Poll_MisterZ
#050 04:00 02:00 Week = $Unpoll_MisterZ
;Once a months we want to get Tobi's file list
#070 02:00 04:00 01. 01. = $Request_Tobi
;... and let it unpack automatically
^%MAILER%\MCM\INBOUND\BLAND.ZIP = $Filelist_Tobi
;Once a month we dp statistics.
;At 0:00 we regenerate the file list, and during ZMH, we tidy up.
#300 00:00 24:00 01. 01. = $Statistics
#310 00:00 24:00 = $Filelist
#330 03:30 04:30 = $TidyUp
;black forest clock and alarm clock
#222 ~60 exact 07:59 21:01 week = $Sound_Kuckuck
#223 ~60 exact 09:59 21:01 wkend = $Sound_Kuckuck
#224 07:00 8:00 week = $Krach
;a scarce event
#400 00:00 24:00 01.01. 01.01. = $Prosit_Neujahr
;a unique event
#401 00:00 24:00 01.01.2000 01.01.2000 = $Stunde_der_Wahrheit
;we anticipate Christmas ...
#402 10:00 12:00 25.11. 24.12. Su = PLAY e:\midis\christmassong.mid
;Restart Cantaloup if it is down ...
!^e:\cl\cl-alive.01 = start /pm/min e:\cl\cl.exe 1
!^e:\cl\cl-alive.02 = start /pm/min e:\cl\cl.exe 2
;... or has crashed
*<-30>e:\cl\cl-alive.01 = start /pm/min e:\cl\cl.exe 1
*<-30>e:\cl\cl-alive.02 = start /pm/min e:\cl\cl.exe 2
;-----------------------------------------------------------------------------