For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > May 2006 > Term::Cap -- Setting terminal type under Windows XP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2006-05-24, 6:58 pm

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);


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com