This software is made available under the GNU public license.

Program name occ (online cost calculator)

occ calculates the phone cost using reports from dip and pppd
in /var/adm/messages, AFTER a login.

It is only tested on a linux PC running dip version 3.3.7n-uri
as I found on slackware 3.4, and with pppd and chat.

To get it working with different distributions, edit
the defines in occ.c PPP_ON and PPP_OFF for whatever pppd
prints on connect and disconnect in /var/adm/messages.

A binary is included for x86,
if you cannot compile, just skip the compile step.


to install:
as root run install-script

to execute 		occ [-a -d -h -l -p -t -x]
to modify phone rates	edit /root/.occrc
to view manual		man occ


Panteltje		jan@panteltje.demon.nl
