Parcourir la source

Fix for sunos

Andrew Pamment il y a 7 ans
Parent
commit
aaa9b9444d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      ODCom.c

+ 2 - 0
ODCom.c

@@ -1796,6 +1796,8 @@ no_fossil:
 			tio_raw.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
 			tio_raw.c_cflag &= ~(CSIZE|PARENB);
 			tio_raw.c_cflag |= CS8;
+			tio_raw.c_cc[VMIN] = 1;
+               		tio_raw.c_cc[VTIME] = 0;
 #else
 			cfmakeraw(&tio_raw);
 #endif