projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix length calc in spot::formatl
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index c35d21ca1517d7d286185fbb1d1426d685793397..2d43b0f07cae85dc472abeb4f01ec307847fb6fc 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-168,6
+168,7
@@
sub alloc
$self->{oldstate} = 0;
$self->{lang} = $main::lang if !$self->{lang};
$self->{func} = "";
$self->{oldstate} = 0;
$self->{lang} = $main::lang if !$self->{lang};
$self->{func} = "";
+ $self->{width} = 80;
# add in all the dxcc, itu, zone info
my @dxcc = Prefix::extract($call);
# add in all the dxcc, itu, zone info
my @dxcc = Prefix::extract($call);
@@
-718,6
+719,8
@@
sub process_one
$self->enhanced($line);
} elsif ($sort eq 'A' || $sort eq 'O' || $sort eq 'W') {
$self->start($line, $sort);
$self->enhanced($line);
} elsif ($sort eq 'A' || $sort eq 'O' || $sort eq 'W') {
$self->start($line, $sort);
+ } elsif ($sort eq 'C') {
+ $self->width($line); # change number of columns
} elsif ($sort eq 'Z') {
$self->disconnect;
} elsif ($sort eq 'D') {
} elsif ($sort eq 'Z') {
$self->disconnect;
} elsif ($sort eq 'D') {