diff srogue/mdport.c @ 119:458df24e973d

srogue: use functions from mdport.c. Shell escape, passwd entries, terminal settings, and most signal handling is now done with the more portable md_* functions.
author John "Elwin" Edwards
date Wed, 30 Apr 2014 14:46:30 -0700
parents 8d1dfc5a912c
children d6b7c3fb37ea
line wrap: on
line diff
--- a/srogue/mdport.c	Sun Apr 27 08:29:14 2014 -0700
+++ b/srogue/mdport.c	Wed Apr 30 14:46:30 2014 -0700
@@ -210,6 +210,9 @@
 #ifdef SIGTERM
     signal(SIGTERM, exit);
 #endif
+#ifdef SIGINT
+    signal(SIGINT, exit);
+#endif
 }
 
 extern void auto_save(int sig);