The Standard Client


Dirk Koopman G1TLH

Last modified: Sun Apr 1 18:18:19 BST 2001

Introduction

The standard client program is written in C and lives in /spider/src. It performs the interface function between the cluster daemon (/spider/perl/cluster.pl) and AX25 or Telnet connections for incoming connections.

There is a related program called /spider/perl/console.pl which, as of version 1.30, is the standard sysop or full duplex telnet user connected interface program. This is a simple screen oriented program that has a bash or shell like command history editing facility as well as a scrolling cluster window with colouration of particular lines of interest (such as DX spots, Announces etc).

client

The client itself is a rather rudimentary program which really only deals with things like line end conventions and noticing when a connection goes away. It is written in C and thus become considerably smaller.

The client can take up two arguments: a "callsign" and a connection type.

The "callsign" can have the following values:-

  1. A real callsign (!).

    For normal incoming ax25 connections it is important to make sure that the callsign passed DOES NOT have an SSID (use the %u or %U in ax25d.conf). The DXSpider system largely ignores what it regards as 'duplicate' callsigns (and that includes those with SSIDs) except in certain special cases.

  2. login This will cause a unix like login: phase to be run.

The connection type can be:-

  1. ax25 This tells the client to use ax25 line conventions.

  2. telnet This tells the client to use normal unix line conventions.

The connection type can be missing in which case the default is unix line conventions.

If both the callsign and the connection are missing then it is assumed that the client is the sysop and uses the callsign set in your local copy of DXVars.pm.

Considerations

As mentioned earlier, SSIDs are generally stripped from callsigns except in two cases:

  1. For Cluster node callsigns. Although here in the UK we are issued with special callsigns to run cluster nodes and BBSs, this is not universal. Therefore by marking a callsign as a node you disable SSID checking. You will have to treat incoming cluster callsigns specially in ax25d.conf to use this feature (i.e you will have to set up a line specially for that callsign with a %s or %S for the callsign substitution [better just put the callsign you want!]).

  2. The sysop callsign set up in your local copy of DXVars.pm. You must call client.pl with no parameters for this to work.

Files

The client only uses files when in the login phase. It prints the /spider/data/issue file, if it is present, to the user before issuing the login: prompt. After a callsign is entered it uses the standard cluster user file to check it.

Having said all of that the client appears to use the following files and sends them to the user if they are present:-

 


Copyright © 1998 by Dirk Koopman G1TLH. All Rights Reserved
$Id$