+25Oct00=======================================================================
+1. fix catchup and uncatchup commands so that they accept ranges
24Oct00=======================================================================
1. added cty.dat from http://www.k1ea.com/cty/index.htm to the prefix_data.pl
data file and modified create_prefix.pl accordingly.
use the script in /spider/connect/<callsign> to effect the 'chat' exchange
necessary to traverse the network(s) to logon to the cluster <callsign>.
-=== 9^CATCH <node call> All|[<msgno> ...]^Mark a message as sent
-=== 9^UNCATCH <node call> All|[msgno> ...]^Unmark a message as sent
+=== 9^CATCHUP <node call> All|[<msgno> ...]^Mark a message as sent
+=== 9^UNCATCHUP <node call> All|[msgno> ...]^Unmark a message as sent
When you send messages the fact that you have forwarded it to another node
is remembered so that it isn't sent again. When you have a new partner
node and you add their callsign to your /spider/msg/forward.pl file, all
be ALL the non-private messages. You can prevent this by using these
commmands:-
- catch GB7DJK all
- catch GB7DJK 300 301 302 303
+ catchup GB7DJK all
+ catchup GB7DJK 300 301 302 303 500-510
and to undo what you have just done:-
- uncatch GB7DJK all
- uncatch GB7DJK 300 301 302 303
+ uncatchup GB7DJK all
+ uncatchup GB7DJK 300 301 302 303 500-510
which will arrange for them to be forward candidates again.
+Order is not important.
+
=== 0^DBAVAIL^Show a list of all the Databases in the system
Title says it all really, this command lists all the databases defined
in the system. It is also aliased to SHOW/COMMAND.
# get a more or less valid set of messages
foreach my $msgno (@f) {
- if ($msgno =~ /^al/oi) {
+ if ($msgno =~ /^al/i) {
@ref = DXMsg::get_all();
last;
+ } elsif (my ($f, $t) = $msgno =~ /(\d+)-(\d+)/) {
+ while ($f < $t) {
+ $ref = DXMsg::get($f++);
+ push @ref, $ref if $ref;
+ }
+ } else {
+ $ref = DXMsg::get($msgno);
+ unless ($ref) {
+ push @out, $self->msg('m13', $msgno);
+ next;
+ }
+ push @ref, $ref;
}
- $ref = DXMsg::get($msgno);
- unless ($ref) {
- push @out, $self->msg('m13', $msgno);
- next;
- }
- push @ref, $ref;
}
foreach $ref (@ref) {
if ($msgno =~ /^al/oi) {
@ref = DXMsg::get_all();
last;
+ } elsif (my ($f, $t) = $msgno =~ /(\d+)-(\d+)/) {
+ while ($f < $t) {
+ $ref = DXMsg::get($f++);
+ push @ref, $ref if $ref;
+ }
+ } else {
+ $ref = DXMsg::get($msgno);
+ unless ($ref) {
+ push @out, $self->msg('m13', $msgno);
+ next;
+ }
+ push @ref, $ref;
}
- $ref = DXMsg::get($msgno);
- unless ($ref) {
- push @out, $self->msg('m13', $msgno);
- next;
- }
- push @ref, $ref;
}
foreach $ref (@ref) {