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
BSD 3 development
[unix-history]
/
usr
/
include
/
sgtty.h
diff --git
a/usr/include/sgtty.h
b/usr/include/sgtty.h
index
be6b89f
..
660461c
100644
(file)
--- a/
usr/include/sgtty.h
+++ b/
usr/include/sgtty.h
@@
-7,12
+7,9
@@
struct sgttyb {
char sg_ospeed; /* output speed */
char sg_erase; /* erase character */
char sg_kill; /* kill character */
char sg_ospeed; /* output speed */
char sg_erase; /* erase character */
char sg_kill; /* kill character */
-
int
sg_flags; /* mode flags */
+
short
sg_flags; /* mode flags */
};
};
-/*
- * List of special characters
- */
struct tchars {
char t_intrc; /* interrupt */
char t_quitc; /* quit */
struct tchars {
char t_intrc; /* interrupt */
char t_quitc; /* quit */
@@
-21,7
+18,6
@@
struct tchars {
char t_eofc; /* end-of-file */
char t_brkc; /* input delimiter (like nl) */
};
char t_eofc; /* end-of-file */
char t_brkc; /* input delimiter (like nl) */
};
-
/*
* Modes
*/
/*
* Modes
*/
@@
-94,10
+90,10
@@
struct tchars {
#define TIOCSETN (('t'<<8)|10)
#define TIOCEXCL (('t'<<8)|13)
#define TIOCNXCL (('t'<<8)|14)
#define TIOCSETN (('t'<<8)|10)
#define TIOCEXCL (('t'<<8)|13)
#define TIOCNXCL (('t'<<8)|14)
-#define TIOHMODE (('t'<<8)|15)
-#define TIOCTSTP (('t'<<8)|16)
+#define TIOCFLUSH (('t'<<8)|16)
#define TIOCSETC (('t'<<8)|17)
#define TIOCGETC (('t'<<8)|18)
#define TIOCSETC (('t'<<8)|17)
#define TIOCGETC (('t'<<8)|18)
+#define TIOCSBRK (('t'<<8)|19)
#define DIOCLSTN (('d'<<8)|1)
#define DIOCNTRL (('d'<<8)|2)
#define DIOCMPX (('d'<<8)|3)
#define DIOCLSTN (('d'<<8)|1)
#define DIOCNTRL (('d'<<8)|2)
#define DIOCMPX (('d'<<8)|3)