summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1996-12-15 22:33:56 +0000
committerdownsj <downsj@openbsd.org>1996-12-15 22:33:56 +0000
commit234f0a7c439b096c347939aa1a97da0a52507c9a (patch)
treea9020b3c83abe3a6927caef761dc6c6414488428
parentConflict, conflict, conflict. Who wants a conflict? (diff)
downloadwireguard-openbsd-234f0a7c439b096c347939aa1a97da0a52507c9a.tar.xz
wireguard-openbsd-234f0a7c439b096c347939aa1a97da0a52507c9a.zip
Compile
-rw-r--r--gnu/usr.bin/texinfo/info/terminal.c4
1 files changed, 4 insertions, 0 deletions
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;