patch by max_b

master
Evgeniy Kozhuhovskiy 20 years ago
parent f9cc46b103
commit b390eec6a0

@ -23,7 +23,7 @@ $news_header = "From: Statistic Robot <postmaster\@fido.xxx.local>\n".
{
print $news_header;
print "\n";
print "\"$system_name\" statistic from <$TimeFirst> to <$TimeLast>\n";
print "\"$station_name\" statistic from <$TimeFirst> to <$TimeLast>\n";
print "\n";
&TotalStatistic();
print "\n";
@ -113,17 +113,10 @@ sub ReadLog
if( ($start == 1) && ($Pid eq $MySexyPid) )
{
if( $Text =~ /^remote is password protected system/ )
{
$Status[$cnt] = "P";
}
elsif( $Text =~ /^remote is listed system/ )
{
$Status[$cnt] = "L";
}
elsif( $Text =~ /^remote is unlisted system/ )
{
$Status[$cnt] = "U";
if( $Text =~ /^remote is (\w+),(\w+)$/ ) {
my $stat_ = $1;
my $sec_ = $2;
$Status[$cnt] = ( $stat_ eq "listed" ? "L" : "U" ) . ( $sec_ eq "protected" ? "P" : "N" );
}
elsif( $Text =~ /^[ \t]*Address :/ )
{
@ -347,19 +340,19 @@ sub sec2str
format HEADER =
ª”” Call : 'I' - Incoming, 'O' - Outgoing
ƒª” Status : 'U' - Unlisted, 'L' - Listed, 'P' - Protected
ƒª” Status : 'U' - Unlisted, 'L' - Listed, 'P' - Protected, 'N' - UnProtected
ƒƒª Session : ' ' - Success, 'A' - Aborted
¥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˆ
ƒ Time ƒStaƒ FTN ƒ On-Line ƒ Incoming ƒ Outgoing ƒ Avg.ƒSpeedƒ
ƒhh:mm-hh:mmƒtusƒ Address ƒhhh:mm:ssƒ Bytesƒ N ƒ Bytesƒ N ƒ CPS ƒ ƒ
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
¥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBF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