home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
ijpb014.zip
/
ReadMe.DOC
< prev
Wrap
Text File
|
1998-07-28
|
10KB
|
232 lines
*****************************************************************************
InjoyPB - Injoy Phone Bill
**************************
Calculation of online telephone cost using Injoy logfiles
Version 0.14 : 27.07.98
Version 0.13 : 25.06.98
Version 0.12 : 23.06.98
Version 0.11 : 16.06.98
Version 0.1 : 23.04.98
Started : 16.04.98
Copyright (c) 1998 Cornelis Bockemuehl - All rights reserved
email: cbockem@datacomm.ch
*****************************************************************************
Disclaimer
----------
This program is "freeware", so everybody may use it freely "as is" and at
own risk. The author gives no warranty whatsoever, nor guarantees any
functionality. The program may be freely distributed, provided the whole
package is left intact including all the files listed below.
All rights remain with the author (Cornelis Bockemuehl).
Please send me an e-mail if you use the program (cbockem@datacomm.ch):
I'm just curious...
Purpose
-------
Gives you an overview of your monthly online phone bill, if you are
using InJoy as your internet dialin program (see http://www.fx.dk). The
tariff system is configurable per InJoy "host" definition. The InJoy
connection log files (<host>.log) are used for that purpose.
Known limitations
-----------------
- For configuration limitations see below in the "Configuration" section.
- There may be (small) rounding errors depending on how exactly your
telephone company counts the units. InjoyPB assumes they are rounded
up for every single phone call.
Note: You cannot calculate the total cost in one tariff level from
the total monthly online time in that level, because EACH TIME you
connect and disconnect the cost for that specific call is rounded up!
InjoyPB takes account of that fact.
- As you see from the version number, this program isn't yet very old,
and so it possibly contains unrecognized errors ("beta code", if you
want).
Unknown limitations (vulgo: bugs)
---------------------------------
This program isn't tested thoroughly in all sorts of environmants and
with all kinds of configurations: it's a "beta" if you want. I cannot
guarantee for any functionality, BUT: If you run into any problems or
bugs, just send me a mail with everything I need to reproduce it: You
might be the first one to try out a new, corrected version of the
program!
Usage
-----
injoypb <host> {month{.year}}
where
- <host> is the name of the host(s) to calculate a phone bill for, as
used in Injoy.
Remark: Injoy creates log files per host with the name <host>.LOG in
the Injoy folder. If the name of the host as it appears in the Injoy
window is longer than 8 characters, it is replaced by a shorter version:
You have to use this shortened version for InjoyPB (because it uses
the log files!).
- Wildcards (*,?) are allowed in the <host> specification, so you can
calculate the bill for several hosts at the same time.
- If you don't give a month, the program will ask.
- If you don't give the year, the current year is assumed.
Examples
--------
injoypb default
- asks user for month (and year)
injoypb default 4
- calculates telephone cost for April of current year
injoypb default 4.98
injoypb default 4.1998
- calculates telephone cost for April 1998
injoypb def*
- asks for month
- calculates for all defined hostnames starting with 'def'
Installation
------------
- Unzip or copy all the files in this package to a temporary directory.
(You probably did that already, since you are reading this text).
- Run 'Install' from the command line: You are asked to enter the
INJOY main directory, where a subdirectory is created for INJOYPB.
All the files are copied there and a folder is created on your
desktop containing objects for running and configuring the program.
At the end 'Config' starts automatically which configures a first
host definition. You can skip this last step and do the configuration
later (see "Configuration" section below).
- Now you can delete all the files from your temporary directory.
- That's all. You can open the "settings" of the "Injoy Phone Bill"
program object and change the parameters if you are using another
host name than "default", or make as many copies of the object
as you are using hosts and adapt them to your needs.
Note: 'Config' also creates adapted program objects for each host,
if you want.
Hint: If you want to calculate the total phone bill for a number of
(or all your) hosts at the same time, you can enter the host name
using wildcards (*,?), but you will get the problem of not being
able to read the whole output as fast as it scrolls by. This is
ok if you only want to see the end result, but you can have the whole
list if you create a program object from the command file CalcMany.CMD
with "<host_with_wildcards> [month]" as parameter line and the
InjoyPB directory as the working directory. The installation procedure
automatically creates such a program object that calculates all your
host definitions (using * for the host).
Deinstallation
--------------
- Go to the 'Injoy' working directory, change to the 'InjoyPB'
subdirectory (cd IJPB) and run 'Deinst' from the command line: This
will try to delete the desktop objects and all files that belong to
the InjoyPB package.
- If you want, delete the files InjoyPB.CFG and Deinst.CMD, as well as
the IJPB subdirectory by hand: This step is not included in the
automatic deletion process because it contains YOUR configuration
data which cannot be restored by just reinstalling InjoyPB later on.
Configuration
-------------
You can configure the program in two ways, whichever you like more:
1. For an "semi-automatic" configuration use the configuration program
'Config'. Just start it from the Injoy working directory or
doubleclick on the desktop object. It will ask you all the questions
necessary to add or change one of the host definitions within the
InjoyPB configuration file.
2. Edit the InjoyPB.CFG file 'by hand'. It contains all the information
necessary (as comments) to adapt the different entries to your needs.
Just doubleclick on the 'Edit InjoyPB.CFG' object to start the OS/2
system editor.
Note: Don't change the comments in that file, as they are also used
for the 'semi-automatic' configuration!
Note: Changing of a given definition may be easier "by hand" than
"automatic", since "changing" that way actually means redefining,
i.e. re-entering the whole (changed) definition
If you want to call InjoyPB for other than the "default" host you will
have to copy the original program object and adapt the "parameters" line
in the "settings": Just replace "default" by the name of the host
definition you want to use. 'Config' does this step automatically for
newly defined hosts, if you want.
Configuration remarks
---------------------
The configuration options of InjoyPB are such that they accomodate all the
strange tariff systems I know - but I do actually know only very few.
Anyway, configuration is rather flexible, so I hope that most systems will
fit into it somehow. If not: Just send me an email (cbockem@datacomm.ch)
giving all the necessary details of your tariff system, so I can possibly
adapt the program, but no promises of course: I wrote the program for my own
purposes in the first place and I MIGHT have to set other priorities at a
given moment. But asking doesn't cost you anything ;-)
Features included in the actual configuration:
- Using different tariff systems depending on the "host" definition within
InJoy.
- Different "units" (smallest possible "step") and currencies.
- 26 different tariff levels.
- Definition of a custom holiday table, including "moving" holidays like
easter.
- Definition of a "special dates" table for dates where special rates
are applicable.
- Tables indicating which tariff level to use at which time of which
day of the week or holiday.
Features NOT included:
- Using different tariff systems for one and the same "host" definition,
e.g. if you gave a whole list of phone numbers: This information is not
included in the log files produced by InJoy (and not applicable in my
own case :-)).
- Tariff systems depending on the duration of the actual call: This could
probably be included in another version of InjoyPB if it is really
nececcary, but I don't know if such a thing is needed by anybody.
- Many other things I haven't even dreamt of until now...
Workarounds:
- If you are using different phone numbers or have several ways of calling
your provider using different tariff systems: Just define "hosts" for
each of them, so InJoy will produce several log files. Then you can run
InjoyPB once for each of your logs. Tip: Make copies of your program
object and adapt the "parameters" line in the "settings", if you don't
use 'Config' for that purpose.
Files included in this package
------------------------------
InjoyPB.EXE - The program file
InjoyPB.CFG - The configuration file, containing all tariff definitions
ReadMe.DOC - Documentation (this file)
Config.CMD - Configuration of InjoyPB
Install.CMD - Installation of InjoyPB
DeInst.CMD - Deinstallation of InjoyPB
CalcMany.CMD - Calculate phone bill for many hosts and view result with
the system editor
Folder.ICO, InjoyPB.ICO, ConfigA.ICO, ConfigM.ICO, Docs.ICO
- Icons
Contacting the author
---------------------
Please send me an e-mail if
- you are using InjoyPB - I'm just curious how it makes it's way!
- you find any strange behaviour or errors: Please give an exact description
and append example log and cfg files!
- you have any suggestions or wishes for improving InjoyPB - asking costs
nothing!
- you find any errors or strange expressions within this documentation:
I am not a native english-speaker!
My e-mail address: "Cornelis Bockemuehl" <cbockem@datacomm.ch>