Back out one of my previous changes: don't clear PARODD,

so return to absolute minimum of changed flags now
This commit is contained in:
Andrey A. Chernov 1996-03-28 13:33:18 +00:00
parent ae207687ad
commit 81c280f58f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14870

View File

@ -164,7 +164,7 @@ cfmakeraw(t)
t->c_iflag |= IGNBRK;
t->c_oflag &= ~OPOST;
t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|NOFLSH|TOSTOP|PENDIN);
t->c_cflag &= ~(CSIZE|PARENB|PARODD);
t->c_cflag &= ~(CSIZE|PARENB);
t->c_cflag |= CS8|CREAD;
t->c_cc[VMIN] = 1;
t->c_cc[VTIME] = 0;