added the hooks for internationalisation
[spider.git] / perl / DXVars.pm
index 11c26012735ede6361f65eae60b3ef50ffce02c7..145631fd53b74b12b50b38e42787f1689e50c779 100644 (file)
@@ -13,10 +13,12 @@ require Exporter;
 @ISA = qw(Exporter);
 
 @EXPORT_OK = qw($mycall $myname $myalias $mylatitude $mylongtitude $mylocator
-                $myqth $myemail $myprot 
+                $myqth $myemail $myprot_version 
                 $clusterport $clusteraddr $debugfn 
-                $def_hopcount $root $data $system $cmd
+                $def_hopcount $data $system $cmd
                                $userfn $motd $local_cmd $mybbsaddr
+                $lang
+                               $pc50_interval, $user_interval
                );
                           
                           
@@ -47,8 +49,12 @@ $myemail = "djk\@tobit.co.uk";
 # Your BBS addr
 $mybbsaddr = "G1TLH\@GB7TLH.#35.GBR.EU";
 
-# the tcp address of the cluster and so does this !!!
-$clusteraddr = "dirk1.tobit.co.uk";
+# the default language (the key used must match the one in the Messages file)
+$lang = 'en';
+
+# 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;
@@ -56,14 +62,14 @@ $clusterport = 27754;
 # cluster debug file
 $debugfn = "/tmp/debug_cluster";
 
-# the version of DX cluster (tm) software I am masquerading as
-$myprot = "5447";
+# your favorite way to say 'Yes'
+$yes = 'Yes';
 
-# default hopcount to use - note this will override any incoming hop counts, if they are greater
-$def_hopcount = 7;
+# your favorite way to say 'No'
+$no = 'No';
 
-# 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";
@@ -82,3 +88,6 @@ $userfn = "$data/users";
 
 # the "message of the day" file
 $motd = "$data/motd";
+
+# are we debugging ?
+@debug = ('chan', 'state', 'msg');