+23Nov06=======================================================================
+1. added wrapping to over length lines in console.pl.
03Nov06=======================================================================
1. add CTY-1609 changes
2. add back Geo::Taf code with submitted mods
use IO::File;
use Time::HiRes qw(gettimeofday tv_interval);
use Curses 1.06;
+use Text::Wrap;
use Console;
if ($inbuf =~ s/\x07+$//) {
beep();
}
- push @shistory, $inbuf;
- shift @shistory if @shistory > $maxshist;
+ if (length $inbuf > $cols) {
+ $Text::Wrap::Columns = $cols;
+ push @shistory, wrap('',"\t", $inbuf);
+ } else {
+ push @shistory, $inbuf;
+ }
+ shift @shistory while @shistory > $maxshist;
}
show_screen();
}
#Msg->set_event_handler(\*STDIN, "read" => \&rec_stdin);
+$Text::Wrap::Columns = $cols;
+
my $lastmin = 0;
for (;;) {
my $t;