From: downsj Date: Sun, 15 Dec 1996 22:33:56 +0000 (+0000) Subject: Compile X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=234f0a7c439b096c347939aa1a97da0a52507c9a;p=openbsd Compile --- 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;