xmltv/lib/ProgressBar Term.pm,1.1,1.2

Robert Eden <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib/ProgressBar
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21776

Modified Files:
	Term.pm 
Log Message:
define default COLUMNS/LINES for XMLTV::TERM::PROGRESSBAR (needed for xmltv.exe on windows XP)

Index: Term.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/ProgressBar/Term.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Term.pm	7 Sep 2004 18:41:42 -0000	1.1
--- Term.pm	9 Nov 2014 23:40:21 -0000	1.2
***************
*** 10,14 ****
          
          my $class = shift;
!         
          return Term::ProgressBar->new(@_);
          
--- 10,16 ----
          
          my $class = shift;
! 		$ENV{LINES}=24   unless exists $ENV{LINES};
! 		$ENV{COLUMNS}=80 unless exists $ENV{COLUMNS};
! 		
          return Term::ProgressBar->new(@_);
          


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.