Mercurial > hg > octave-avbm
changeset 396:5bde2100598a
[project @ 1994-03-28 23:23:12 by jwe]
author | jwe |
---|---|
date | Mon, 28 Mar 1994 23:23:12 +0000 |
parents | ee3da0884aaa |
children | 9e42358d1f1f |
files | info/terminal.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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);