SCCS-vsn: usr.bin/telnet/utilities.c 1.9
-static char sccsid[] = "@(#)utilities.c 1.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)utilities.c 1.9 (Berkeley) %G%";
#endif /* not lint */
#define TELOPTS
#endif /* not lint */
#define TELOPTS
if (In3270) {
Finish3270();
}
if (In3270) {
Finish3270();
}
+#else /* defined(TN3270) */
+ do {
+ telrcv(); /* Process any incoming data */
+ EmptyTerminal();
+ } while (ring_full_count(&netiring)); /* While there is any */
#endif /* defined(TN3270) */
setcommandmode();
fflush(stdout);
#endif /* defined(TN3270) */
setcommandmode();
fflush(stdout);