X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fsend.pl;h=d6e502cd4f1d82840335fe5bed9c1a1ec389adde;hb=ba97b5ce3899461ec8b630cc305c58eff36d301f;hp=ce8db2d0c2cedaf8d247842c5bd5fdaf4090ed39;hpb=0b3e23be9f6feaf115d2faebeb95cd3dcf450a3c;p=spider.git diff --git a/cmd/send.pl b/cmd/send.pl index ce8db2d0..d6e502cd 100644 --- a/cmd/send.pl +++ b/cmd/send.pl @@ -92,8 +92,16 @@ if ($self->state eq "prompt") { ; } elsif ($notincalls && ($f eq 'RR')) { $loc->{rrreq} = '1'; - } elsif ($f eq '@') { # this is bbs syntax, for now lose the rest - last; + } elsif ($f eq '<' && @f) { # this is bbs syntax for from call + $loc->{from} = uc shift @f; + } elsif ($f eq '@' && @f) { # this is bbs syntax, for send it 'to node' + ; + } elsif ($f =~ /^\$/) { # this is bbs syntax for a bid + next; + } elsif ($f =~ /^<\S+/) { # this is bbs syntax for from call + ($loc->{from}) = $f =~ /^<(\S+)$/; + } elsif ($f =~ /^\@\S+/) { # this is bbs syntax for origin + ($loc->{origin}) = $f =~ /^\@(\S+)$/; } else { # callsign ? @@ -138,6 +146,8 @@ if ($self->state eq "prompt") { $self->func("DXMsg::do_send_stuff"); $self->state('send1'); push @out, $self->msg('m1'); +} else { + push @out, $self->msg('m17', $self->state); } return (1, @out);