# HG changeset patch # User jwe # Date 764896992 0 # Node ID 5bde2100598ae5c2f7100218a9cbc67b557c12a1 # Parent ee3da0884aaabd66f9950dc9ce871ec935665e8a [project @ 1994-03-28 23:23:12 by jwe] diff --git a/info/terminal.c b/info/terminal.c --- a/info/terminal.c +++ b/info/terminal.c @@ -627,10 +627,10 @@ tcgetattr (tty, &original_termios); tcgetattr (tty, &ttybuff); ttybuff.c_iflag &= (~ISTRIP & ~INLCR & ~IGNCR & ~ICRNL & ~IXON); -#if defined (NeXT) +#if defined (OCRNL) + ttybuff.c_oflag &= (~ONLCR & ~OCRNL); +#else ttybuff.c_oflag &= (~ONLCR); -#else - ttybuff.c_oflag &= (~ONLCR & ~OCRNL); #endif ttybuff.c_lflag &= (~ICANON & ~ECHO); @@ -650,10 +650,10 @@ ioctl (tty, TCGETA, &original_termio); ioctl (tty, TCGETA, &ttybuff); ttybuff.c_iflag &= (~ISTRIP & ~INLCR & ~IGNCR & ~ICRNL & ~IXON); -#if defined (NeXT) +#if defined (OCRNL) + ttybuff.c_oflag &= (~ONLCR & ~OCRNL); +#else ttybuff.c_oflag &= (~ONLCR); -#else - ttybuff.c_oflag &= (~ONLCR & ~OCRNL); #endif ttybuff.c_lflag &= (~ICANON & ~ECHO);