summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-02-23 21:04:50 +0000
committerErik Troan <ewt@redhat.com>2000-02-23 21:04:50 +0000
commit9118274a4e9df2a574cecc169e5fbca4dc98d2f9 (patch)
treeb5c9aa7b945a00eab9659d8e81089da31c630af0 /text.py
parent51f5a9e60eea5c47de006440b23e33a996fff3dd (diff)
downloadanaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.tar.gz
anaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.tar.xz
anaconda-9118274a4e9df2a574cecc169e5fbca4dc98d2f9.zip
various changes to get better ^C, ^Z handling
Diffstat (limited to 'text.py')
-rw-r--r--text.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/text.py b/text.py
index 66c81e8e8..5c07d01ae 100644
--- a/text.py
+++ b/text.py
@@ -8,6 +8,7 @@ import rpm
import time
import gettext_rh
import glob
+import signal
cat = gettext_rh.Catalog ("anaconda", "/usr/share/locale")
@@ -1002,6 +1003,8 @@ class InstallInterface:
self.individual = Flag(0)
self.step = 0
self.dir = 1
+ signal.signal(signal.SIGINT, signal.SIG_IGN)
+ signal.signal(signal.SIGTSTP, signal.SIG_IGN)
def __del__(self):
self.screen.finish()