home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / mxterm.zip / mxterm / VTparse.h < prev    next >
Text File  |  1992-10-17  |  3KB  |  110 lines

  1. /*
  2.  *    $XConsortium: VTparse.h,v 1.5 91/01/06 12:47:08 rws Exp $
  3.  */
  4.  
  5. /*
  6.  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  7.  *
  8.  *                         All Rights Reserved
  9.  *
  10.  * Permission to use, copy, modify, and distribute this software and its
  11.  * documentation for any purpose and without fee is hereby granted,
  12.  * provided that the above copyright notice appear in all copies and that
  13.  * both that copyright notice and this permission notice appear in
  14.  * supporting documentation, and that the name of Digital Equipment
  15.  * Corporation not be used in advertising or publicity pertaining to
  16.  * distribution of the software without specific, written prior permission.
  17.  *
  18.  *
  19.  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20.  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  21.  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  22.  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23.  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25.  * SOFTWARE.
  26.  */
  27.  
  28. /* @(#)VTparse.h    X10/6.6    11/6/86 */
  29.  
  30. /*
  31.  * The following list of definitions is generated from VTparse.def using the
  32.  * following command line:
  33.  *
  34.  *     egrep -v '^CASE_' VTparse.def | \
  35.  *     awk 'BEGIN {n = 0;} {printf "#define %s %d\n", $1, n; n++}'
  36.  *
  37.  * You you need to change something, change VTparse.def and regenerate the
  38.  * definitions.  This would have been automatic, but since this doesn't change
  39.  * very often, it isn't worth the makefile hassle.
  40.  */
  41.  
  42. #define CASE_GROUND_STATE 0
  43. #define CASE_IGNORE_STATE 1
  44. #define CASE_IGNORE_ESC 2
  45. #define CASE_IGNORE 3
  46. #define CASE_BELL 4
  47. #define CASE_BS 5
  48. #define CASE_CR 6
  49. #define CASE_ESC 7
  50. #define CASE_VMOT 8
  51. #define CASE_TAB 9
  52. #define CASE_SI 10
  53. #define CASE_SO 11
  54. #define CASE_SCR_STATE 12
  55. #define CASE_SCS0_STATE 13
  56. #define CASE_SCS1_STATE 14
  57. #define CASE_SCS2_STATE 15
  58. #define CASE_SCS3_STATE 16
  59. #define CASE_ESC_IGNORE 17
  60. #define CASE_ESC_DIGIT 18
  61. #define CASE_ESC_SEMI 19
  62. #define CASE_DEC_STATE 20
  63. #define CASE_ICH 21
  64. #define CASE_CUU 22
  65. #define CASE_CUD 23
  66. #define CASE_CUF 24
  67. #define CASE_CUB 25
  68. #define CASE_CUP 26
  69. #define CASE_ED 27
  70. #define CASE_EL 28
  71. #define CASE_IL 29
  72. #define CASE_DL 30
  73. #define CASE_DCH 31
  74. #define CASE_DA1 32
  75. #define CASE_TRACK_MOUSE 33
  76. #define CASE_TBC 34
  77. #define CASE_SET 35
  78. #define CASE_RST 36
  79. #define CASE_SGR 37
  80. #define CASE_CPR 38
  81. #define CASE_DECSTBM 39
  82. #define CASE_DECREQTPARM 40
  83. #define CASE_DECSET 41
  84. #define CASE_DECRST 42
  85. #define CASE_DECALN 43
  86. #define CASE_GSETS 44
  87. #define CASE_DECSC 45
  88. #define CASE_DECRC 46
  89. #define CASE_DECKPAM 47
  90. #define CASE_DECKPNM 48
  91. #define CASE_IND 49
  92. #define CASE_NEL 50
  93. #define CASE_HTS 51
  94. #define CASE_RI 52
  95. #define CASE_SS2 53
  96. #define CASE_SS3 54
  97. #define CASE_CSI_STATE 55
  98. #define CASE_OSC 56
  99. #define CASE_RIS 57
  100. #define CASE_LS2 58
  101. #define CASE_LS3 59
  102. #define CASE_LS3R 60
  103. #define CASE_LS2R 61
  104. #define CASE_LS1R 62
  105. #define CASE_PRINT 63
  106. #define CASE_XTERM_SAVE 64
  107. #define CASE_XTERM_RESTORE 65
  108. #define CASE_XTERM_TITLE 66
  109. #define CASE_DECID 67
  110.