14Mar01=======================================================================
1. first cut at outgoing ax25 /external program connects
2. slight change of interface to connect
+3. added a build number to sh/version
13Mar01=======================================================================
1. implemented first cut at non blocking connect
2. removed memory leakage in connects
#
my @out;
+my $build = $main::version;
-push @out, "DX Spider Cluster version $main::version on \u$^O";
+if (opendir(DIR, "$main::root/perl")) {
+ my @d = readdir(DIR);
+ closedir(DIR);
+ foreach my $fn (@d) {
+ if ($fn =~ /^cluster\.pl$/ || $fn =~ /\.pm$/) {
+ my $f = new IO::File $fn or next;
+ while (<$f>) {
+ if (/^#\s+\$Id:\s+[\w\._]+,v\s+(\d+\.\d+)/ ) {
+ $build += $1;
+ last;
+ }
+ }
+ $f->close;
+ }
+ }
+}
+push @out, "DX Spider Cluster version $main::version (build $build) on \u$^O";
push @out, "Copyright (c) 1998-2001 Dirk Koopman G1TLH";
return (1, @out);