Mercurial > hg > octave-lojdl
changeset 356:6675e5cc11d8
[project @ 1994-02-11 04:26:21 by jwe]
author | jwe |
---|---|
date | Fri, 11 Feb 1994 04:26:21 +0000 |
parents | 1752b1ef8bac |
children | 2debdb7c7c86 |
files | info/terminal.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/info/terminal.c +++ b/info/terminal.c @@ -627,9 +627,12 @@ tcgetattr (tty, &original_termios); tcgetattr (tty, &ttybuff); ttybuff.c_iflag &= (~ISTRIP & ~INLCR & ~IGNCR & ~ICRNL & ~IXON); +#if defined (NeXT) + ttybuff.c_oflag &= (~ONLCR); +#else ttybuff.c_oflag &= (~ONLCR & ~OCRNL); +#endif ttybuff.c_lflag &= (~ICANON & ~ECHO); - ttybuff.c_cc[VMIN] = 1; ttybuff.c_cc[VTIME] = 0;