added PDX constant
[unix-history] / usr / src / usr.bin / tip / tip.h
index e3bd701..cfbf675 100644 (file)
@@ -1,4 +1,4 @@
-/*     tip.h   4.4     81/07/11        */
+/*     tip.h   4.6     81/12/16        */
 /*
  * tip - terminal interface program
  *
 /*
  * tip - terminal interface program
  *
@@ -10,6 +10,7 @@
 #include <stdio.h>
 #include <pwd.h>
 #include <sys/types.h>
 #include <stdio.h>
 #include <pwd.h>
 #include <sys/types.h>
+#include <ctype.h>
 
 /*
  * Remote host attributes
 
 /*
  * Remote host attributes
@@ -80,9 +81,6 @@ typedef
        acu_t;
 
 #define        equal(a, b)     (strcmp(a,b)==0)/* A nice function to string compare */
        acu_t;
 
 #define        equal(a, b)     (strcmp(a,b)==0)/* A nice function to string compare */
-#define islower(c)     ((c)>='a'&&(c)<='z')
-#define toupper(c)     (c)-=('a'-'A')
-#define isnum(c)       ((c)>='0'&&(c)<= '9')
 #define CTRL(c)                ('c'&037)
 
 /*
 #define CTRL(c)                ('c'&037)
 
 /*
@@ -204,6 +202,7 @@ int quit;                   /* same; but on other end */
 int    intflag;                /* recognized interrupt */
 int    stoprompt;              /* for interrupting a prompt session */
 int    timedout;               /* ~> transfer timedout */
 int    intflag;                /* recognized interrupt */
 int    stoprompt;              /* for interrupting a prompt session */
 int    timedout;               /* ~> transfer timedout */
+int    cumode;                 /* simulating the "cu" program */
 
 char   fname[80];              /* file name buffer for ~< */
 char   copyname[80];           /* file name buffer for ~> */
 
 char   fname[80];              /* file name buffer for ~< */
 char   copyname[80];           /* file name buffer for ~> */