Term::Cap -- Setting terminal type under Windows XP

Term::Cap -- Setting terminal type under Windows XP

am 24.05.2006 19:46:18 von Chubasco

I am trying to get Term::Cap to run under Windows XP. When running the code
snippet below from the Term::Cap documentation, I get the message "TERM not
set at termcapxx.pl line 2". What is the procedure for setting the TERM
terminal type on Windows XP?


require Term::Cap;
$terminal = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
$terminal->Trequire(qw/ce ku kd/);
$terminal->Tgoto('cm', $col, $row, $FH);
$terminal->Tputs('dl', $count, $FH);
$terminal->Tpad($string, $count, $FH);