PageRenderTime 41ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/timidity/interface/VTparse.h

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