t_oflag
tp->t_oflag = TTYDEF_OFLAG;
tp->t_oflag = TTYDEF_OFLAG;
tp->t_oflag = TTYDEF_OFLAG;
tp->t_oflag = TTYDEF_OFLAG;
dt->c_oflag = (tp->t_oflag & lt->c_oflag)
tp->t_oflag = t->c_oflag;
if (!ISSET(tp->t_oflag, OPOST))
oflag = tp->t_oflag;
if (c == '\n' && ISSET(tp->t_oflag, ONLCR)) {
else if (c == '\r' && ISSET(tp->t_oflag, OCRNL))
else if (c == '\r' && ISSET(tp->t_oflag, ONOCR) && tp->t_column == 0) {
if (ISSET(tp->t_oflag, ONLCR | ONLRET))
tp->t_oflag = TTYDEF_OFLAG;
tp->t_oflag = TTYDEF_OFLAG;