home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
ijpb014.zip
/
InjoyPB.CFG
< prev
next >
Wrap
Text File
|
1998-09-23
|
6KB
|
179 lines
. Configuration file for InjoyPB
. ******************************
. You can edit this file to adapt it to your needs, or use 'confijpd.cmd'
. to add or change any host definitions.
. The first letter of each line determines the type of data it contains.
. Since a dot has no defined meaning for the program, you may include comment
. lines like these just starting with a dot. Blank lines are ignored.
. This file may contain as many host definitions as necessary. Each host
. section starts with a line [<host>] (see examples below) and contains a
. number of lines starting with different letters, defining different things.
. Consistency of the entries is tested by InjoyPB.
. If you want to make any changes, read the following lines (starting with
. '-' and a letter: They explain what the entries starting with just that
. letter are intended for. Don't delete these entries: ConfIJPB used them
. to explain you the meaning of what you are supposed to enter.
. Explanations for data entries
. *****************************
-U The "U" line (one per section): Price of one "unit"
-U
-U Enter the price for one "unit". This is just the smallest amount of money
-U by which your phone bill can be increased. The format of a line is:
-U
-U <amount with as many digits as you want> <currency unit of your country>
-U
-U Examples:
-U 0.10 CHF
-U 100 LIT
-U
-U That means your "unit" is 0.10 swiss francs (CHF) or 100 italian Lira,
-U resp., and you want all amounts to be output with two or zero digits after
-U the point.
-U
-U Remark: The currency symbol has to be separated by one (or more) space(s).
-T The "T" lines: Tariff levels
-T
-T Each section must contain "T" lines for every tariff used. The tariffs
-T are assigned to letters from a to z (uppercase = lowercase, i.e.: 26 are
-T possible) and you have to give the number of seconds per "unit" (defined
-T above) and a "name". The latter appears in the output table for your own
-T information. Format:
-T
-T <letter> <seconds per "unit"> <name (may include spaces)>
-T
-T Examples:
-T (letter secs/unit name)
-T a 90 normal tariff
-T b 180 low tariff
-T c 360 night tariff
-T d 720 special night tariff
-H The "H" lines: Holidays
-H
-H With the "H" lines you define the dates that are to be treated as
-H "holidays" and not according to the day of the week. (If "holidays" are
-H treated just like sundays, you may or may not include "sunday holidays"
-H like easter or whitsuntide in the list.
-H The format of the dates is dd.mm or, in the case of the "moving" holidays
-H around easter: dd.e, where dd is the number of days before or after easter.
-H These are: Good Friday = -2.e, Easter Monday = 1.e, Ascension = 39.e,
-H Whitsuntide Monday = 50.e.
-H
-H Examples:
-H 1.1
-H -2.e
-H 1.e
-H 39.e
-H 50.e
-H 25.12
-S The "S" lines: Dates for which special rates are applicaple
-S
-S Sometimes the marketing departments of the telephone companies have such
-S nice ideas as "next sunday all phone calls are charged only half the
-S normal price", or such: Nice for your budget, but a potential difficulty
-S for a program like InjoyPB. The solution is the definition of "special"
-S rate dates. The first step is to assign a letter to such dates on a
-S "S" line:
-S <letter> <day>.<month>{.<year>}
-S You can define "S" lines with or without the year, the first being for
-S the case of singular events which are not applicable every year.
-S
-S Examples:
-S a 10.5.98
-S b 3.6.1998
-S a 1.8
-H The "H" lines: Holidays
-H
-H With the "H" lines you define the dates that are to be treated as
-H "holidays" and not according to the day of the week. (If "holidays" are
-H treated just like sundays, you may or may not include "sunday holidays"
-H like easter or whitsuntide in the list.
-H The format of the dates is dd.mm or, in the case of the "moving" holidays
-H around easter: dd.e, where dd is the number of days before or after easter.
-H These are: Good Friday = -2.e, Easter Monday = 1.e, Ascension = 39.e,
-H Whitsuntide Monday = 50.e.
-H
-H Examples:
-H 1.1
-H -2.e
-H 1.e
-H 39.e
-H 50.e
-H 25.12
-D The "D" lines: Tariff levels during the day
-D
-D These define the times when the one or other tariff is applicable. For
-D each entry, you have to give a string coding for the days of the week
-D (0=Sunday, 1=Monday etc.), for "holiday" (7) or for "special" dates (the
-D assigned letter) for which the definition is applicable, followed by a
-D list of <tariff level> <time of change> <tariff level> <time of change>
-D ... <tariff level> for the days to define, i.e. there has to be a tariff
-D level in the beginning and one in the end of the list, the minimum being
-D just one tariff level for the whole day. The times of change may be in
-D the form <hh> or <hh.mm>.
-D Examples:
-D (days tariff levels and times of change)
-D 12345 c 06.00 b 08.00 a 17.00 b 19.00 a 21.00 b 23.00 c
-D 607b c 06 b 23 c
-D a d 06 c 23 d
-D The first line means e.g.:
-D - On weekdays (Mo-Fr) from 0h to 6h and after 23h "night tariff", from
-D 6h to 8h, from 17h to 19h and from 21h to 23h "low tariff" and for the
-D rest "normal tariff".
. Host definitions
. ****************
. If you want to add your own host definitions, just copy the [default]
. section below and adapt it to your needs, changing the '[default]' line
. to the name of your host as it appears in the main window of InJoy.
. This corresponds also to the name of the log file produced by InJoy for
. that specific host definition.
;[default]
;U 0.10 CHF
;; nr secs/unit name
;T a 90 normal tariff
;T b 180 low tariff
;T c 360 night tariff
;T d 720 special night tariff
;; dd.mm (for common dates) or dd.e (for days before/after easter)
;H 1.1
;H 2.1
;H -2.e
;H 1.e
;H 39.e
;H 50.e
;H 1.8
;H 25.12
;H 26.12
;S a 10.5.98
;S b 3.6.1998
;S a 1.8
;; days tariff levels and times of change
;D 12345 c 06.00 b 08.00 a 17.00 b 19.00 a 21.00 b 23.00 c
;D 607b c 06 b 23 c
;D a d 06 c 23 d
[default]
U 0.007 SGD
T a 30 normal tariff (Weekdays 0800-1800)
T b 60 economy tariff (Weekdays 1800-0800, Weekends & Public Holidays)
H 1.1
H 25.12
H 1.5
H 9.8
D 12345 b 06.00 a 18.00 b
D 607 b 06.00 b 18.00 b