home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / ijpb014.zip / InjoyPB.CFG < prev    next >
Text File  |  1998-09-23  |  6KB  |  179 lines

  1. . Configuration file for InjoyPB
  2. . ******************************
  3.  
  4. . You can edit this file to adapt it to your needs, or use 'confijpd.cmd'
  5. . to add or change any host definitions.
  6.  
  7. . The first letter of each line determines the type of data it contains.
  8. . Since a dot has no defined meaning for the program, you may include comment
  9. . lines like these just starting with a dot. Blank lines are ignored.
  10.  
  11. . This file may contain as many host definitions as necessary. Each host
  12. . section starts with a line [<host>] (see examples below) and contains a
  13. . number of lines starting with different letters, defining different things.
  14. . Consistency of the entries is tested by InjoyPB.
  15.  
  16. . If you want to make any changes, read the following lines (starting with
  17. . '-' and a letter: They explain what the entries starting with just that
  18. . letter are intended for. Don't delete these entries: ConfIJPB used them
  19. . to explain you the meaning of what you are supposed to enter.
  20.  
  21. . Explanations for data entries
  22. . *****************************
  23.  
  24. -U The "U" line (one per section): Price of one "unit"
  25. -U
  26. -U Enter the price for one "unit". This is just the smallest amount of money
  27. -U by which your phone bill can be increased. The format of a line is:
  28. -U
  29. -U <amount with as many digits as you want> <currency unit of your country>
  30. -U
  31. -U Examples:
  32. -U   0.10 CHF
  33. -U   100 LIT
  34. -U
  35. -U That means your "unit" is 0.10 swiss francs (CHF) or 100 italian Lira,
  36. -U resp., and you want all amounts to be output with two or zero digits after
  37. -U the point.
  38. -U
  39. -U Remark: The currency symbol has to be separated by one (or more) space(s).
  40.  
  41. -T The "T" lines: Tariff levels
  42. -T
  43. -T Each section must contain "T" lines for every tariff used. The tariffs
  44. -T are assigned to letters from a to z (uppercase = lowercase, i.e.: 26 are
  45. -T possible) and you have to give the number of seconds per "unit" (defined
  46. -T above) and a "name". The latter appears in the output table for your own
  47. -T information. Format:
  48. -T
  49. -T <letter> <seconds per "unit"> <name (may include spaces)>
  50. -T
  51. -T Examples:
  52. -T  (letter  secs/unit  name)
  53. -T   a       90         normal tariff
  54. -T   b       180        low tariff
  55. -T   c       360        night tariff
  56. -T   d       720        special night tariff
  57.  
  58. -H The "H" lines: Holidays
  59. -H
  60. -H With the "H" lines you define the dates that are to be treated as
  61. -H "holidays" and not according to the day of the week. (If "holidays" are
  62. -H treated just like sundays, you may or may not include "sunday holidays"
  63. -H like easter or whitsuntide in the list.
  64. -H The format of the dates is dd.mm or, in the case of the "moving" holidays
  65. -H around easter: dd.e, where dd is the number of days before or after easter.
  66. -H These are: Good Friday = -2.e, Easter Monday = 1.e, Ascension = 39.e,
  67. -H Whitsuntide Monday = 50.e.
  68. -H
  69. -H Examples:
  70. -H 1.1
  71. -H -2.e
  72. -H 1.e
  73. -H 39.e
  74. -H 50.e
  75. -H 25.12
  76.  
  77. -S The "S" lines: Dates for which special rates are applicaple
  78. -S
  79. -S Sometimes the marketing departments of the telephone companies have such
  80. -S nice ideas as "next sunday all phone calls are charged only half the
  81. -S normal price", or such: Nice for your budget, but a potential difficulty
  82. -S for a program like InjoyPB. The solution is the definition of "special"
  83. -S rate dates. The first step is to assign a letter to such dates on a
  84. -S "S" line:
  85. -S <letter> <day>.<month>{.<year>}
  86. -S You can define "S" lines with or without the year, the first being for
  87. -S the case of singular events which are not applicable every year.
  88. -S
  89. -S Examples:
  90. -S a 10.5.98
  91. -S b 3.6.1998
  92. -S a 1.8
  93.  
  94. -H The "H" lines: Holidays
  95. -H
  96. -H With the "H" lines you define the dates that are to be treated as
  97. -H "holidays" and not according to the day of the week. (If "holidays" are
  98. -H treated just like sundays, you may or may not include "sunday holidays"
  99. -H like easter or whitsuntide in the list.
  100. -H The format of the dates is dd.mm or, in the case of the "moving" holidays
  101. -H around easter: dd.e, where dd is the number of days before or after easter.
  102. -H These are: Good Friday = -2.e, Easter Monday = 1.e, Ascension = 39.e,
  103. -H Whitsuntide Monday = 50.e.
  104. -H
  105. -H Examples:
  106. -H 1.1
  107. -H -2.e
  108. -H 1.e
  109. -H 39.e
  110. -H 50.e
  111. -H 25.12
  112.  
  113. -D The "D" lines: Tariff levels during the day
  114. -D
  115. -D These define the times when the one or other tariff is applicable. For
  116. -D each entry, you have to give a string coding for the days of the week
  117. -D (0=Sunday, 1=Monday etc.), for "holiday" (7) or for "special" dates (the
  118. -D assigned letter) for which the definition is applicable, followed by a
  119. -D list of <tariff level> <time of change> <tariff level> <time of change>
  120. -D ... <tariff level> for the days to define, i.e. there has to be a tariff
  121. -D level in the beginning and one in the end of the list, the minimum being
  122. -D just one tariff level for the whole day. The times of change may be in
  123. -D the form <hh> or <hh.mm>.
  124. -D Examples:
  125. -D  (days   tariff levels and times of change)
  126. -D   12345  c 06.00 b 08.00 a 17.00 b 19.00 a 21.00 b 23.00 c
  127. -D   607b   c 06 b 23 c
  128. -D   a      d 06 c 23 d
  129. -D The first line means e.g.:
  130. -D - On weekdays (Mo-Fr) from 0h to 6h and after 23h "night tariff", from
  131. -D   6h to 8h, from 17h to 19h and from 21h to 23h "low tariff" and for the
  132. -D   rest "normal tariff".
  133.  
  134. . Host definitions
  135. . ****************
  136.  
  137. . If you want to add your own host definitions, just copy the [default]
  138. . section below and adapt it to your needs, changing the '[default]' line
  139. . to the name of your host as it appears in the main window of InJoy.
  140. . This corresponds also to the name of the log file produced by InJoy for
  141. . that specific host definition.
  142.  
  143. ;[default]
  144. ;U 0.10 CHF
  145. ;; nr  secs/unit  name
  146. ;T a   90         normal tariff
  147. ;T b   180        low tariff
  148. ;T c   360        night tariff
  149. ;T d   720        special night tariff
  150. ;; dd.mm (for common dates) or dd.e (for days before/after easter)
  151. ;H 1.1
  152. ;H 2.1
  153. ;H -2.e
  154. ;H 1.e
  155. ;H 39.e
  156. ;H 50.e
  157. ;H 1.8
  158. ;H 25.12
  159. ;H 26.12
  160. ;S a 10.5.98
  161. ;S b 3.6.1998
  162. ;S a 1.8
  163. ;; days   tariff levels and times of change
  164. ;D 12345  c 06.00 b 08.00 a 17.00 b 19.00 a 21.00 b 23.00 c
  165. ;D 607b   c 06 b 23 c
  166. ;D a      d 06 c 23 d
  167.  
  168. [default]
  169. U 0.007 SGD
  170. T a 30 normal tariff (Weekdays 0800-1800)
  171. T b 60 economy tariff (Weekdays 1800-0800, Weekends & Public Holidays)
  172. H 1.1
  173. H 25.12
  174. H 1.5
  175. H 9.8
  176. D 12345 b 06.00 a 18.00 b
  177. D 607 b 06.00 b 18.00 b
  178.  
  179.