# add a line to the end of the top screen
sub addtotop
{
- $Text::Wrap::Columns = $cols;
while (@_) {
my $inbuf = shift;
my $l = length $inbuf;
if ($l > $cols) {
$inbuf =~ s/\s+/ /g;
if (length $inbuf > $cols) {
+ $Text::Wrap::columns = $cols;
push @sh, split /\n/, wrap('',' ' x 19, $inbuf);
} else {
push @sh, $inbuf;
$SIG{__DIE__} = \&sig_term;
-#$Text::Wrap::Columns = $cols;
+$Text::Wrap::columns = $cols;
my $lastmin = 0;