package fixing
[profile/ivi/xterm.git] / Tekparse.h
1 /* $XTermId: Tekparse.h,v 1.7 2006/02/13 01:14:57 tom Exp $ */
2
3 /*
4  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
5  *
6  *                         All Rights Reserved
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation for any purpose and without fee is hereby granted,
10  * provided that the above copyright notice appear in all copies and that
11  * both that copyright notice and this permission notice appear in
12  * supporting documentation, and that the name of Digital Equipment
13  * Corporation not be used in advertising or publicity pertaining to
14  * distribution of the software without specific, written prior permission.
15  *
16  *
17  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
18  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
19  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
20  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
22  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
23  * SOFTWARE.
24  */
25 /* $XFree86: xc/programs/xterm/Tekparse.h,v 1.6 2006/02/13 01:14:57 dickey Exp $ */
26
27
28 /* @(#)Tekparse.h       X10/6.6 11/7/86 */
29
30 #ifndef included_Tekparse_h
31 #define included_Tekparse_h 1
32
33 #ifndef Const
34 # if defined(__STDC__) && !defined(__cplusplus)
35 #  define Const const
36 # else
37 #  define Const /**/
38 # endif
39 #endif
40
41 extern Const int Talptable[];
42 extern Const int Tbestable[];
43 extern Const int Tbyptable[];
44 extern Const int Tesctable[];
45 extern Const int Tipltable[];
46 extern Const int Tplttable[];
47 extern Const int Tpttable[];
48 extern Const int Tspttable[];
49
50 /*
51  * The following list of definitions is generated from Tekparse.def using the
52  * following command line:
53  *
54  *     egrep -v '^CASE_' Tekparse.def | \
55  *     awk 'BEGIN {n = 0;} {printf "#define %s %d\n", $1, n; n++}' 
56  *
57  * You you need to change something, change Tekparse.def and regenerate the
58  * definitions.  This would have been automatic, but since this doesn't change
59  * very often, it isn't worth the makefile hassle.
60  */
61
62 #define CASE_REPORT 0
63 #define CASE_VT_MODE 1
64 #define CASE_SPT_STATE 2
65 #define CASE_GIN 3
66 #define CASE_BEL 4
67 #define CASE_BS 5
68 #define CASE_PT_STATE 6
69 #define CASE_PLT_STATE 7
70 #define CASE_TAB 8
71 #define CASE_IPL_STATE 9
72 #define CASE_ALP_STATE 10
73 #define CASE_UP 11
74 #define CASE_COPY 12
75 #define CASE_PAGE 13
76 #define CASE_BES_STATE 14
77 #define CASE_BYP_STATE 15
78 #define CASE_IGNORE 16
79 #define CASE_ASCII 17
80 #define CASE_APL 18
81 #define CASE_CHAR_SIZE 19
82 #define CASE_BEAM_VEC 20
83 #define CASE_CURSTATE 21
84 #define CASE_PENUP 22
85 #define CASE_PENDOWN 23
86 #define CASE_IPL_POINT 24
87 #define CASE_PLT_VEC 25
88 #define CASE_PT_POINT 26
89 #define CASE_SPT_POINT 27
90 #define CASE_CR 28
91 #define CASE_ESC_STATE 29
92 #define CASE_LF 30
93 #define CASE_SP 31
94 #define CASE_PRINT 32
95 #define CASE_OSC 33
96
97 #endif /* included_Tekparse_h */