home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
comms_networking
/
pppmon
/
!ReadMe
next >
Wrap
Text File
|
1998-12-15
|
6KB
|
199 lines
PPPMon V0.12
~~~~~~~~~~~~
Index
~~~~~
1 Introduction & Installation
2 Usage
2.1 Starting up
2.2 The Wimp task
3 Disclaimer & Licensing
4 Bug Reports
5 History
1 Introduction & Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~
PPPMon is a module that adds a new text box to the Voyager toolbar
the shows either the total bytes transmitted and received during
the current connection, or the current reception and transmission
rates.
To install PPPMon, open the Voyager iconbar icon menu, and select
Preference->VIX Manager. Drop the PPPMoo/vix file onto the arrow,
and installation will proceed.
2 Usage
~~~~~
PPPMon provides both a Wimp task (which does the monitoring) and
a new command "pppmon" which can be used to configure it.
The syntax of the new command is:
pppmon <flags> [<update> [<timeout>]]
The first parameter, flags, acts like the BASIC 'LISTO' command -
i.e. it is a set of (currently) 3 switches, set by the values of
the least significant bits:
Bit Meaning
0 (1) Clear: The Voyager toolbar shows the total bytes transmitted
and received.
Set : The toolbar shows the current tx/rx rates.
1 (2) If set, PPPMon will display a warning message when the tx/rx
rates have both been zero for a specified time (if the
timeout parameter is zero, a default of 30 seconds is used
for the delay).
2 (4) If set, PPPMon will sound a beep as well as displaying the
warning message. If bit 1 is clear, setting this bit has
no effect.
Examples:
Flags Meaning
1 Display the rx/tx rates. Do not give a warning when the modem
goes idle.
2 Display total bytes transferred. Give a warning message, but
no audio tone, when the modem goes idle.
7 Display rx/tx rates. Give a warning message and beep when the
modem goes idle.
The second (optional) parameter gives the time (in cs) between updates
of the data.
The third (optional) paramter is the number of seconds that the rx/tx
rates must be zero before displaying a warning message.
All parameters must be integers, greater than or equal to zero; any
other values will generate an error. However, if <update> is > 500
(5 secs), a value of 500 will be used.
An update of zero is interpreted as "No change" (so you can alter
the timeout value without changing the update rate).
NB. It is perfectly legal to change these parameters while connected;
the change will take affect the next time the display is updated.
NNB. If the modem goes idle, causing the warning window to be displayed,
and the modem then becomes active again, the window will automatically
be closed.
2.1 Starting up
~~~~~~~~~~~
PPPMon is automatically started when Voyager is run, and the same
parameters can be passed into the module (when the module is run,
it is legal to provide no parameters - in this case <rate> will be
assumed to be zero and <update> will be 100).
As distributed, PPPMon will be started with flags=7, update=25. If
these values are not to your liking, you can change these default
settings by editing the !Voyager.VIX.PPPMon.!Boot file; it should
be obvious how to do this.
2.2 The wimp task
~~~~~~~~~~~~~
It is now possible to kill the wimp task off using the Task Manager
window, but this will not kill off the module; you must use RMKill
to do this.
If the task or module has been killed off, Voyager will restart it
the next time you connect - it will restart with the same parameters
as the last setting. If, however, you quit Voyager the settings are
lost, and the next time Voyager is started PPPMon will have the
parameters set in the PPPMon !Boot file.
3 Disclaimer & Licensing
~~~~~~~~~~~~~~~~~~~~~~
PPPMon is distributed as is, and the author will not accept any
responsibility for any resultant damage, whatever its form.
PPPMon is FREEWARE, not Public Domain. It should only be copied
and/or distributed in its entirety (including this document),and
copyright remains with me.
4 Bug Reports
~~~~~~~~~~~
Irrespective of the formal disclaimer above, I am perfectly
happy to receive emails describing any bugs discovered, and I
will do my best to fix them quickly. Please try to be precise
as to what went wrong - what you (and Voyager) were doing, what
aberrant behaviour resulted, etc.
Nick Roberts
tigger@argonet.co.uk
5 History
~~~~~~~
Vrsn Description
0.01 First release version (possibly a bit beta!)
0.02 Slight change to formatting of results
Can now kill off the task using the Task Manager
(but this leaves the module in RMA, and the task
cannot be restarted).
Total bytes tx/rx and peak rate send to Voyager
log window.
0.03 Improved obey file to avoid "Module not found"
on Voyager quit if PPPMon has been RMKill'd.
(with thanks to Adny!).
Altered VIX Id so it doesn't clash with AddNewsHdr
Corrected idiotic error in computation of transfer
rate.
Added CRC error count to Voyager window log.
0.04 Very flakey development version, supposedly able to
restart the task from an obey file; not distributed.
0.05 Fix to flakiness in 0.04 - it now seems to work!
(With oodles of thanks to Adny for suggestions!)
Error statistics, if any, sent to Voyager window log.
0.06 Fixed bug which demanded that changes to the !Boot
parameters needed to be duplicated in the !Restart
file.
0.07 Added "timeout" handling. Limited beta release.
0.08 Modified shutdown reporting to Voyager window log to
drop one "unwanted" frame - this is always present,
so reporting it as an error is misleading.
0.09 Timeout window now moveable; audio warning can now
be configured on or off by first parameter flags.
0.10 Corrected syntax message (for *HELP)
Added syntax for Vicen !help
0.11 There are occasions when there isn't a spare
unwanted frame (leading to minus 1 errors). Hence,
the unwanted frame is only dropped if there is
exactly one of them.
0.12 Duration of idle time added to timeout window.