home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / baseline / jove-4.14.6.lha / jove-4.14.6 / ttystate.h < prev    next >
C/C++ Source or Header  |  1992-01-10  |  881b  |  50 lines

  1. /* Various tty state structures.
  2.  * Each is an array, subscripted by one of "OFF" or "ON".
  3.  */
  4.  
  5. #ifdef    UNIX
  6.  
  7. #if defined(SGTTY) || defined(BRLUNIX)
  8. # include <sgtty.h>
  9. # ifdef    BRLUNIX
  10. extern struct sg_brl    sg[2];
  11. # else
  12. extern struct sgttyb    sg[2];
  13. # endif /* BRLUNIX */
  14. #endif
  15.  
  16. #ifdef TERMIO
  17. # include <termio.h>
  18. # include <sys/ioctl.h>
  19. extern struct termio    sg[2];
  20. #endif
  21.  
  22. #ifdef TERMIOS
  23. # include <termios.h>
  24. #ifdef BSD386
  25. # include <sys/ioctl.h>
  26. #endif
  27. extern struct termios    sg[2];
  28. # ifndef VDSUSP
  29. #  define VDSUSP    VSUSP    /* non-Posixism in Irix3.3, may exist in others */
  30. # endif
  31. #endif
  32.  
  33. #ifdef    SYSVR4
  34. #undef    TIOCSLTC    /* don't let BSD emulation mislead us */
  35. #endif
  36.  
  37. # ifdef    TIOCSLTC
  38. extern struct ltchars    ls[2];
  39. # endif    /* TIOCSLTC */
  40.  
  41. #ifdef    SYSV
  42. #undef    TIOCGETC    /* not appropriate for System V */
  43. #endif
  44.  
  45. # ifdef    TIOCGETC
  46. extern struct tchars    tc[2];
  47. # endif
  48.  
  49. #endif    /* UNIX */
  50.