Use of uninitialized value $s in length at C:/perl/lib/Term/ReadLine/readline.pm line 1783.
Use of uninitialized value $s in length at C:/perl/lib/Term/ReadLine/readline.pm line 1789.
Use of uninitialized value $s in substr at C:/perl/lib/Term/ReadLine/readline.pm line 1800.
The hostname or network address to accept this community name from [RETURN for all]: Use of uninitialized value $dline in length at C:/perl/lib/Term/ReadLine/readline.pm line 2046.
$thislen = &min(length($dline) – $si, $rl_screen_width);
if ($si + $thislen < length($dline)) {
## need to place a ‘>’… make sure to place on first byte.
$thislen– if &OnSecondByte($si+$thislen-1);
substr($dline, $si+$thislen-1,1) = ‘>’;
$have_ket = 1;
}
##
## Now know what to display.
## Must get substr($dline, $si, $thislen) on the screen,
## with the cursor at $D-$si characters from the left edge.
##
$dline = substr($dline, $si, $thislen);
$delta = $D – $si; ## delta is cursor distance from beginning of $dline.
if (defined $bsel) {
$bsel -= $si;
$esel = $delta;
($bsel, $esel) = ($esel, $bsel) if $bsel > $esel;
$bsel = 0 if $bsel < 0;
if ($have_ket) {
$esel = $thislen – 1 if $esel > $thislen – 1;
} else {
$esel = $thislen if $esel > $thislen;
}
}
if ($si >= length($prompt)) { # Keep $dline for $lastredisplay…
$prompt = ($have_bra ? “<” : “”);
$dline = substr $dline, 1; # After prompt
$bsel = 1 if defined $bsel and $bsel == 0;
} else {
$dline = substr($dline, (length $prompt) – $si);
$prompt = substr($prompt,$si);
substr($prompt, 0, 1) = ‘<’ if $si > 0;
}

