From 14ad5aa657c3565c9437581d5914aa1f518fea13 Mon Sep 17 00:00:00 2001 From: pst Date: Wed, 6 Sep 1995 02:03:36 +0000 Subject: Move erase cleanup outside linemode conditional --- secure/libexec/telnetd/sys_term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'secure/libexec/telnetd/sys_term.c') diff --git a/secure/libexec/telnetd/sys_term.c b/secure/libexec/telnetd/sys_term.c index 5616c38..ed171f1 100644 --- a/secure/libexec/telnetd/sys_term.c +++ b/secure/libexec/telnetd/sys_term.c @@ -1185,9 +1185,9 @@ getptyslave() # endif /* defined(USE_TERMIO) && !defined(CRAY) && (BSD <= 43) */ tty_rspeed((def_rspeed > 0) ? def_rspeed : 9600); tty_tspeed((def_tspeed > 0) ? def_tspeed : 9600); -# ifdef LINEMODE if (erase) termbuf.c_cc[VERASE] = erase; +# ifdef LINEMODE if (waslm) tty_setlinemode(1); # endif /* LINEMODE */ -- cgit v1.1