LineControl LCP 3.1 Client for Linux,
Copyright (C) 1999-2000 by S. Fuchs <sfuchs@gmx.net>

This client is only usable for linesrv-2.1.1
and probably later versions. It uses LCP3 (32)
to communicate (instead of older LCP3 (3x)).

You may find the Homepage of LineControl at
http://linecontrol.sourceforge.net/

Please have look at the README of the server package for a
description of LineControl. You need this package anyway
because this here is only a Client.

XOSD support:
Edit the Makefile (see comment there for what to do).
After that do 'make osd' instead of 'make'.
Then start the binary osd_lcc in your .xsession file and
terminate it with 'killall -INT osd_lcc' after the windowmanager
got terminated. The configuration of it is the same as for
lcc without xosd support.
For customized xosd output see the file proccmd.c and search
the line 'case CBR3_TPUT:'. In this block (until the break)
happens quite everything.
The used xosd settings can be modified in globals.c. See
globals.h for the 'struct t_osd'.

If you've got any ideas to improve the usefulness of this
Client, so please send a mail to sfuchs@gmx.net.

------------

I was only able to test the compilation and the program on
a SuSE 6.1. The ELF binary of the distribution is for i486 glibc-2.

Just type 'make' to compile the binary. Then edit the file
lcc.conf to suit your environement. Put it to /etc/lcc.conf,
in your home directory or to the directory from which you start
lcc.

------------

The autohangup feature:
with the options -u,-d,-i and -t you can specify criterias under
which the client should automatically go offline.
With -i you specify the number of throughput messages (intervals)
which have to fullfill the criterias -u and -d.
If you specified for example '-i 4 -u 300' the client goes offline
as soon as 4 consequent messages indicated uploads below 300 bytes
per second. With '-i 4 -d 1000 -u 500' the client goes offline as
soon as there were 4 below 1000 B/s download OR 4 below 500 B/s
upload.
With the switch -t you specify a time after which the client has
to go offline.

------------
Commandline switches:

General settings:
-s 192.168.192.1	servers IP
-p 16007		servers tcp port (default 16007)
-n username		a username to authenticate
-w passwd		password of the selected user
-x			passive operation, just watch
			for server messages, stay offline
-g			Get the number of lines that are
			configured and its IDs and names
-l #			Select the line with ID number # (integer)

Autohangup feature:
-u 200			minimal upload rate bytes/sec
-d 200			minimal download rate bytes/sec
-i 3			intervals
-t 60			maximum time in minutes

------------

Good luck

S. Fuchs
sfuchs@gmx.net
