Package: sl
Version: 3.03-15
Severity: wishlist
Tags: patch

Hi,
sl should ignore STRG-Z, otherwise it isn't really educating. Patch
attached.
 -- Guido
>From 366ebd9d407458f06b935c9085df8f3b0d43128c Mon Sep 17 00:00:00 2001
From: Guido Guenther <[EMAIL PROTECTED]>
Date: Thu, 5 Jun 2008 09:22:29 +0200
Subject: [PATCH] not ignoring STRG-Z isn't educating

---
 debian/patches/00list            |    1 +
 debian/patches/70_sigtstp.dpatch |   17 +++++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100755 debian/patches/70_sigtstp.dpatch

diff --git a/debian/patches/00list b/debian/patches/00list
index f9d89e7..19c043e 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -4,3 +4,4 @@
 40_apply_sl-h
 50_document_for_train
 60_add_LS_man
+70_sigtstp
diff --git a/debian/patches/70_sigtstp.dpatch b/debian/patches/70_sigtstp.dpatch
new file mode 100755
index 0000000..975d469
--- /dev/null
+++ b/debian/patches/70_sigtstp.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_sigtstp.dpatch by <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Not ignoring CTRL-Z isn't educating 
+
[EMAIL PROTECTED]@
+--- a/sl.c.orig	2008-05-26 22:15:38.000000000 +0000
++++ b/sl.c	2008-05-26 22:15:56.000000000 +0000
+@@ -74,6 +74,7 @@
+     if (INTR == 0) {
+         signal(SIGINT, SIG_IGN);
+     }
++    signal(SIGTSTP, SIG_IGN);
+     noecho();
+     leaveok(stdscr, TRUE);
+     scrollok(stdscr, FALSE);
-- 
1.5.5.3

Reply via email to