--debug, identation and KGet 2.0 ---> 2.1
[kdenetwork.git] / kppp / Rules / TEMPLATE
blob0c3114f55aeb0e5ad8308d9dfe61f36242fb42bf
1 ################################################################
3 # Disclaimer/License
4 # This Template ist (c) by Mario Weilguni <mweilguni@kde.org>
5 # It ist licenced under the same terms as the kppp package, 
6 # which it is part of
8 ################################################################
10 # This is a sample rule set for kppp. You can use it as a 
11 # template when you have to create your own ruleset. If you do
12 # so, remove all comments and add your own. This will allow
13 # other users to check your ruleset more easily.
14
15 # Please sign the the tarif file with your name an email address
16 # so that we can contact you if necessary.
18 # NOTE: the rules in this rule set do not make much sense and
19 #       are only for demonstration purposes
21 # NOTE ON FILENAMES:
22 #       when you create your own ruleset, use "_" in filename
23 #       instead of spaces and use ".rst  as extension
24 #          i.e. "Austria city calls"
25 #          --> file should be saved as "Austria_city_calls.rst"
26 #       As of KDE 3.2 non-ascii characters can be encoded 
27 #       with the %xy escapes known from URLs.
29 # NOTE ON ENCODING:
30 #       As of KDE 3.1 kppp assumes rule set files to be in UTF-8
31 #       encoding. See the currency_symbol entry for an example
32 #       of a non-ASCII character.
34 # Thanks, Bernd Wuebben
35 # wuebben@kde.org
36 # Current maintainer: Harri Porten, porten@kde.org
37 ################################################################
40 ################################################################
42 # NAME OF THE RULESET. This is NEEDED for accounting purposes.
44 ################################################################
45 name=default
47 ################################################################
48 # currency settings
49 ################################################################
51 # defines ¤ (Euro) to be used as currency
52 # symbol (not absolutely needed, default = "$")
53 currency_symbol=¤
55 # Define the position of the currency symbol.
56 # (not absolutely needed, default is "right")
57 currency_position=right 
59 # Define the number of significant digits.
60 # (not absolutely needed, default is "2"
61 currency_digits=2
65 ################################################################
66 # connection settings
67 ################################################################
69 # NOTE: rules are applied from top to bottom - the
70 #       LAST matching rule is the one used for the
71 #       cost computations.
73 # This is charged whenever you connect. If you don't have to
74 # pay per-connection, use "0" here or comment it out.
75 per_connection=0.0
78 # minimum costs per per connection. If the costs of a phone
79 # call are less than this value, this value is used instead
80 minimum_costs=0.0
83 # You pay .74 for the first 180 seconds ( 3 minutes) no matter
84 # whether you are connected for 1 second or 180 seconds.
85 # This rule will take priority during the first 180 seconds
86 # over any other rule, in particular the 'default' rule.
87 # have a look at costgraphs.gif in the docs directory
88 # of the kppp distribution for a graphic illustration.
89 flat_init_costs=(0.74,180)
91 # This is the default rule which is used when no other rule
92 # applies. The first component "0.1" is the price of one
93 # "unit", while "72" is the duration in seconds.
94 # Therefore the following rule means: "Every 72 seconds 0.1 
95 # ATS are added to the bill"
96 default=(0.1, 72)
99 # more complicated rules:
102 # "on monday until sunday from 12:00 am until 11:59 pm the costs
103 # are 0.2 each 72 seconds"
104 on () between () use (0.2, 2)
106 # same as above
107 on (monday..sunday) between () use (0.2, 2)
109 # same as above. You must use 24 hour notation, or the accounting
110 # will not work correctly. (Example: write 15:00 for 3 pm)
111 on (monday..sunday) between (0:00..23:59) use (0.2, 2)
113 # applies on friday, saturday, sunday and monday 8am until 1pm
114 on (friday..monday) between (8:00..13:00) use(0.3,72)
116 # ATTENTION:
117 on(monday..friday) between (21:00..5:00) use (0.4,2)
118 # does NOT include saturday 0:00-5:00, just monday..friday, as it says.
120 # applies on a given date (christmas)
121 on (12/25) between () use (0.3,72)
123 # a range of dates and one weekday
124 on (12/25..12/27, 12/31, 07/04, monday) between () use (0.4, 72)
126 # use this for easter
127 on (easter) between () use (0.3,72)
129 # easter + 50 days (Pfingstmontag/ Pentecost Monday )
130 on (easter+50) between () use (0.3,72)
132 on (thursday) between (20:00..21:52) use (8.2, 1)
135 # The "on()" rules above all relates to current time only. You can also
136 # make a rule depend on the number of seconds you have been connected
137 # by specifying this time as a third argument to "use()".
138 # For instance, let's say normal rate in the evening is 0.20 per minute,
139 # and it drops by 20% after one hour of connect time. This can be modelled
140 # like:
142 on () between (19:30..08:00) use (0.20, 60)
143 on () between (19:30..08:00) use (0.16, 60, 3600)
145 # Note that these rules, just like other rules, are sensitive to the 
146 # order in which they appear.