1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-01 17:00:36 +00:00

Clear IGNPAR in cfmakeraw() instead of set it.

This commit is contained in:
Andrey A. Chernov 1995-03-29 19:28:35 +00:00
parent 64a49d2d33
commit 3437da9391
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7471

View File

@ -163,8 +163,8 @@ cfmakeraw(t)
struct termios *t;
{
t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
t->c_iflag |= (IGNBRK|IGNPAR);
t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR);
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);