projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added ping and rcmd commands
[spider.git]
/
perl
/
DXVars.pm
diff --git
a/perl/DXVars.pm
b/perl/DXVars.pm
index df78142901df1450ee09102494ffa5345dc3ea1b..b35689bcbda100f9f21460debf19f42f963bc611 100644
(file)
--- a/
perl/DXVars.pm
+++ b/
perl/DXVars.pm
@@
-2,28
+2,34
@@
# The system variables - those indicated will need to be changed to suit your
# circumstances (and callsign)
#
# The system variables - those indicated will need to be changed to suit your
# circumstances (and callsign)
#
+# Copyright (c) 1998 - Dirk Koopman G1TLH
+#
+# $Id$
+#
package main;
require Exporter;
@ISA = qw(Exporter);
package main;
require Exporter;
@ISA = qw(Exporter);
-@EXPORT_OK = qw($mycall $myname $my
normalcall
$mylatitude $mylongtitude $mylocator
- $myqth $myemail $myprot
+@EXPORT_OK = qw($mycall $myname $my
alias
$mylatitude $mylongtitude $mylocator
+ $myqth $myemail $myprot
_version
$clusterport $clusteraddr $debugfn
$clusterport $clusteraddr $debugfn
- $def_hopcount $root $data $system $cmd
- $userfn
+ $def_hopcount $data $system $cmd
+ $userfn $motd $local_cmd $mybbsaddr
+ $lang
+ $pc50_interval, $user_interval
);
# this really does need to change for your system!!!!
);
# this really does need to change for your system!!!!
-$mycall = "GB7
TLH
";
+$mycall = "GB7
DJK
";
# your name
$myname = "Dirk";
# Your 'normal' callsign
# your name
$myname = "Dirk";
# Your 'normal' callsign
-$my
normalcall
= "G1TLH";
+$my
alias
= "G1TLH";
# Your latitude (+)ve = North (-)ve = South in degrees and decimal degrees
$mylatitude = +52.68584579;
# Your latitude (+)ve = North (-)ve = South in degrees and decimal degrees
$mylatitude = +52.68584579;
@@
-38,25
+44,29
@@
$mylocator = "JO02LQ";
$myqth = "East Dereham, Norfolk";
# Your e-mail address
$myqth = "East Dereham, Norfolk";
# Your e-mail address
-$myemail = "djk@tobit.co.uk";
+$myemail = "djk\@tobit.co.uk";
+
+# Your BBS addr
+$mybbsaddr = "G1TLH\@GB7TLH.#35.GBR.EU";
+
+# the default language (the key used must match the one in the Messages file)
+$lang = 'en';
-# the tcp address of the cluster and so does this !!!
-$clusteraddr = "dirk1.tobit.co.uk";
+# the tcp address of the cluster this can be an address of an ethernet port
+# but this is more secure. For normal use this will be fine.
+$clusteraddr = "localhost";
# the port number of the cluster (just leave this, unless it REALLY matters to you)
$clusterport = 27754;
# the port number of the cluster (just leave this, unless it REALLY matters to you)
$clusterport = 27754;
-#
cluster debug file
-$
debugfn = "/tmp/debug_cluster"
;
+#
your favorite way to say 'Yes'
+$
yes = 'Yes'
;
-#
the version of DX cluster (tm) software I am masquerading as
-$
myprot = "5447"
;
+#
your favorite way to say 'No'
+$
no = 'No'
;
-# default hopcount to use - note this will override any incoming hop counts, if they are greater
-$def_hopcount = 7;
-
-# root of directory tree for this system
-$root = "/spider";
+# the interval between unsolicited prompts if not traffic
+$user_interval = 11*60;
# data files live in
$data = "$root/data";
# data files live in
$data = "$root/data";
@@
-67,5
+77,14
@@
$system = "$root/sys";
# command files live in
$cmd = "$root/cmd";
# command files live in
$cmd = "$root/cmd";
+# local command files live in (and overide $cmd)
+$localcmd = "$root/local_cmd";
+
# where the user data lives
$userfn = "$data/users";
# where the user data lives
$userfn = "$data/users";
+
+# the "message of the day" file
+$motd = "$data/motd";
+
+# are we debugging ?
+@debug = ('chan', 'state', 'msg');