diff options
author | markm <markm@FreeBSD.org> | 2001-08-29 14:16:17 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-08-29 14:16:17 +0000 |
commit | 5987cca2b86151d430e62288a0608ec25c84c045 (patch) | |
tree | 2704c88e81d43025eb2e9acbf5530ba5d0ec8f63 /libexec/telnetd/termstat.c | |
parent | 92c57599167493c3bef125d0aa3416a4f3abf082 (diff) | |
download | FreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.zip FreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.tar.gz |
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
Diffstat (limited to 'libexec/telnetd/termstat.c')
-rw-r--r-- | libexec/telnetd/termstat.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libexec/telnetd/termstat.c b/libexec/telnetd/termstat.c index c36e798..b4fb137 100644 --- a/libexec/telnetd/termstat.c +++ b/libexec/telnetd/termstat.c @@ -52,10 +52,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 @@ -138,14 +134,6 @@ localstat() { 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 changes to flow control if client supports it. */ @@ -564,34 +552,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 |