--- xterm-297.orig/xterm_io.h	2013-01-06 16:20:45.000000000 +0100
+++ xterm-297/xterm_io.h	2013-10-30 17:21:10.000000000 +0100
@@ -66,7 +66,7 @@
 #endif
 
 #ifdef linux
-#define USE_TERMIOS
+#define USE_POSIX_TERMIOS
 #endif
 
 #ifdef __SCO__