ONLCR
ip->t.c_oflag |= ONLCR;
ip->t.c_oflag &= ~ONLCR;
{ "onlcr", ONLCR, 0 },
{ "-onlcr", 0, ONLCR },
put("-onlcr", ONLCR, 1);
termios.c_oflag |= (OPOST|ONLCR);
tmp_tc.c_oflag |= ONLCR;
tmp_tc.c_oflag &= ~ONLCR;
termbuf.c_oflag = OPOST|ONLCR|TAB3;
termbuf.c_oflag |= ONLCR|OXTABS;
tio.c_oflag |= (OPOST | ONLCR);
#ifdef ONLCR
TTYMODE(ONLCR, c_oflag, 72)
term.c_oflag = OPOST | ONLCR;
cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r";
tmode.c_oflag |= ONLCR;
SET(oflag, ONLCR|OPOST);
CLR(oflag, ONLCR);
if (bios->c_oflag & ONLCR)
bios->c_oflag |= ONLCR;
#define TTYSUP_OFLAG (OPOST|ONLCR|TAB3|ONOEOT|OCRNL|ONOCR|ONLRET)
if (iflag&ICRNL || oflag&ONLCR)
oflag |= ONLCR;
oflag &= ~ONLCR;
if (CMP_FLAG(o, ONLCR)) {
if (CMP_FLAG(o, ONLCR|ONLRET)) {
#define TTYDEF_OFLAG (OPOST | ONLCR)
{ "onlcr", ONLCR, 0 },
{ "-onlcr", 0, ONLCR },