[Dxspider-support] client and callsigns w/zeros
Ian J Maude
ianmaude at btinternet.com
Fri Jul 21 21:28:54 BST 2000
On Fri, 21 Jul 2000, you wrote:
> Hi Dirk et al,
>
> Here, Spider version 1.42 is not properly handling clients if the callsign
> contains a "0". For example - none of these work: K0AN, W0AN, G0TLH. But
> if the "0" is replaced with anything in the range [1-9], then no problem.
>
> The problem exists with both the C client and the old perl client.
> Specifically, the result of either of these commands:
> /spider/src/client k0an
> /spider/perl/client.pl k0an
>
> is that the client process appears to "hang" and a console message like
> this is generated:
>
> DUFF Line from UN.KNOWN: AK0AN|local
>
> Steve Franke, K9AN
Hi Steve,
This is a known problem. As you can imagine, it hit me very early! ;-)
The fix is simple. Almost at the end of /spider/perl/DXChannel.pm there is a
line..
my ($sort, $call, $line) = $data =~ /^([A-Z])([A-Z1-9\-]{3,9})\|(.*)$/;
change this to read....
my ($sort, $call, $line) = $data =~ /^([A-Z])([A-Z0-9\-]{3,9})\|(.*)$/;
this will solve the problem.
Dirk has already admitted to using a strange substance whilst writing this
section of code ;-))))))
Cheers
Ian
--
Ian Maude G0VGS Morecambe Lancs UK | ianmaude at btinternet.com
Sysop of GB7MBC, the Morecambe Bay Cluster
Running Linux and DXSpider
More information about the Dxspider-support
mailing list