|
|
1.1 root 1: /*
2: * $Source: /u1/X11/clients/xterm/RCS/VTparse.h,v $
3: * $Header: VTparse.h,v 1.5 87/09/11 08:17:06 toddb Exp $
4: */
5:
6:
7: #include <X11/copyright.h>
8:
9: /*
10: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
11: *
12: * All Rights Reserved
13: *
14: * Permission to use, copy, modify, and distribute this software and its
15: * documentation for any purpose and without fee is hereby granted,
16: * provided that the above copyright notice appear in all copies and that
17: * both that copyright notice and this permission notice appear in
18: * supporting documentation, and that the name of Digital Equipment
19: * Corporation not be used in advertising or publicity pertaining to
20: * distribution of the software without specific, written prior permission.
21: *
22: *
23: * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
24: * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
25: * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
26: * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
27: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
28: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
29: * SOFTWARE.
30: */
31:
32: /* @(#)VTparse.h X10/6.6 11/6/86 */
33: #define CASE_GROUND_STATE 0
34: #define CASE_IGNORE_STATE (CASE_GROUND_STATE+1)
35: #define CASE_IGNORE_ESC (CASE_IGNORE_STATE+1)
36: #define CASE_IGNORE (CASE_IGNORE_ESC+1)
37: #define CASE_BELL (CASE_IGNORE+1)
38: #define CASE_BS (CASE_BELL+1)
39: #define CASE_CR (CASE_BS+1)
40: #define CASE_ESC (CASE_CR+1)
41: #define CASE_VMOT (CASE_ESC+1)
42: #define CASE_TAB (CASE_VMOT+1)
43: #define CASE_SI (CASE_TAB+1)
44: #define CASE_SO (CASE_SI+1)
45: #define CASE_SCR_STATE (CASE_SO+1)
46: #define CASE_SCS0_STATE (CASE_SCR_STATE+1)
47: #define CASE_SCS1_STATE (CASE_SCS0_STATE+1)
48: #define CASE_SCS2_STATE (CASE_SCS1_STATE+1)
49: #define CASE_SCS3_STATE (CASE_SCS2_STATE+1)
50: #define CASE_ESC_IGNORE (CASE_SCS3_STATE+1)
51: #define CASE_ESC_DIGIT (CASE_ESC_IGNORE+1)
52: #define CASE_ESC_SEMI (CASE_ESC_DIGIT+1)
53: #define CASE_DEC_STATE (CASE_ESC_SEMI+1)
54: #define CASE_ICH (CASE_DEC_STATE+1)
55: #define CASE_CUU (CASE_ICH+1)
56: #define CASE_CUD (CASE_CUU+1)
57: #define CASE_CUF (CASE_CUD+1)
58: #define CASE_CUB (CASE_CUF+1)
59: #define CASE_CUP (CASE_CUB+1)
60: #define CASE_ED (CASE_CUP+1)
61: #define CASE_EL (CASE_ED+1)
62: #define CASE_IL (CASE_EL+1)
63: #define CASE_DL (CASE_IL+1)
64: #define CASE_DCH (CASE_DL+1)
65: #define CASE_DA1 (CASE_DCH+1)
66: #define CASE_TRACK_MOUSE (CASE_DA1+1)
67: #define CASE_TBC (CASE_TRACK_MOUSE+1)
68: #define CASE_SET (CASE_TBC+1)
69: #define CASE_RST (CASE_SET+1)
70: #define CASE_SGR (CASE_RST+1)
71: #define CASE_CPR (CASE_SGR+1)
72: #define CASE_DECSTBM (CASE_CPR+1)
73: #define CASE_DECREQTPARM (CASE_DECSTBM+1)
74: #define CASE_DECSET (CASE_DECREQTPARM+1)
75: #define CASE_DECRST (CASE_DECSET+1)
76: #define CASE_DECALN (CASE_DECRST+1)
77: #define CASE_GSETS (CASE_DECALN+1)
78: #define CASE_DECSC (CASE_GSETS+1)
79: #define CASE_DECRC (CASE_DECSC+1)
80: #define CASE_DECKPAM (CASE_DECRC+1)
81: #define CASE_DECKPNM (CASE_DECKPAM+1)
82: #define CASE_IND (CASE_DECKPNM+1)
83: #define CASE_NEL (CASE_IND+1)
84: #define CASE_HTS (CASE_NEL+1)
85: #define CASE_RI (CASE_HTS+1)
86: #define CASE_SS2 (CASE_RI+1)
87: #define CASE_SS3 (CASE_SS2+1)
88: #define CASE_CSI_STATE (CASE_SS3+1)
89: #define CASE_OSC (CASE_CSI_STATE+1)
90: #define CASE_RIS (CASE_OSC+1)
91: #define CASE_LS2 (CASE_RIS+1)
92: #define CASE_LS3 (CASE_LS2+1)
93: #define CASE_LS3R (CASE_LS3+1)
94: #define CASE_LS2R (CASE_LS3R+1)
95: #define CASE_LS1R (CASE_LS2R+1)
96: #define CASE_PRINT (CASE_LS1R+1)
97: #define CASE_XTERM_SAVE (CASE_PRINT+1)
98: #define CASE_XTERM_RESTORE (CASE_XTERM_SAVE+1)
99: #define CASE_XTERM_TITLE (CASE_XTERM_RESTORE+1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.