diff options
Diffstat (limited to 'nx-X11/programs/xterm/Tekparse.h')
-rw-r--r-- | nx-X11/programs/xterm/Tekparse.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/nx-X11/programs/xterm/Tekparse.h b/nx-X11/programs/xterm/Tekparse.h new file mode 100644 index 000000000..c7c315ec7 --- /dev/null +++ b/nx-X11/programs/xterm/Tekparse.h @@ -0,0 +1,99 @@ +/* + * $Xorg: Tekparse.h,v 1.3 2000/08/17 19:55:07 cpqbld 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.4 2001/01/17 23:46:34 dawes 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 */ |