Line 0
Link Here
|
|
|
1 |
--- term.c 1997-01-24 17:36:57.000000000 +0100 |
2 |
+++ term.c 2007-12-28 20:12:09.000000000 +0100 |
3 |
@@ -16,7 +16,7 @@ |
4 |
#endif |
5 |
|
6 |
#ifdef LINUX |
7 |
-#include <linux/termios.h> |
8 |
+#include <termios.h> |
9 |
#define stty(fd, data) tcsetattr( fd, TCSETS, data ) |
10 |
#define gtty(fd, data) tcgetattr( fd, data ) |
11 |
#endif |
12 |
@@ -64,7 +64,7 @@ |
13 |
|
14 |
#ifdef LINUX |
15 |
|
16 |
- tty_new.c_lflag &= ~(ICANON | ECHO | RAW | ISIG); |
17 |
+ tty_new.c_lflag &= ~(ICANON | ECHO | ISIG); |
18 |
tcsetattr(1, TCSANOW, &tty_new); |
19 |
restore_tty(); |
20 |
|