summaryrefslogtreecommitdiff
path: root/debian/patches/41_nicify_wait.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/41_nicify_wait.patch')
-rw-r--r--debian/patches/41_nicify_wait.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/41_nicify_wait.patch b/debian/patches/41_nicify_wait.patch
new file mode 100644
index 0000000..ad121cc
--- /dev/null
+++ b/debian/patches/41_nicify_wait.patch
@@ -0,0 +1,24 @@
+When --wait is on jack always display "press ENTER to exit" when leaving
+the signal handler. This message is not optimal since it's also displayed
+when you e.g. kill a ripper or encoder. Check whether sig is set and adapt
+the message accordingly.
+
+Depends on 40_enable_term.patch
+
+
+diff -urN jack-3.1.1+cvs20050801~/jack_display.py jack-3.1.1+cvs20050801/jack_display.py
+--- jack-3.1.1+cvs20050801~/jack_display.py 2006-02-21 00:39:23.000000000 +0000
++++ jack-3.1.1+cvs20050801/jack_display.py 2006-02-21 00:39:50.000000000 +0000
+@@ -95,7 +95,10 @@
+ progress("all", "err", "abnormal exit (code %i), check %s and %s" % (exit_code, cf['_err_file'], cf['_out_file']))
+
+ if cf['_wait_on_quit']:
+- raw_input("press ENTER to exit")
++ if sig:
++ raw_input("press ENTER\n")
++ else:
++ raw_input("press ENTER to exit\n")
+
+ if sig:
+ jack_term.enable()
+