/* TTY structure as used/returned by stty()/gtty() call. */ struct sgargs { char ispeed, ospeed; char erase, kill; int mode; }; #define SG_HUPCL 01 #define SG_XTABS 02 #define SG_LCASE 04 #define SG_ECHO 010 #define SG_CRMOD 020 #define SG_RAW 040 #define SG_ODDP 0100 #define SG_EVENP 0200 #define SG_NLDLY 001400 #define SG_TBDLY 006000 #define SG_CRDLY 030000 #define SG_VTDLY 040000 #define SG_BSDLY 040000