Message-ID: <
20010525111829.A28411@compusol.com.au>
(Slightly modified.)
p4raw-id: //depot/perl@10208
}
my @termcap_path = termcap_path;
+
+ unless (@termcap_path || $entry)
+ {
+ # last resort--fake up a termcap from terminfo
+ local $ENV{TERM} = $term;
+ $entry = `infocmp -C 2>/dev/null`;
+ }
+
croak "Can't find a valid termcap file" unless @termcap_path || $entry;
$state = 1; # 0 == finished