diff options
author | dg <dg@FreeBSD.org> | 1994-08-18 09:16:37 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-18 09:16:37 +0000 |
commit | bf2d1675b9d22bf728594c48826cf94031cbd95d (patch) | |
tree | 86dd531f0bdf6971cb8e6321902639e11db3b2e1 /sys/sys/ttycom.h | |
parent | 7707213479bee67a04ae654271699fd34b117d58 (diff) | |
download | FreeBSD-src-bf2d1675b9d22bf728594c48826cf94031cbd95d.zip FreeBSD-src-bf2d1675b9d22bf728594c48826cf94031cbd95d.tar.gz |
Added support for TIOCSTAT ioctl. This allows shells that use raw/cbreak
tty modes to process a control-T and do the right thing.
Diffstat (limited to 'sys/sys/ttycom.h')
-rw-r--r-- | sys/sys/ttycom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h index 899cee0..13c6125 100644 --- a/sys/sys/ttycom.h +++ b/sys/sys/ttycom.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ttycom.h 8.1 (Berkeley) 3/28/94 - * $Id$ + * $Id: ttycom.h,v 1.3 1994/08/02 07:53:56 davidg Exp $ */ #ifndef _SYS_TTYCOM_H_ @@ -115,6 +115,7 @@ struct winsize { #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */ #define TIOCUCNTL _IOW('t', 102, int) /* pty: set/clr usr cntl mode */ +#define TIOCSTAT _IOW('t', 101, int) /* simulate a control-T status msg */ #define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */ #define TIOCCONS _IOW('t', 98, int) /* become virtual console */ #define TIOCSCTTY _IO('t', 97) /* become controlling tty */ |