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
commitf45a6753fc4c5072fba7a8d8858fc49e715e1670 (patch)
tree7c808d995de8352ba84aa7b26fc14a4d89e28784
parent8ca8e15cd4277f7c6265e519bc6d7bf4a8f20afb (diff)
downloaddrakx-backup-do-not-use-f45a6753fc4c5072fba7a8d8858fc49e715e1670.tar
drakx-backup-do-not-use-f45a6753fc4c5072fba7a8d8858fc49e715e1670.tar.gz
drakx-backup-do-not-use-f45a6753fc4c5072fba7a8d8858fc49e715e1670.tar.bz2
drakx-backup-do-not-use-f45a6753fc4c5072fba7a8d8858fc49e715e1670.tar.xz
drakx-backup-do-not-use-f45a6753fc4c5072fba7a8d8858fc49e715e1670.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) :