home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / ttold.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  1.4 KB  |  72 lines

  1. /*
  2.  *    @(#) ttold.h 2.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  13.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  14.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  15.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  16.  */
  17.  
  18.  
  19. #ifdef    M_I386
  20. #pragma    pack(2)
  21. #endif
  22.  
  23. /*
  24.  * Structure for stty and gtty system calls.
  25.  */
  26. struct sgttyb    {
  27.     char    sg_ispeed;
  28.     char    sg_ospeed;
  29.     char    sg_erase;
  30.     char    sg_kill;
  31.     short    sg_flags;
  32. };
  33.  
  34. /*
  35.  * List of special characters
  36.  */
  37. struct tc    {
  38.     char    t_intrc;
  39.     char    t_quitc;
  40.     char    t_startc;
  41.     char    t_stopc;
  42.     char    t_eofc;
  43.     char    t_brkc;
  44. };
  45.  
  46. #ifdef    M_I386
  47. #pragma    pack()
  48. #endif
  49.  
  50. /* modes */
  51. #define    O_TANDEM    01
  52. #define    O_CBREAK    02
  53. #define    O_LCASE        04
  54. #define    O_ECHO        010
  55. #define    O_CRMOD        020
  56. #define    O_RAW        040
  57. #define    O_ODDP        0100
  58. #define    O_EVENP        0200
  59. #define    O_NLDELAY    001400
  60. #define    O_NL1        000400
  61. #define    O_NL2        001000
  62. #define    O_TBDELAY    005000
  63. #define    O_TAB1        001000
  64. #define    O_TAB2        004000
  65. #define    O_XTABS        006000
  66. /***#define    O_NOAL    004000***/
  67. #define    O_CRDELAY    030000
  68. #define    O_CR1        010000
  69. #define    O_CR2        020000
  70. #define    O_VTDELAY    040000
  71. #define    O_BSDELAY    0100000
  72.