This is TUA - "The Uucp Analyzer".

Its purpose is to collect all the information that the Honey Dan Ber
or the Taylor versions of the UUCP package put in their various logs,
typically located in a few subdirectories on /usr/spool/uucp. It then
builds up a clear report, showing data from several different points of
view. It may even become an interactive customizable application by
linking in the TCL (Tool Command Language) support.

It is fast, because all the data are maintained in binary trees; and
it has no arbitrary restriction on the size of the logs it can eat.
Very large sites can use the SoftChip Btree Library for faster searches.

It can maintain an history of the connections with the various sites
your machine is connected to, and a last-year summary of the amount of
data you received and transmitted, month-by-month.

You can get, in a chart form, the status of the usage of all your
serial port, so you can easily say when your modem is available for a
new link.

I developed it because the other analyzer I looked at didn't satisfy
my needs.  So I picked up their best features, and put all that stuff
together.

I took care of portability and correctness (I hope ;-). It uses the
GNU Autoconf facility, so it is easily configured for your machine.
No, you don't need GNU Autoconf: I need it to build a Bourne Shell
Script called ``configure'', the "real" autoconfig tool, distributed
with the package. 

TUA is known to work on NeXTs, SCOs, Linuxes, Xenixes, ...

Give it a try, and feel free to modify it. The only thing I ask you is
to send me all your enhancements, or bug fixes, so I can include them
in some future releases.  PLEASE, do not post or spread yourself
patches... I don't like the "dialects" proliferation. Include in your
message (suggestions, bug reports, patches...) the machine and OS type
you are using, so I can eventually customize TUA for your environment.

BTW, "TUA" in italian means "yours": "questa cosa e' TUA" can be
translated with "this stuff is yours".  So even in the name this
package reflects the spirit which inspired me in writing it. I chose
to cover TUA with the GNU General Public License right to protect this
intention.

* COMPILATION

To compile it, first of all you must run "configure". More info about
`configure' and its options are contained in the file `INSTALL'.
`configure' will check your machine and operating system to extract
some information.

These additional option are recogized by configure (defaults are marked
with an asterisk):

`--with-glob' *
`--without-glob'
     Add/Remove Glob Aliases feature

`--with-readline'
`--without-readline' *
     Add/Remove GNU Readline support

`--with-softchip'
`--without-softchip' *
     Add/Remove SoftChip BTree support

`--with-tcl'
`--without-tcl' *
     Add/Remove TCL support

`--enable-taylor' *
`--disable-taylor'
     Enable/Disable Taylor Uucp support

`--enable-hdb'
`--disable-hdb' *
     Enable/Disable HDB Uucp support

When it is done, give a look to the `Makefile' and
edit it to satisfy your needs, then edit `src/customize.h' following its
directives.  Then give a look at `lib/TUA.pcd'. It contains the hourly
telephone costs division applied in several coutries. If you find your
country already there, simply change the

	default = "name_of_your_country";

line near the top of the file as needed. Otherwise, add it yourself,
and remember to send back to me your change; remember to change the
"default" line as above. Refer to the manual for further information
about this file.

Just to let you know, TUA (release 3.3, the first released on usenet)
ate and digested a 178-days-long logs, 4641Kb of /usr/spool/uucp/.Log
and 1650Kb of /usr/spool/uucp/.Admin/xferstats with this timing:

real    4:13.9
user    2:33.0
sys       11.8

on my poor 16Mhz 386 running Xenix 2.3.1, producing 217Kb of reports,
with --command-lists as the only command line option.


Thanks a lot,
Emanuele (Lele for everyday use) Gaifas (Gaifax on the net)
lele@eclipse.it

