Browse Source

Fix for sunos

Andrew Pamment 7 years ago
parent
commit
aaa9b9444d
1 changed files with 2 additions and 0 deletions
  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