$NetBSD: patch-ac,v 1.3 2002/11/26 21:35:35 cjep Exp $ --- kdbg/mainwndbase.cpp.orig Tue Jul 2 14:41:40 2002 +++ kdbg/mainwndbase.cpp Tue Jul 2 14:44:39 2002 @@ -554,7 +554,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