ast_tty.h revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
/* : : generated from /home/gisburn/ksh93/ast_ksh_20070418/build_sparc_64bit/src/lib/libast/features/tty by iffe version 2007-04-04 : : */
#ifndef _def_tty_ast
#define _def_tty_ast 1
#ifdef _hdr_termios
# if _mac__POSIX_VDISABLE
# endif
# include <termios.h>
#else
# if defined(_sys_termios) && defined(_lib_tcgetattr)
# define _hdr_termios 1
# else
# endif /* _sys_termios */
#endif /* _hdr_termios */
#ifdef _hdr_termios
# ifndef TCSANOW
# endif /* TCSANOW */
/* The following corrects bugs in some implementations */
# if defined(TCSADFLUSH) && !defined(TCSAFLUSH)
# define TCSAFLUSH TCSADFLUSH
# endif /* TCSADFLUSH */
# ifndef _lib_tcgetattr
# endif /* _lib_tcgetattr */
#else
# ifdef _hdr_termio
# include <termio.h>
# else
# ifdef _sys_termio
# define _hdr_termio 1
# endif /* _sys_termio */
# endif /* _hdr_termio */
# ifdef _hdr_termio
# ifdef _sys_bsdtty
# endif /* _sys_bsdtty */
# else
# ifdef _hdr_sgtty
# include <sgtty.h>
# ifndef LPENDIN
# ifdef _sys_nttyio
# endif /* _sys_nttyio */
# endif /* LPENDIN */
# ifdef TIOCSETN
# endif /* TIOCSETN */
# ifdef TIOCGETP
# else
# endif /* TIOCGETP */
# else
# ifdef _sys_ttyio
# endif
# endif /* _hdr_sgtty */
# endif /* hdr_termio */
# ifndef TCSANOW
# ifdef TCSETAW
# else
# ifdef TIOCSETN
# endif /* TIOCSETN */
# endif /* TCSETAW */
# endif /* TCSANOW */
#endif /* _hdr_termios */
/* set ECHOCTL if driver can echo control charaters as ^c */
#ifdef LCTLECH
# ifndef ECHOCTL
# endif /* !ECHOCTL */
#endif /* LCTLECH */
#ifdef LNEW_CTLECH
# ifndef ECHOCTL
# define ECHOCTL LNEW_CTLECH
# endif /* !ECHOCTL */
#endif /* LNEW_CTLECH */
#ifdef LNEW_PENDIN
# ifndef PENDIN
# define PENDIN LNEW_PENDIN
# endif /* !PENDIN */
#endif /* LNEW_PENDIN */
#endif