projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unneeded anymore
[unix-history]
/
usr
/
src
/
usr.bin
/
tip
/
tip.h
diff --git
a/usr/src/usr.bin/tip/tip.h
b/usr/src/usr.bin/tip/tip.h
index
e3bd701
..
87f7a6d
100644
(file)
--- a/
usr/src/usr.bin/tip/tip.h
+++ b/
usr/src/usr.bin/tip/tip.h
@@
-1,4
+1,4
@@
-/* tip.h 4.
4 81/07/11
*/
+/* tip.h 4.
8 82/12/24
*/
/*
* 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,10
+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)
/*
* variable manipulation stuff --
/*
* variable manipulation stuff --
@@
-94,8
+91,8
@@
typedef
typedef
union {
int zz_number;
typedef
union {
int zz_number;
-
short
zz_boolean;
-
char
zz_character;
+
int
zz_boolean;
+
int
zz_character;
int *zz_address;
}
zzhack;
int *zz_address;
}
zzhack;
@@
-204,6
+201,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 ~> */