aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/init.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/init.pm')
-rwxr-xr-xRpmdrake/init.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 98c3db64..90d411af 100755
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -33,6 +33,12 @@ use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(init warn_about_user_mode $changelog_first $default_list_mode %options $MODE);
+# prevent urpmi.update to run /usr/bin/resize through Term::ReadKey->GetTerminalSize() when xterm is installed
+# (which freezes the GNOME desktop):
+BEGIN {
+ $ENV{COLUMNS} = 80;
+ $ENV{LINES} = 25;
+}
BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk
my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ };