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
0bdcee2
..
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.
2 81/06/02
*/
+/* 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
@@
-31,6
+32,7
@@
int BR; /* line speed for conversation */
int FS; /* frame size for transfers */
char DU; /* this host is dialed up */
int FS; /* frame size for transfers */
char DU; /* this host is dialed up */
+char HW; /* this device is hardwired, see hunt.c */
/*
* String value table
/*
* String value table
@@
-79,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 --
@@
-93,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;
@@
-203,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 ~> */
@@
-233,6
+232,7
@@
struct capacity {
#ifdef VMUNIX
int odisc; /* initial tty line discipline */
#ifdef VMUNIX
int odisc; /* initial tty line discipline */
+extern int disc; /* current tty discpline */
#endif
extern char *ctrl();
#endif
extern char *ctrl();