BSD 4_3_Reno release
[unix-history] / usr / src / usr.bin / telnet / terminal.c
index 1886941..559ad97 100644 (file)
@@ -2,11 +2,23 @@
  * Copyright (c) 1988 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1988 Regents of the University of California.
  * All rights reserved.
  *
- * %sccs.include.redist.c%
+ * Redistribution and use in source and binary forms are permitted provided
+ * that: (1) source distributions retain this entire copyright notice and
+ * comment, and (2) distributions including binaries display the following
+ * acknowledgement:  ``This product includes software developed by the
+ * University of California, Berkeley and its contributors'' in the
+ * documentation or other materials provided with the distribution and in
+ * all advertising materials mentioning features or use of this software.
+ * Neither the name of the University nor the names of its contributors may
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)terminal.c 1.20 (Berkeley) %G%";
+static char sccsid[] = "@(#)terminal.c 1.21 (Berkeley) 6/28/90";
 #endif /* not lint */
 
 #include <arpa/telnet.h>
 #endif /* not lint */
 
 #include <arpa/telnet.h>
@@ -23,35 +35,35 @@ char        ttyobuf[2*BUFSIZ], ttyibuf[BUFSIZ];
 int termdata;                  /* Debugging flag */
 
 #ifdef USE_TERMIO
 int termdata;                  /* Debugging flag */
 
 #ifdef USE_TERMIO
-# ifndef VDISCARD
-char termFlushChar;
+# ifndef VFLUSHO
+cc_t termFlushChar;
 # endif
 # ifndef VLNEXT
 # endif
 # ifndef VLNEXT
-char termLiteralNextChar;
+cc_t termLiteralNextChar;
 # endif
 # ifndef VSUSP
 # endif
 # ifndef VSUSP
-char termSuspChar;
+cc_t termSuspChar;
 # endif
 # ifndef VWERASE
 # endif
 # ifndef VWERASE
-char termWerasChar;
+cc_t termWerasChar;
 # endif
 # ifndef VREPRINT
 # endif
 # ifndef VREPRINT
-char termRprntChar;
+cc_t termRprntChar;
 # endif
 # ifndef VSTART
 # endif
 # ifndef VSTART
-char termStartChar;
+cc_t termStartChar;
 # endif
 # ifndef VSTOP
 # endif
 # ifndef VSTOP
-char termStopChar;
+cc_t termStopChar;
 # endif
 # ifndef VEOL
 # endif
 # ifndef VEOL
-char termForw1Char;
+cc_t termForw1Char;
 # endif
 # ifndef VEOL2
 # endif
 # ifndef VEOL2
-char termForw2Char;
+cc_t termForw2Char;
 # endif
 #else
 # endif
 #else
-char termForw2Char;
+cc_t termForw2Char;
 #endif
 
 /*
 #endif
 
 /*