]> dxcluster.net Git - spider.git/commitdiff
Merge branch 'master' of /scm/spider
authorDirk Koopman <djk@tobit.co.uk>
Sat, 8 Mar 2014 00:44:26 +0000 (00:44 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Sat, 8 Mar 2014 00:44:26 +0000 (00:44 +0000)
perl/call.pl [deleted file]

diff --git a/perl/call.pl b/perl/call.pl
deleted file mode 100755 (executable)
index 8c089e0..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Query the PineKnot Database server for a callsign
-#
-# from an idea by Steve Franke K9AN and information from Angel EA7WA
-#
-#
-#
-my ($self, $line) = @_;
-my @list = split /\s+/, $line;               # generate a list of callsigns
-my $l;
-my $call = $self->call;
-my @out;
-
-return (1, "SHOW/CALL <callsign>, e.g. SH/CALL g1tlh") unless @list;
-
-use Net::Telnet;
-
-my $t = new Net::Telnet;
-
-push @out, $self->msg('call1', 'AA6HF');
-foreach $l (@list) {
-       $t->open(Host     =>  "jeifer.pineknot.com",
-                        Port     =>  1235,
-                        Timeout  =>  5);
-       if ($t) {
-               $t->print(uc $l);
-               Log('call', "$call: show/call \U$l");
-               while (my $result = $t->getline) {
-                       push @out,$result;
-               }
-               $t->close;
-       } else {
-               push @out, $self->msg('e18', 'AA6HF');
-       }
-}
-
-return (1, @out);