From: ceriel Date: Thu, 26 Mar 1987 17:36:49 +0000 (+0000) Subject: Initial revision X-Git-Tag: release-5-5~4325 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e190db812885d35e2a472c64bab1e799ccef1858;p=ack.git Initial revision --- diff --git a/include/_tail_cc/sgtty.h b/include/_tail_cc/sgtty.h new file mode 100644 index 000000000..7a0056a20 --- /dev/null +++ b/include/_tail_cc/sgtty.h @@ -0,0 +1,17 @@ +#ifdef __CHANNEL__ +#define TIOCGETP (('t'<<8)|8) +#define TIOCSETN (('t'<<8)|10) +struct sgttyb { + char sg_ispeed; + char sg_ospeed; + char sg_erase; + char sg_kill; + short sg_flags; +}; + +#define CBREAK 02 +#define ECHO 010 +#define CRMOD 020 +#else +#include "/usr/include/sgtty.h" +#endif