From f587ced0d4a408b04ab586228994b2756a84469c Mon Sep 17 00:00:00 2001 From: Gregory Minshall Date: Mon, 7 Mar 1988 01:38:26 -0800 Subject: [PATCH] Fix for coming OUT of 3270 mode then back in again (from Tony Li ). SCCS-vsn: usr.bin/tn3270/telnet.c 6.7 --- usr/src/usr.bin/tn3270/telnet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/src/usr.bin/tn3270/telnet.c b/usr/src/usr.bin/tn3270/telnet.c index b116356972..eefa5c0e46 100644 --- a/usr/src/usr.bin/tn3270/telnet.c +++ b/usr/src/usr.bin/tn3270/telnet.c @@ -26,7 +26,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)telnet.c 6.6 (Berkeley) %G%"; +static char sccsid[] = "@(#)telnet.c 6.7 (Berkeley) %G%"; #endif /* not lint */ /* @@ -1857,6 +1857,8 @@ wontoption(option, reply) default: fmt = dont; + hisopts[option] = 0; + break; } sprintf(nfrontp, fmt, option); nfrontp += sizeof (doopt) - 2; @@ -2005,6 +2007,7 @@ SetIn3270() Init3270(); /* Initialize 3270 functions */ /* initialize terminal key mapping */ InitTerminal(); /* Start terminal going */ + LocalClearScreen(); /* Make sure the screen is clear */ setconnmode(); } } else { -- 2.20.1