[Cluster-tech] Client program authors

Dirk Koopman djk at tobit.co.uk
Thu Dec 30 18:18:45 GMT 2004


On Thu, 2004-12-30 at 11:33 +0100, Simon Brown wrote:
> Hi,
> 
> Any chance of an example of this? I use your software to create the web
> pages at http://www.ham-radio.ch/dxc/ and would be interested in any future
> options you may propose.
> 
CC11^14087.2^G3VJP^30-Dec-2004^1753Z^RTTY(needs LA,MT,ND,NM,UT,VT,W^K1HTV^61^226
^WU3V^27^14^8^5^^MD^England-G^CT-Connecticut-W^IO92^FM18
CC11^144370.0^9A3JH^30-Dec-2004^1754Z^tnx qso ! 73'Miky^IW4EOQ^334^85^IK4ICZ-6^2
8^15^28^15^^^Croatia-9A^Italy-Rome-I^JN75^JN64
CC11^144280.0^F1LPV^30-Dec-2004^1758Z^please beam to jn64 for test^IW4EOQ^42^85^
IK4ICZ-6^27^14^28^15^^^France-F^Italy-Rome-I^^JN64
CC11^3500.0^ZL2BSJ^30-Dec-2004^1800Z^after fb opening QRT now!^DL7HU^260^32^DB0E
RF-5^60^32^28^14^^^New-Zealand-ZL^Germany-DL^RE78^
CC11^18069.9^CU7/DL5AXX^30-Dec-2004^1803Z^^K8EJ^24^226^W4TO^36^14^8^4^^TN^Azores
-Is-CU^MI-Michigan-W^^EM75
CC11^14260.4^ZD7ZA^30-Dec-2004^1801Z^up 5-10^HA1DAE^251^69^ED7ZAB-5^66^36^28^15^
^^St-Helena-ZD7^Hungary-HA^^JN87

CC11
frequency
spotted call
date
time
comment
spotter call
spotted country no
spotter country no
origin node call
spotted itu
spotted zone
spotter itu
spotter zone
spotted US/VE state/province
spotter US/VE state/province
spotted decoded country/prefix
spotter decoded country/prefix
spotted QRA square
spotter QRA square

> My software runs under Windows NT with Perl. When you get time it would be
> nice to have a way of adding a spot via a Perl script. I started digging
> into your code but got lost I'm afraid (if there is a way then I'm sorry - I
> haven't found it yet).

You have to login to the node in some way (or have a process that does
that) and then, maybe, send it a dx command in the normal way.

If you are sufficiently interested I could give you a few pointers or
even suggest some sample code. 
 
Essentially you need a client program, such as /spider/perl/console.pl
(but modified) which is logged into the node. You then talk to that
program with a socket, rather than STDIN. Hacking console.pl to do this
would actually mean chopping quite a bit out and adding an accept
handler (to cope with incoming connects from the web service).

Personally, I would then send it PC11s rather than have it do a dx
command (on further thought). You can then control whose callsign the
spot goes out as.

It really isn't hard, honest. Just a small state machine and some socket
programming. Everything is in ASCII and in lines of text.

Dirk




More information about the Cluster-tech mailing list