summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/sys_bsd.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 15:13:02 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 15:13:02 +0000
commit4273f815ac4db1c4719efa8ace9bc2ef4468c3f3 (patch)
tree0fa0d56da4249488fec32b40f315b6cbcb007feb /usr.bin/telnet/sys_bsd.c
parentd06d89675518db78b573e1bde1a87f8e4387929c (diff)
From NetBSD:
I (tls) seem to have forgotten to commit the patch in PR1608 when I closed it. Fix VLNEXT handling.
Diffstat (limited to 'usr.bin/telnet/sys_bsd.c')
-rw-r--r--usr.bin/telnet/sys_bsd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/telnet/sys_bsd.c b/usr.bin/telnet/sys_bsd.c
index f37e2ac8b38..77fb7e2b7df 100644
--- a/usr.bin/telnet/sys_bsd.c
+++ b/usr.bin/telnet/sys_bsd.c
@@ -33,7 +33,7 @@
#ifndef lint
/* from: static char sccsid[] = "@(#)sys_bsd.c 8.1 (Berkeley) 6/6/93"; */
-static char *rcsid = "$Id: sys_bsd.c,v 1.1 1995/10/18 08:46:14 deraadt Exp $";
+static char *rcsid = "$Id: sys_bsd.c,v 1.2 1996/02/23 15:13:01 niklas Exp $";
#endif /* not lint */
/*
@@ -530,9 +530,7 @@ TerminalNewMode(f)
#ifndef USE_TERMIO
ltc.t_lnextc = _POSIX_VDISABLE;
#else
-# ifdef VLNEXT
- tmp_tc.c_cc[VLNEXT] = (cc_t)(_POSIX_VDISABLE);
-# endif
+ tmp_tc.c_lflag &= ~IEXTEN;
#endif
}