ignore interrupts
diff --git a/src/cmd/samterm/main.c b/src/cmd/samterm/main.c
index 3f232aa..bf0d9a5 100644
--- a/src/cmd/samterm/main.c
+++ b/src/cmd/samterm/main.c
@@ -29,6 +29,14 @@
 #define chording 0	/* code here for reference but it causes deadlocks */
 
 void
+notifyf(void *a, char *msg)
+{
+	if(strcmp(msg, "interrupt") == 0)
+		noted(NCONT);
+	noted(NDFLT);
+}
+
+void
 threadmain(int argc, char *argv[])
 {
 	int i, got, scr, w;
@@ -51,6 +59,8 @@
 	if(open("/dev/tty", OWRITE) < 0)
 		open("/dev/null", OWRITE);
 
+	notify(notifyf);
+
 	if(protodebug) print("getscreen\n");
 	getscreen(argc, argv);
 	if(protodebug) print("iconinit\n");