2 # Query the PineKnot Database server for a callsign
4 # from an idea by Steve Franke K9AN and information from Angel EA7WA
8 my ($self, $line) = @_;
9 my @list = split /\s+/, $line; # generate a list of callsigns
11 my $call = $self->call;
14 return (1, "SHOW/CALL <callsign>, e.g. SH/CALL g1tlh") unless @list;
18 my $t = new Net::Telnet;
20 push @out, $self->msg('call1', 'AA6HF');
22 $t->open(Host => "jeifer.pineknot.com",
27 Log('call', "$call: show/call \U$l");
28 while (my $result = $t->getline) {
33 push @out, $self->msg('e18', 'AA6HF');