clear/spots [<call>] [input] [<filterno>|all]
Have fun and someone please write the documentation.
+4. Added show/msg_status.pl sysop command (shows some info on what is busy in
+the message system)
31Oct00=======================================================================
1. add 0x8e to the list of characters we clobber (make xterm go into graphics
mode).
#
# $Id$
#
-my $self = shift;
+my ($self, $line) = @_;
return (0, $self->msg('e5')) if $self->priv < 5;
my @out;
-push @out, "Work Queue";
-for (keys %DXMsg::work) {
- push @out, "$_ : $DXMsg::work{$_}\n";
+if (!$line || $line =~ /^b/i) {
+ push @out, "Busy Queue";
+ push @out, "----------";
+ for (keys %DXMsg::busy) {
+ my $r = $DXMsg::busy{$_};
+ push @out, "$_ : $r->{msgno}, $r->{from} -> $r->{to}, $r->{subject}\n";
+ }
}
-push @out, "Busy Queue";
-for (keys %DXMsg::busy) {
- push @out, "$_ : $DXMsg::busy{$_}\n";
+if (!$line || $line =~ /^w/i) {
+ push @out, "Work Queue";
+ push @out, "----------";
+ for (keys %DXMsg::work) {
+ my $r = $DXMsg::work{$_};
+ push @out, print_all_fields($self, $r, "Msg Parameters $msgno");
+ }
}
+
return (0, @out);
my ($self, $dxchan) = @_;
dbg('msg', "start msg $self->{msgno}\n");
- $self->{linesreq} = 5;
+ $self->{linesreq} = 10;
$self->{count} = 0;
$self->{tonode} = $dxchan->call;
$self->{fromnode} = $main::mycall;