SCCS-vsn: usr.bin/telnet/commands.c 1.20
SCCS-vsn: usr.bin/telnet/sys_bsd.c 1.20
-static char sccsid[] = "@(#)commands.c 1.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)commands.c 1.20 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
#include <netinet/in.h>
#ifdef CRAY
#include <sys/fcntl.h>
#include <netinet/in.h>
#ifdef CRAY
#include <sys/fcntl.h>
#include <signal.h>
#include <netdb.h>
#include <signal.h>
#include <netdb.h>
#include "types.h"
#ifdef SRCRT
#include "types.h"
#ifdef SRCRT
-#if !defined(CRAY)
-#include <netinet/in_systm.h>
-#if !defined(sun)
-#include <machine/endian.h>
-#endif
-#endif
+# ifndef CRAY
+# include <netinet/in_systm.h>
+# ifndef sun
+# include <machine/endian.h>
+# endif /* sun */
+# endif /* CRAY */
Setlist[11].charp = &termEraseChar;
Setlist[12].charp = &termKillChar;
}
Setlist[11].charp = &termEraseChar;
Setlist[12].charp = &termKillChar;
}
static char **
getnextset(name)
static char **
getnextset(name)
-static char sccsid[] = "@(#)sys_bsd.c 1.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)sys_bsd.c 1.20 (Berkeley) %G%";
case SLC_EW: return(&termWerasChar);
case SLC_RP: return(&termRprntChar);
case SLC_LNEXT: return(&termLiteralNextChar);
case SLC_EW: return(&termWerasChar);
case SLC_RP: return(&termRprntChar);
case SLC_LNEXT: return(&termLiteralNextChar);
case SLC_SYNCH:
case SLC_BRK:
case SLC_SYNCH:
case SLC_BRK:
*cols = ws.ws_col;
return 1;
}
*cols = ws.ws_col;
return 1;
}