SCCS-vsn: usr.bin/telnet/defines.h 5.1
SCCS-vsn: usr.bin/telnet/externs.h 5.1
SCCS-vsn: usr.bin/telnet/fdset.h 5.1
SCCS-vsn: usr.bin/telnet/general.h 5.1
SCCS-vsn: usr.bin/telnet/krb4-proto.h 5.1
SCCS-vsn: usr.bin/telnet/network.c 5.1
SCCS-vsn: usr.bin/telnet/ring.c 5.1
SCCS-vsn: usr.bin/telnet/ring.h 5.1
SCCS-vsn: usr.bin/telnet/tn3270.c 5.1
SCCS-vsn: usr.bin/telnet/types.h 5.1
SCCS-vsn: usr.bin/telnet/utilities.c 5.1
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)defines.h 1.10 (Berkeley) %G%
+ * @(#)defines.h 5.1 (Berkeley) %G%
*/
#define settimer(x) clocks.x = clocks.system++
*/
#define settimer(x) clocks.x = clocks.system++
- * Copyright (c) 1988 Regents of the University of California.
+ * Copyright (c) 1988, 1990 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*
* All rights reserved.
*
* %sccs.include.redist.c%
*
- * @(#)externs.h 1.25 (Berkeley) %G%
+ * @(#)externs.h 5.1 (Berkeley) %G%
+#ifndef _POSIX_VDISABLE
+# ifdef sun
+# include <sys/param.h> /* pick up VDISABLE definition, mayby */
+# endif
+# ifdef VDISABLE
+# define _POSIX_VDISABLE VDISABLE
+# else
+# define _POSIX_VDISABLE ((unsigned char)'\377')
+# endif
+#endif
+
#define SUBBUFSIZE 256
extern int errno; /* outside this world */
#define SUBBUFSIZE 256
extern int errno; /* outside this world */
# define termStopChar ntc.t_stopc
# define termForw1Char ntc.t_brkc
extern cc_t termForw2Char;
# define termStopChar ntc.t_stopc
# define termForw1Char ntc.t_brkc
extern cc_t termForw2Char;
+extern cc_t termAytChar;
# define termEofCharp (cc_t *)&ntc.t_eofc
# define termEraseCharp (cc_t *)&nttyb.sg_erase
# define termEofCharp (cc_t *)&ntc.t_eofc
# define termEraseCharp (cc_t *)&nttyb.sg_erase
# define termStopCharp (cc_t *)&ntc.t_stopc
# define termForw1Charp (cc_t *)&ntc.t_brkc
# define termForw2Charp (cc_t *)&termForw2Char
# define termStopCharp (cc_t *)&ntc.t_stopc
# define termForw1Charp (cc_t *)&ntc.t_brkc
# define termForw2Charp (cc_t *)&termForw2Char
+# define termAytCharp (cc_t *)&termAytChar
# else
# define termSuspChar new_tc.c_cc[VSUSP]
# endif
# else
# define termSuspChar new_tc.c_cc[VSUSP]
# endif
-# if !defined(VFLUSHO) && defined(VDISCARD)
-# define VFLUSHO VDISCARD
+# if defined(VFLUSHO) && !defined(VDISCARD)
+# define VDISCARD VFLUSHO
extern cc_t termFlushChar;
# else
extern cc_t termFlushChar;
# else
-# define termFlushChar new_tc.c_cc[VFLUSHO]
+# define termFlushChar new_tc.c_cc[VDISCARD]
# endif
# ifndef VWERASE
extern cc_t termWerasChar;
# endif
# ifndef VWERASE
extern cc_t termWerasChar;
# else
# define termForw2Char new_tc.c_cc[VEOL]
# endif
# else
# define termForw2Char new_tc.c_cc[VEOL]
# endif
+# ifndef VSTATUS
+extern cc_t termAytChar;
+#else
+# define termAytChar new_tc.c_cc[VSTATUS]
+#endif
+# if !defined(CRAY) || defined(__STDC__)
# define termEofCharp &termEofChar
# define termEraseCharp &termEraseChar
# define termIntCharp &termIntChar
# define termEofCharp &termEofChar
# define termEraseCharp &termEraseChar
# define termIntCharp &termIntChar
# define termStopCharp &termStopChar
# define termForw1Charp &termForw1Char
# define termForw2Charp &termForw2Char
# define termStopCharp &termStopChar
# define termForw1Charp &termForw1Char
# define termForw2Charp &termForw2Char
+# define termAytCharp &termAytChar
# else
/* Work around a compiler bug */
# define termEofCharp 0
# else
/* Work around a compiler bug */
# define termEofCharp 0
# define termStopCharp 0
# define termForw1Charp 0
# define termForw2Charp 0
# define termStopCharp 0
# define termForw1Charp 0
# define termForw2Charp 0
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)fdset.h 1.5 (Berkeley) %G%
+ * @(#)fdset.h 5.1 (Berkeley) %G%
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)general.h 1.5 (Berkeley) %G%
+ * @(#)general.h 5.1 (Berkeley) %G%
-static char sccsid[] = "@(#)network.c 1.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)network.c 5.1 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
-static char sccsid[] = "@(#)ring.c 1.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)ring.c 5.1 (Berkeley) %G%";
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)ring.h 1.10 (Berkeley) %G%
+ * @(#)ring.h 5.1 (Berkeley) %G%
-static char sccsid[] = "@(#)tn3270.c 1.21 (Berkeley) %G%";
+static char sccsid[] = "@(#)tn3270.c 5.1 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)types.h 1.4 (Berkeley) %G%
+ * @(#)types.h 5.1 (Berkeley) %G%
-static char sccsid[] = "@(#)utilities.c 1.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)utilities.c 5.1 (Berkeley) %G%";
#endif /* not lint */
#define TELOPTS
#endif /* not lint */
#define TELOPTS