blob: e34796a37bffa0a65dbaa49630e0a14d9a8f3b38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ab,v 1.2 2001/03/10 00:30:06 wulf Exp $
--- kdbg/mainwndbase.cpp.orig Wed Sep 13 03:44:40 2000
+++ kdbg/mainwndbase.cpp Wed Feb 28 00:31:03 2001
@@ -562,7 +562,11 @@
*/
static const char shellScriptFmt[] =
"tty>%s;"
+#ifdef __NetBSD__
+ "trap \"\" 2 3 18;" /* ignore various signals */
+#else
"trap \"\" INT QUIT TSTP;" /* ignore various signals */
+#endif
"exec<&-;exec>&-;" /* close stdin and stdout */
"while :;do sleep 3600;done";
// let config file override this script
|