aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/rlfe/rlfe.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/examples/rlfe/rlfe.c')
-rw-r--r--readline/examples/rlfe/rlfe.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/readline/examples/rlfe/rlfe.c b/readline/examples/rlfe/rlfe.c
index f40b2dd..eacd5ab 100644
--- a/readline/examples/rlfe/rlfe.c
+++ b/readline/examples/rlfe/rlfe.c
@@ -547,14 +547,7 @@ main(int argc, char** argv)
#endif
t.c_lflag &= ~(ICANON | ISIG | ECHO | ECHOCTL | ECHOE | \
- ECHOK | ECHONL
-#if defined (ECHOKE)
- | ECHOKE
-#endif
-#if defined (ECHOPRT)
- | ECHOPRT
-#endif
- );
+ ECHOK | ECHOKE | ECHONL | ECHOPRT );
t.c_iflag &= ~ICRNL;
t.c_iflag |= IGNBRK;
t.c_cc[VMIN] = 1;