home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / pdksh-src.lha / src / amiga / pdksh / sh / tty.h < prev    next >
C/C++ Source or Header  |  1993-12-01  |  767b  |  41 lines

  1. /*
  2.     tty.h -- centralized definitions for a variety of terminal interfaces
  3.  
  4.     created by DPK, Oct. 1986
  5.  
  6.     last edit:    30-Jul-1987    D A Gwyn
  7. */
  8.  
  9. #if _BSD_SYSV            /* BRL UNIX System V emulation */
  10. #include <termio.h>    /* includes <sys/_ioctl.h> */
  11. #ifndef NTTYDISC
  12. #define    TIOCGETD    _IOR( 't', 0, int )
  13. #define    TIOCSETD    _IOW( 't', 1, int )
  14. #define    NTTYDISC    2
  15. #endif
  16. #ifndef TIOCSTI
  17. #define    TIOCSTI        _IOW( 't', 114, char )
  18. #endif
  19. #ifndef TIOCSPGRP
  20. #define    TIOCSPGRP    _IOW( 't', 118, int )
  21. #endif
  22. #else    /* !_BSD_SYSV */
  23. #if _BSD
  24. #ifdef _MINIX
  25. #include <sgtty.h>
  26. #define TIOCSETN    TIOCSETP
  27. #else
  28. #include <sys/ioctl.h>
  29. #ifdef amigados
  30. #include <sys/ioctl_compat.h>
  31. #endif
  32. #endif
  33. #else
  34. #ifdef    mips
  35. #include <termios.h>
  36. #else
  37. #include <termio.h>
  38. #endif
  39. #endif
  40. #endif    /* _BSD_SYSV */
  41.