home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / ws / tcl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.8 KB  |  89 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ident    "@(#)/usr/include/sys/ws/tcl.h.sl 1.1 4.0 12/08/90 64893 AT&T-USL"
  11.  
  12. #ifndef    _SYS_WS_TCL_H
  13. #define    _SYS_WS_TCL_H
  14.  
  15.  
  16. /* Terminal control language defines for use in the
  17.  * Integrated Workstation Environment
  18.  */
  19.  
  20.  
  21. #define CH_TCL ( ('T' << 16) | ('C' << 8) | 'L')
  22.  
  23. #define    TCL_BELL    0
  24. #define    TCL_BACK_SPCE    1
  25. #define    TCL_NEWLINE    2
  26. #define    TCL_CRRGE_RETN    3
  27. #define    TCL_H_TAB    4
  28. #define    TCL_V_TAB    5
  29. #define    TCL_BACK_H_TAB    6
  30.  
  31. #define    TCL_KEYCLK_ON    10
  32. #define    TCL_KEYCLK_OFF    11
  33. #define    TCL_CLR_TAB    12
  34. #define    TCL_CLR_TABS    13
  35. #define    TCL_SET_TAB    14
  36. #define    TCL_SHFT_FT_OU    15
  37. #define    TCL_SHFT_FT_IN    16
  38. #define    TCL_ADD_STR    17
  39.  
  40. #define    TCL_SCRL_UP    20
  41. #define    TCL_SCRL_DWN    21
  42. #define    TCL_SEND_SCR    22
  43. #define    TCL_LCK_KB    23
  44. #define    TCL_UNLCK_KB    24
  45. #define    TCL_SET_ATTR    25
  46. #define    TCL_POS_CURS    26
  47. #define    TCL_DISP_CLR    27
  48. #define    TCL_DISP_RST    28
  49. #define    TCL_CURS_TYP    29
  50.  
  51. #define    TCL_ERASCR_CUR2END    30
  52. #define    TCL_ERASCR_BEG2CUR    31
  53. #define    TCL_ERASCR_BEG2END    32
  54. #define    TCL_ERALIN_CUR2END    33
  55. #define    TCL_ERALIN_BEG2CUR    34
  56. #define    TCL_ERALIN_BEG2END    35
  57.  
  58. #define    TCL_INSRT_LIN    40
  59. #define    TCL_DELET_LIN    41
  60. #define    TCL_INSRT_CHR    42
  61. #define    TCL_DELET_CHR    43
  62.  
  63. #define    TCL_FLOWCTL    50
  64.  
  65. #define    TCL_POSABS    0
  66. #define    TCL_POSREL    1
  67.  
  68. #define    TCL_FLOWOFF    0
  69. #define    TCL_FLOWON    1
  70.  
  71. union tcl_data {
  72.     struct tcl_mv_cur {
  73.         short delta_x;
  74.         short delta_y;
  75.         unchar x_type;
  76.         unchar y_type;
  77.     } mv_curs;
  78.  
  79.     struct tcl_add_str {
  80.         short len;
  81.         short keynum;
  82.     } add_str;
  83.  
  84. } tcl_un;
  85.  
  86. typedef union tcl_data tcl_data_t;
  87.  
  88. #endif /* _SYS_WS_TCL_H */
  89.