/* Dear "get archive/unpack/do_not_read_dox/compile/run" users : configuration instructions section begins below, just after "Main configuration" Thank you for your att (I do not write anything more since usually nobody read this sort of stuff. Except you. Err... and me. Uck.) */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. <...> Name : uuPollChk Status : public (GPL), quick hack ! Purpose : check the last date/time of any UUCP session and requires an UUCP poll (<=> touches /var/spool/uucp//C./C.A0000) if the last session is too old Does not use "uustat -m" output (because it is biased by failed dials, no sessions errors reporting ...) => parses the Log file - slurps the entire Log file ONLY if necessary - does not ignore connection errors occured during sessions - ignores the UUCP configuration (ex : data volume limitation when calling/called ...) and state (ex : uustat -a ...) Does not invoke uucico (cron may do it !) Context : Any Unix machine, UUCP (Taylor with Taylor config) Language : ANSI C++, conversion to pure C should be _VERY_ easy Author : Nat.Makarevitch@nataa.fr.eu.org (LINUX!) 1994 to 1997 Diplays : ---- uuPollChk x.yz (last UUCP sessions) : ... --- Format of lines : -- :