Setting ISIG on termios, so control signals are passed as
authorlbatlle@npdl268.bpo.hp.com
Thu, 04 Oct 2007 14:35:35 +0200
changeset 52 221240301733
parent 51 da017c618a9c
child 63 6b37b0f2547b
Setting ISIG on termios, so control signals are passed as characters in terminal mode.
user_term.c
--- a/user_term.c	Wed Sep 26 23:46:16 2007 +0200
+++ b/user_term.c	Thu Oct 04 14:35:35 2007 +0200
@@ -25,7 +25,7 @@
     memcpy(&saved_tios, &tios, sizeof(struct termios));
     is_tios_saved = 1;
 
-    tios.c_lflag &= ~(ECHO | ECHONL | ICANON);
+    tios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG);
     /*cfmakeraw(&tios);*/
 
     res = tcsetattr(0, TCSANOW, &tios);