diff --git a/appl/telnet/telnetd/termstat.c b/appl/telnet/telnetd/termstat.c index e4a71b16b..a08d7af84 100644 --- a/appl/telnet/telnetd/termstat.c +++ b/appl/telnet/telnetd/termstat.c @@ -48,10 +48,6 @@ int def_row = 0, def_col = 0; static int _terminit = 0; #endif /* LINEMODE */ -#if defined(CRAY2) && defined(UNICOS5) -int newmap = 1; /* nonzero if \n maps to ^M^J */ -#endif - #ifdef LINEMODE /* * localstat @@ -135,14 +131,6 @@ localstat() void netflush(); int need_will_echo = 0; -#if defined(CRAY2) && defined(UNICOS5) - /* - * Keep track of that ol' CR/NL mapping while we're in the - * neighborhood. - */ - newmap = tty_isnewmap(); -#endif /* defined(CRAY2) && defined(UNICOS5) */ - /* * Check for state of BINARY options. */ @@ -579,34 +567,10 @@ clientstat(code, parm1, parm2) break; } /* end of switch */ -#if defined(CRAY2) && defined(UNICOS5) - /* - * Just in case of the likely event that we changed the pty state. - */ - rcv_ioctl(); -#endif /* defined(CRAY2) && defined(UNICOS5) */ - netflush(); } /* end of clientstat */ -#if defined(CRAY2) && defined(UNICOS5) - void -termstat() -{ - needtermstat = 1; -} - - void -_termstat() -{ - needtermstat = 0; - init_termbuf(); - localstat(); - rcv_ioctl(); -} -#endif /* defined(CRAY2) && defined(UNICOS5) */ - #ifdef LINEMODE /* * defer_terminit