From 234f0a7c439b096c347939aa1a97da0a52507c9a Mon Sep 17 00:00:00 2001 From: downsj Date: Sun, 15 Dec 1996 22:33:56 +0000 Subject: [PATCH] Compile --- gnu/usr.bin/texinfo/info/terminal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/usr.bin/texinfo/info/terminal.c b/gnu/usr.bin/texinfo/info/terminal.c index 9c1017696c6..1669f56c0cf 100644 --- a/gnu/usr.bin/texinfo/info/terminal.c +++ b/gnu/usr.bin/texinfo/info/terminal.c @@ -637,7 +637,11 @@ terminal_prep_terminal () #if defined (HAVE_TERMIOS_H) || defined (HAVE_TERMIO_H) ttybuff.c_iflag &= (~ISTRIP & ~INLCR & ~IGNCR & ~ICRNL & ~IXON); +#if defined(OCRNL) ttybuff.c_oflag &= (~ONLCR & ~OCRNL); +#else + ttybuff.c_oflag &= ~ONLCR; +#endif ttybuff.c_lflag &= (~ICANON & ~ECHO); ttybuff.c_cc[VMIN] = 1; -- 2.20.1