--- telnetd.c-ori 2014-11-27 16:52:52.033601055 +0800 +++ telnetd.c 2014-11-27 16:53:22.096584793 +0800 @@ -610,6 +610,12 @@ localstat (); } #endif + + if (c & 0x01) + { + pty_get_char (0); + } + if (c & TIOCPKT_FLUSHWRITE) { static char flushdata[] = { IAC, DM };