From: Alan Cox Date: Fri, 2 Jan 2015 10:15:14 +0000 (+0000) Subject: sgtty: stale UZI file - remove X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c47940eaac233fb524457ce9c13a9d44be982a87;p=FUZIX.git sgtty: stale UZI file - remove FUZIX has termios --- diff --git a/Library/include/sgtty.h b/Library/include/sgtty.h deleted file mode 100644 index 3b44eb56..00000000 --- a/Library/include/sgtty.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef _SGTTY_H -#define _SGTTY_H - -/* FIXME: should go away to be replaced with termios */ -#define TIOCGETP 0 -#define TIOCSETP 1 -#define TIOCSETN 2 -/** -#define TIOCEXCL 3 -#define TIOCNXCL 4 -#define TIOCHPCL 5 -**/ -#define TIOCFLUSH 6 -#define TIOCGETC 7 -#define TIOCSETC 8 -#define TIOCTLSET 9 -#define TIOCTLRES 10 - -#define XTABS 0006000 -#define RAW 0000040 -#define CRMOD 0000020 -#define CRLF 0000020 -#define ECHO 0000010 -#define LCASE 0000004 -#define CBREAK 0000002 -#define COOKED 0000000 - - -struct sgttyb { - char sg_ispeed, sg_ospeed; - char sg_erase, sg_kill; - int sg_flags; -}; - -struct tchars { - char t_intrc,t_quit,t_start,t_stop,t_eof; -}; - -#define stty( fd, s) (ioctl(fd, TIOCSETP, s)) -#define gtty( fd, s) (ioctl(fd, TIOCGETP, s)) - -#endif