+04Jul99=======================================================================
+1. removed silly 'new message has arrived' to connected nodes if message is
+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=======================================================================
$ref->store($ref->{lines});
add_dir($ref);
my $dxchan = DXChannel->get($ref->{to});
- $dxchan->send($dxchan->msg('m9')) if $dxchan;
+ $dxchan->send($dxchan->msg('m9')) if $dxchan && $dxchan->is_user;
Log('msg', "Message $ref->{msgno} from $ref->{from} received from $f[2] for $ref->{to}");
}
}
# save the lines
if ($inbuf) {
+ # check for a pling and do a search back for a command
+ if ($inbuf =~ /^!/o) {
+ my $i;
+ $inbuf =~ s/^!//o;
+ for ($i = $#khistory; $i >= 0; $i--) {
+ if ($khistory[$i] =~ /^$inbuf/) {
+ $inbuf = $khistory[$i];
+ last;
+ }
+ }
+ if ($i < 0) {
+ beep();
+ return;
+ }
+ }
push @khistory, $inbuf if $inbuf;
shift @khistory if @khistory > $maxkhist;
$khistpos = @khistory;