Dear Maintainer,
---
term.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/term.c b/term.c
index 670f542..4bbafec 100644
--- a/term.c
+++ b/term.c
@@ -672,10 +672,17 @@ init_term(int full)
#else
#ifdef HAVE_TERMIOS_H
-# ifdef __osf__
cfmakeraw(&raw_tty);
-# endif
+/*
+ * cfmakeraw makes the following according to the man page "cfmakeraw(3)":
+termios_p->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
+termios_p->c_oflag &= ~OPOST;
+termios_p->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
+termios_p->c_cflag &= ~(CSIZE | PARENB);
+termios_p->c_cflag |= CS8;
+ *
+*/
/* read a maximum of 10 characters in one burst; timeout in 1-200 ms */
raw_tty.c_cc[VMIN] = KEY_BURST;