summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-06 20:33:18 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-06 20:33:18 +0000
commit02b93476259797da8a9d3642796c9ba79a484cbb (patch)
tree7c808d995de8352ba84aa7b26fc14a4d89e28784
parent34a91d29b8b3c4896ce3d410f68ba1d588deae6f (diff)
downloaddrakx-02b93476259797da8a9d3642796c9ba79a484cbb.tar
drakx-02b93476259797da8a9d3642796c9ba79a484cbb.tar.gz
drakx-02b93476259797da8a9d3642796c9ba79a484cbb.tar.bz2
drakx-02b93476259797da8a9d3642796c9ba79a484cbb.tar.xz
drakx-02b93476259797da8a9d3642796c9ba79a484cbb.zip
(main) set geometry for text installer (help Curses)
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/install2.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9b30da0ac..ad5647f57 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,7 @@
- fix crashing if we failed to initialize Curses
- fix double segfault when text installer fails to init
- fix stopping udev
+- set geometry for text installer
Version 13.89 - 02 March 2012
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 4fdba1f57..8917834e2 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -587,6 +587,8 @@ sub main {
}
my $o_;
+ $ENV{COLUMNS} ||= 80;
+ $ENV{LINES} ||= 25;
while (1) {
$o_ = $::auto_install ?
install::steps_auto_install->new($o) :