home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / ttold.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  1.4 KB  |  67 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8. /*    Copyright (c) 1987, 1988 Microsoft Corporation    */
  9. /*      All Rights Reserved    */
  10.  
  11. /*    This Module contains Proprietary Information of Microsoft  */
  12. /*    Corporation and should be treated as Confidential.       */
  13.  
  14. #ident    "@(#)head.sys:ttold.h    1.3.1.3"
  15.  
  16. struct    sgttyb {
  17.     unsigned char    sg_ispeed;
  18.     unsigned char    sg_ospeed;
  19.     unsigned char    sg_erase;
  20.     unsigned char    sg_kill;
  21.     int    sg_flags;
  22. };
  23.  
  24. /*
  25.  * List of special characters
  26.  */
  27. struct tc    {
  28.     unsigned char    t_intrc;
  29.     unsigned char    t_quitc;
  30.     unsigned char    t_startc;
  31.     unsigned char    t_stopc;
  32.     unsigned char    t_eofc;
  33.     unsigned char    t_brkc;
  34. };
  35.  
  36. #ifdef    i386
  37. #pragma    pack()
  38. #endif
  39.  
  40. /* modes */
  41. #define    O_HUPCL        01
  42. #define    O_CBREAK    02
  43. #define    O_XTABS        02
  44. #define    O_LCASE        04
  45. #define    O_ECHO        010
  46. #define    O_CRMOD        020
  47. #define    O_RAW        040
  48. #define    O_ODDP        0100
  49. #define    O_EVENP        0200
  50. #define    O_NLDELAY    001400
  51. #define    O_NL1        000400
  52. #define    O_NL2        001000
  53. #define    O_TBDELAY    002000
  54. #define    O_NOAL        004000
  55. #define    O_CRDELAY    030000
  56. #define    O_CR1        010000
  57. #define    O_CR2        020000
  58. #define    O_VTDELAY    040000
  59. #define    O_BSDELAY    0100000
  60.  
  61. #define    O_TAB1        001000
  62. #define    O_TAB2        004000
  63.  
  64. #define    tIOC    ('t'<<8)
  65. #define    TIOCGETP    (tIOC|8)
  66. #define    TIOCSETP    (tIOC|9)
  67.