+15Jul99=======================================================================
+1. Changed grepdbg to accept a regexp. More useful (to me anyway).
+2. Altered init command so that it doesn't send PC21s down the initted
+channel.
10Jul99=======================================================================
1. added an explicit disconnect from my side for already connected calls. This
appears to have fixed a problem where if two consoles connect at the same time
with the same (sysop?) callsign the cluster would stop.
2. added some debugging in the Message handler to allow more state to be seen.
+3. Message handler now seems to work better for longer and doesn't spew out
+PC42 aborts with quite such gay abandon.
05Jul99=======================================================================
1. added stat/msg and stat/cluster commands to allow me to poke about inside
the msg and cluster node tables.
04Jul99=======================================================================
-1. removed silly 'new message has arrived' to connected nodes if message is
+1. removed silly 'new message has arrived' to connected nodes
2. added a ! command to the console.pl program; works like the bash shell.
-addressed to the node call.
01Jul99=======================================================================
1. Altered priv to 5 for connect.pl to match disconnect for nodes
29Jun99=======================================================================
1. fixed merge command that I broke.
2. added some randomness in waittimes for aborted outgoing messages
3. Message Queuing now only occurs every 5 minutes (configurable if anyone
-wants to write the command for doing it) nad on receipt of a PC16. This is
+wants to write the command for doing it) and on receipt of a PC16. This is
a further attempt at sorting the crossing of messages!
4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
going!
#
# reinit a cluster connection
#
+# Copyright (c) 1999 Dirk Koopman G1TLH
+#
+# $Id$
+#
my ($self, $line) = @_;
my @calls = split /\s+/, $line;
my $call;
# first clear out any nodes on this dxchannel
my @gonenodes = map { $_->dxchan == $dxchan ? $_ : () } DXNode::get_all();
foreach my $node (@gonenodes) {
- next if $dxchan == $DXProt::me;
+ next if $node->dxchan == $DXProt::me;
+ next if $node->dxchan == $dxchan;
DXProt::broadcast_ak1a(DXProt::pc21($node->call, 'Gone, re-init') , $dxchan) unless $dxchan->{isolate};
$node->del();
}
$dxchan->send(DXProt::pc38());
$dxchan->send(DXProt::pc18());
+ $dxchan->state('init');
push @out, $self->msg('init1', $call);
}
} else {
last;
}
}
-die "usage: dispdbg [[-nnn] ..] <string>\n" unless $string;
+die "usage: grepdbg [[-nnn] ..] <regexp>\n" unless $string;
push @list, "0" unless @list;
for my $entry (@list) {
while (<$fh>) {
my $line = $_;
chomp $line;
- if ($line =~ m{\Q$string}io) {
+ if ($line =~ m{$string}io) {
my @line = split '\^', $line;
my $t = shift @line;
print atime($t), ' ', join('^', @line), "\n";