fixed the isolation so it seems to work for messages and protocol
[spider.git] / cmd / show / wwv.pl
index ed5022d728d1e131dc62fa4e31bf7849b2feb6b7..e010972604ce738f5e05ebe74fdfbf07b353eb64 100644 (file)
@@ -28,6 +28,9 @@ while ($f = shift @f) {                 # next field
 
 $to = 10 if !$to;
 
-push @out, "Date        Hour   SFI   A   K Forecast                               Logger";
-push @out,  Geomag::print($from, $to, $main::systime);
+push @out, "Date        Hour   SFI   K   A Forecast                               Logger";
+my @in = Geomag::search($from, $to, $main::systime);
+for (@in) {
+       push @out, Geomag::print_item($_);
+}
 return (1, @out);