98 lines
2.9 KiB
C
98 lines
2.9 KiB
C
/* $XTermId: Tekparse.h,v 1.7 2006/02/13 01:14:57 tom Exp $ */
|
|
|
|
/*
|
|
* Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|
*
|
|
* All Rights Reserved
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software and its
|
|
* documentation for any purpose and without fee is hereby granted,
|
|
* provided that the above copyright notice appear in all copies and that
|
|
* both that copyright notice and this permission notice appear in
|
|
* supporting documentation, and that the name of Digital Equipment
|
|
* Corporation not be used in advertising or publicity pertaining to
|
|
* distribution of the software without specific, written prior permission.
|
|
*
|
|
*
|
|
* DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
|
* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
|
* DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
|
* ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
|
* SOFTWARE.
|
|
*/
|
|
/* $XFree86: xc/programs/xterm/Tekparse.h,v 1.6 2006/02/13 01:14:57 dickey Exp $ */
|
|
|
|
|
|
/* @(#)Tekparse.h X10/6.6 11/7/86 */
|
|
|
|
#ifndef included_Tekparse_h
|
|
#define included_Tekparse_h 1
|
|
|
|
#ifndef Const
|
|
# if defined(__STDC__) && !defined(__cplusplus)
|
|
# define Const const
|
|
# else
|
|
# define Const /**/
|
|
# endif
|
|
#endif
|
|
|
|
extern Const int Talptable[];
|
|
extern Const int Tbestable[];
|
|
extern Const int Tbyptable[];
|
|
extern Const int Tesctable[];
|
|
extern Const int Tipltable[];
|
|
extern Const int Tplttable[];
|
|
extern Const int Tpttable[];
|
|
extern Const int Tspttable[];
|
|
|
|
/*
|
|
* The following list of definitions is generated from Tekparse.def using the
|
|
* following command line:
|
|
*
|
|
* egrep -v '^CASE_' Tekparse.def | \
|
|
* awk 'BEGIN {n = 0;} {printf "#define %s %d\n", $1, n; n++}'
|
|
*
|
|
* You you need to change something, change Tekparse.def and regenerate the
|
|
* definitions. This would have been automatic, but since this doesn't change
|
|
* very often, it isn't worth the makefile hassle.
|
|
*/
|
|
|
|
#define CASE_REPORT 0
|
|
#define CASE_VT_MODE 1
|
|
#define CASE_SPT_STATE 2
|
|
#define CASE_GIN 3
|
|
#define CASE_BEL 4
|
|
#define CASE_BS 5
|
|
#define CASE_PT_STATE 6
|
|
#define CASE_PLT_STATE 7
|
|
#define CASE_TAB 8
|
|
#define CASE_IPL_STATE 9
|
|
#define CASE_ALP_STATE 10
|
|
#define CASE_UP 11
|
|
#define CASE_COPY 12
|
|
#define CASE_PAGE 13
|
|
#define CASE_BES_STATE 14
|
|
#define CASE_BYP_STATE 15
|
|
#define CASE_IGNORE 16
|
|
#define CASE_ASCII 17
|
|
#define CASE_APL 18
|
|
#define CASE_CHAR_SIZE 19
|
|
#define CASE_BEAM_VEC 20
|
|
#define CASE_CURSTATE 21
|
|
#define CASE_PENUP 22
|
|
#define CASE_PENDOWN 23
|
|
#define CASE_IPL_POINT 24
|
|
#define CASE_PLT_VEC 25
|
|
#define CASE_PT_POINT 26
|
|
#define CASE_SPT_POINT 27
|
|
#define CASE_CR 28
|
|
#define CASE_ESC_STATE 29
|
|
#define CASE_LF 30
|
|
#define CASE_SP 31
|
|
#define CASE_PRINT 32
|
|
#define CASE_OSC 33
|
|
|
|
#endif /* included_Tekparse_h */
|