X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2Fconsole.pl;h=13f2bfa1873ae9522068d427e217cc5e936c2a24;hp=8de22e8281cd3d6af835fadb875e860ae625e757;hb=d8d7d25e92a56847754a237166ca926adc2199ca;hpb=4b207544da78b182bd12e94eab01451694749012 diff --git a/perl/console.pl b/perl/console.pl index 8de22e82..13f2bfa1 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -13,7 +13,7 @@ # # -require 5.10.1; +require 5.8.1; use warnings; use vars qw($data $clusteraddr $clusterport); @@ -116,7 +116,7 @@ sub do_initscr $mycallcolor = COLOR_PAIR(1) unless $mycallcolor; } -sub do_resize +sub doresize { endwin() if $scr; initscr(); @@ -527,7 +527,7 @@ unless ($DB::VERSION) { $SIG{'HUP'} = \&sig_term; # start up -do_resize(); +doresize(); $SIG{__DIE__} = \&sig_term;