X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXVars.pm;h=145631fd53b74b12b50b38e42787f1689e50c779;hb=a0cf638d2ec10e9f464bb749cf1b70fd105baf9f;hp=5baf3a6790bfd98d401db06edbc04dc3a470bc76;hpb=07ea293f3919d2da76220b5fbc55b734008ed44c;p=spider.git diff --git a/perl/DXVars.pm b/perl/DXVars.pm index 5baf3a67..145631fd 100644 --- a/perl/DXVars.pm +++ b/perl/DXVars.pm @@ -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,20 +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'; # 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"; @@ -90,4 +90,4 @@ $userfn = "$data/users"; $motd = "$data/motd"; # are we debugging ? -@debug = ('chan'); +@debug = ('chan', 'state', 'msg');