From: Todd C. Miller Date: Tue, 18 Jan 2011 16:26:48 +0000 (-0500) Subject: Clear, don't set, OPOST in c_oflag as was intended in 506ad5ae9b4e. X-Git-Tag: SUDO_1_8_0~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f953d8391453c49ba1aebedf2cc6087d7cfe887;p=sudo Clear, don't set, OPOST in c_oflag as was intended in 506ad5ae9b4e. --- diff --git a/common/term.c b/common/term.c index 1e7f7c343..210165e46 100644 --- a/common/term.c +++ b/common/term.c @@ -108,7 +108,7 @@ term_raw(int fd, int isig) term.c_cc[VMIN] = 1; term.c_cc[VTIME] = 0; CLR(term.c_iflag, ICRNL | IGNCR | INLCR | IUCLC | IXON); - SET(term.c_oflag, OPOST); + CLR(term.c_oflag, OPOST); CLR(term.c_lflag, ECHO | ICANON | ISIG | IEXTEN); if (isig) SET(term.c_lflag, ISIG);