Hey all,

Sometime ago, there was a request to have a web version of
dialmon or dctrl.  I have been burning the midnight oil lately
learning about CGI and the web.  For a simple project I wrote
a CGI app that links to the diald fifo, starts a monitor session
and dumps the raw data to a text screen in a web browser.
The app is rather crude but does have all the basic guts that
one could improve on for something that we all could use.

Included in this message is a gzipped tar file that has the C source
code, a Makefile and a basic HTML file to update automatically.
The files are:

Makefile  (That generates Dialmon.cgi and stuffs it into the
Apache (httpd) cgi-bin area with proper permissions)

dialmon.c  (not to be confused with other versions out there)

dialmon.html  (a simple script that updates the screen every
twenty seconds)
-----------------------

The only problem that I had and couldn't see a good work
around for was having to change the owner of the diald fifo
to "nobody" in order to get outside access to start the monitor
pipe.  That is an exercise I left for the hackers out there.

Enjoy,

Matt Watts
[EMAIL PROTECTED]




begin 666 diald-web.tar.gz
M'XL(`'@"[S4``^U7_U/B1A3WU^Y?\1J]&U @X7M/"7.*<-(BN0+VIG-UG)!L
M(&.2S83%+VW]W_MVDX GZOWB7>TT'S'LOGW[OK_-4E)MU_1\%JA;WPQ0TYKU
M.FR!@/;@.YE H]ZL-K2RIE4`REJCW-R"^K<S:8WE@IL1P%;$&'^.[VOK_U&4
M5OD_-2^IXWKTY75@4ANUVM/YK^-BDG^M6J]B_BO5&N9?>WE3-O$_S_\V3.84
MTMR#PR*8+EW/=H,9F&!;//+ FKE ;ZBUY.;4HV2;D,Z'?J\_Z.IP'!=/"5E(
MIZ/#S+)(IS<X_##6H6A4H.C7?FI \9/I>5 ,W9 2,AYUQJ"#G>XDQM'/]PF,
MD))58OODAYU<IY,'?$J!>2A:L+.+&PB28@/R^[@L]N<?X6:P\WZ];,U]9D-3
MTY J9NPZ@(!-F7V['W_%]!#-%/O4.?.I.N<\M%5TKCAU`T+0"Z$P54Z(Y5$S
M0$LC'XI.JNL>!U@LHN3?SO%S6/=_&O\Y][V7U8']_^SY7]4:J_YOU/$L*%<K
ME6K6_]\#+9'N=FM.3;O=XB[W:'M,HRL:P9B;?+EHJ3&QI4H6TO(I-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