home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1984, 1986, 1987, 1988 AT&T */
- /* All Rights Reserved */
-
- /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
- /* The copyright notice above does not evidence any */
- /* actual or intended publication of such source code. */
-
- /* Copyright (c) 1987, 1988 Microsoft Corporation */
- /* All Rights Reserved */
-
- /* This Module contains Proprietary Information of Microsoft */
- /* Corporation and should be treated as Confidential. */
-
- #ident "@(#)head.sys:ttold.h 1.3.1.3"
-
- struct sgttyb {
- unsigned char sg_ispeed;
- unsigned char sg_ospeed;
- unsigned char sg_erase;
- unsigned char sg_kill;
- int sg_flags;
- };
-
- /*
- * List of special characters
- */
- struct tc {
- unsigned char t_intrc;
- unsigned char t_quitc;
- unsigned char t_startc;
- unsigned char t_stopc;
- unsigned char t_eofc;
- unsigned char t_brkc;
- };
-
- #ifdef i386
- #pragma pack()
- #endif
-
- /* modes */
- #define O_HUPCL 01
- #define O_CBREAK 02
- #define O_XTABS 02
- #define O_LCASE 04
- #define O_ECHO 010
- #define O_CRMOD 020
- #define O_RAW 040
- #define O_ODDP 0100
- #define O_EVENP 0200
- #define O_NLDELAY 001400
- #define O_NL1 000400
- #define O_NL2 001000
- #define O_TBDELAY 002000
- #define O_NOAL 004000
- #define O_CRDELAY 030000
- #define O_CR1 010000
- #define O_CR2 020000
- #define O_VTDELAY 040000
- #define O_BSDELAY 0100000
-
- #define O_TAB1 001000
- #define O_TAB2 004000
-
- #define tIOC ('t'<<8)
- #define TIOCGETP (tIOC|8)
- #define TIOCSETP (tIOC|9)
-