projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rbn, ve7cc improvements and fixes
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index ec2201cee725b941dcff95c9c8f682dcd5cea038..2e9724e9ed78c4c6da3b95e85673f7eea183f309 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-43,7
+43,7
@@
sub pc10
$origin ||= $main::mycall;
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
$origin ||= $main::mycall;
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
- $text =~ s/\^/
%5E
/g;
+ $text =~ s/\^/
~
/g;
return "PC10^$from^$user1^$text^*^$user2^$origin^~";
}
return "PC10^$from^$user1^$text^*^$user2^$origin^~";
}
@@
-54,7
+54,7
@@
sub pc11
my $hops = get_hops(11);
my $t = time;
$text = ' ' if !$text;
my $hops = get_hops(11);
my $t = time;
$text = ' ' if !$text;
- $text =~ s/\^/
%5E
/g;
+ $text =~ s/\^/
~
/g;
return sprintf "PC11^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$hops^~", $freq, cldate($t), ztime($t);
}
return sprintf "PC11^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$hops^~", $freq, cldate($t), ztime($t);
}
@@
-65,7
+65,7
@@
sub pc61
my $hops = get_hops(61) || get_hops(11);
my $t = time;
$text = ' ' if !$text;
my $hops = get_hops(61) || get_hops(11);
my $t = time;
$text = ' ' if !$text;
- $text =~ s/\^/
%5E
/g;
+ $text =~ s/\^/
~
/g;
return sprintf "PC61^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$ipaddr^$hops^~", $freq, cldate($t), ztime($t);
}
return sprintf "PC61^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$ipaddr^$hops^~", $freq, cldate($t), ztime($t);
}
@@
-75,7
+75,7
@@
sub pc12
my ($call, $text, $tonode, $sysop, $wx, $origin) = @_;
my $hops = get_hops(12);
$text ||= ' ';
my ($call, $text, $tonode, $sysop, $wx, $origin) = @_;
my $hops = get_hops(12);
$text ||= ' ';
- $text =~ s/\^/
%5E
/g;
+ $text =~ s/\^/
~
/g;
$tonode ||= '*';
$sysop ||= ' ';
$wx ||= '0';
$tonode ||= '*';
$sysop ||= ' ';
$wx ||= '0';
@@
-232,7
+232,7
@@
sub pc29
{
my ($fromnode, $tonode, $stream, $text) = @_;
$text = ' ' unless defined $text && length $text > 0;
{
my ($fromnode, $tonode, $stream, $text) = @_;
$text = ' ' unless defined $text && length $text > 0;
- $text =~ s/\^/
%5E/og;
# remove ^
+ $text =~ s/\^/
~/g;
# remove ^
return "PC29^$fromnode^$tonode^$stream^$text^~";
}
return "PC29^$fromnode^$tonode^$stream^$text^~";
}