forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / gnu / abc-shell / tty.h
blobcc6a2e534077cccebdc4c049f89a6f97abceced0
1 /*
2 tty.h -- centralized definitions for a variety of terminal interfaces
4 created by DPK, Oct. 1986
6 */
7 /* $Id$ */
9 /* some useful #defines */
10 #ifdef EXTERN
11 # define I__(i) = i
12 #else
13 # define I__(i)
14 # define EXTERN extern
15 # define EXTERN_DEFINED
16 #endif
18 //#include <termios.h>
20 EXTERN int tty_fd I__(-1); /* dup'd tty file descriptor */
21 EXTERN int tty_devtty; /* true if tty_fd is from /dev/tty */
22 //EXTERN struct termios tty_state; /* saved tty state */
24 extern void tty_init(int);
25 extern void tty_close(void);
27 /* be sure not to interfere with anyone else's idea about EXTERN */
28 #ifdef EXTERN_DEFINED
29 # undef EXTERN_DEFINED
30 # undef EXTERN
31 #endif
32 #undef I__