tomw@orac.esd.sgi.com (Tom Weinstein) (09/14/90)
Submitted-by: Tom Weinstein <tomw@orac.esd.sgi.com> Posting-number: Volume 9, Issue 40 Archive-name: colxterm/part10 #! /bin/sh # This is a shell archive. Remove anything before this line, then feed it # into a shell via "sh file" or similar. To overwrite existing files, # type "sh file -c". # The tool that generated this appeared in the comp.sources.unix newsgroup; # send mail to comp-sources-unix@uunet.uu.net if you want that tool. # If this archive is complete, you will see the following message at the end: # "End of archive 10 (of 14)." # Contents: xterm/TekPrsTbl.c.aa xterm/Tekparse.h xterm/VTPrsTbl.c.aa # xterm/menu.h # Wrapped by argv@turnpike on Thu Sep 13 20:42:31 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'xterm/TekPrsTbl.c.aa' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xterm/TekPrsTbl.c.aa'\" else echo shar: Extracting \"'xterm/TekPrsTbl.c.aa'\" \(20583 characters\) sed "s/^X//" >'xterm/TekPrsTbl.c.aa' <<'END_OF_FILE' X/* X * $XConsortium: TekPrsTbl.c,v 1.3 89/03/01 19:59:14 jim Exp $ X */ X X X#include <X11/copyright.h> X X/* X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. X * X * All Rights Reserved X * X * Permission to use, copy, modify, and distribute this software and its X * documentation for any purpose and without fee is hereby granted, X * provided that the above copyright notice appear in all copies and that X * both that copyright notice and this permission notice appear in X * supporting documentation, and that the name of Digital Equipment X * Corporation not be used in advertising or publicity pertaining to X * distribution of the software without specific, written prior permission. X * X * X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS X * SOFTWARE. X */ X X#ifndef lint Xstatic char *rcsid_Tekparsetable_c = "$XConsortium: TekPrsTbl.c,v 1.3 89/03/01 19:59:14 jim Exp $"; X#endif /* lint */ X X#include "Tekparse.h" X#ifndef lint Xstatic char rcs_id[] = "$XConsortium: TekPrsTbl.c,v 1.3 89/03/01 19:59:14 jim Exp $"; X#endif /* lint */ X Xint Talptable[] = { X/* NUL SOH STX ETX */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* EOT ENQ ACK BEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BEL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_LF, XCASE_UP, X/* NP CR SO SI */ XCASE_IGNORE, XCASE_CR, XCASE_IGNORE, XCASE_IGNORE, X/* DLE DC1 DC2 DC3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* DC4 NAK SYN ETB */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* CAN EM SUB ESC */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_ESC_STATE, X/* FS GS RS US */ XCASE_PT_STATE, XCASE_PLT_STATE, XCASE_IPL_STATE, XCASE_ALP_STATE, X/* SP ! " # */ XCASE_SP, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* $ % & ' */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ( ) * + */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* , - . / */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 0 1 2 3 */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 4 5 6 7 */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 8 9 : ; */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* < = > ? */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* @ A B C */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* D E F G */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* H I J K */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* L M N O */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* P Q R S */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* T U V W */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* X Y Z [ */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* \ ] ^ _ */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ` a b c */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* d e f g */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* h i j k */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* l m n o */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* p q r s */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* t u v w */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* x y z { */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* | } ~ DEL */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_IGNORE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* currency yen brokenbar section */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* notsign hyphen registered macron */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* degree plusminus twosuperior threesuperior */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* acute mu paragraph periodcentered */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* cedilla onesuperior masculine guillemotright */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* onequarter onehalf threequarters questiondown */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Agrave Aacute Acircumflex Atilde */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Adiaeresis Aring AE Ccedilla */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Eth Ntilde Ograve Oacute */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* agrave aacute acircumflex atilde */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* adiaeresis aring ae ccedilla */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* egrave eacute ecircumflex ediaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* igrave iacute icircumflex idiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* eth ntilde ograve oacute */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ocircumflex otilde odiaeresis division */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* oslash ugrave uacute ucircumflex */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* udiaeresis yacute thorn ydiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X}; X Xint Tbestable[] = { X/* NUL SOH STX ETX */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_VT_MODE, X/* EOT ENQ ACK BEL */ XCASE_BYP_STATE, XCASE_REPORT, XCASE_BYP_STATE, XCASE_BEL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_IGNORE, XCASE_UP, X/* NP CR SO SI */ XCASE_PAGE, XCASE_IGNORE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* DLE DC1 DC2 DC3 */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* DC4 NAK SYN ETB */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_COPY, X/* CAN EM SUB ESC */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_GIN, XCASE_IGNORE, X/* FS GS RS US */ XCASE_SPT_STATE, XCASE_PLT_STATE, XCASE_IPL_STATE, XCASE_ALP_STATE, X/* SP ! " # */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* $ % & ' */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* ( ) * + */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* , - . / */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* 0 1 2 3 */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* 4 5 6 7 */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* 8 9 : ; */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* < = > ? */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* @ A B C */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* D E F G */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* H I J K */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* L M N O */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* P Q R S */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* T U V W */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* X Y Z [ */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* \ ] ^ _ */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* ` a b c */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* d e f g */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* h i j k */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* l m n o */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* p q r s */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* t u v w */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* x y z { */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* | } ~ DEL */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_IGNORE, XCASE_BYP_STATE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* currency yen brokenbar section */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* notsign hyphen registered macron */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* degree plusminus twosuperior threesuperior */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* acute mu paragraph periodcentered */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* cedilla onesuperior masculine guillemotright */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* onequarter onehalf threequarters questiondown */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Agrave Aacute Acircumflex Atilde */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Adiaeresis Aring AE Ccedilla */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Eth Ntilde Ograve Oacute */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* agrave aacute acircumflex atilde */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* adiaeresis aring ae ccedilla */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* egrave eacute ecircumflex ediaeresis */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* igrave iacute icircumflex idiaeresis */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* eth ntilde ograve oacute */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* ocircumflex otilde odiaeresis division */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* oslash ugrave uacute ucircumflex */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X/* udiaeresis yacute thorn ydiaeresis */ XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, XCASE_BYP_STATE, X}; X Xint Tbyptable[] = { X/* NUL SOH STX ETX */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* EOT ENQ ACK BEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BEL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_LF, XCASE_UP, X/* NP CR SO SI */ XCASE_IGNORE, XCASE_CR, XCASE_IGNORE, XCASE_IGNORE, X/* DLE DC1 DC2 DC3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* DC4 NAK SYN ETB */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* CAN EM SUB ESC */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BES_STATE, X/* FS GS RS US */ XCASE_PT_STATE, XCASE_PLT_STATE, XCASE_IPL_STATE, XCASE_ALP_STATE, X/* SP ! " # */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* $ % & ' */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* ( ) * + */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* , - . / */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0 1 2 3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 4 5 6 7 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 8 9 : ; */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* < = > ? */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* @ A B C */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* D E F G */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* H I J K */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* L M N O */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* P Q R S */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* T U V W */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* X Y Z [ */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* \ ] ^ _ */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* ` a b c */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* d e f g */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* h i j k */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* l m n o */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* p q r s */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* t u v w */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* x y z { */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* | } ~ DEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* currency yen brokenbar section */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* notsign hyphen registered macron */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* degree plusminus twosuperior threesuperior */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* acute mu paragraph periodcentered */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* cedilla onesuperior masculine guillemotright */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* onequarter onehalf threequarters questiondown */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Agrave Aacute Acircumflex Atilde */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Adiaeresis Aring AE Ccedilla */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Eth Ntilde Ograve Oacute */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* agrave aacute acircumflex atilde */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* adiaeresis aring ae ccedilla */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* egrave eacute ecircumflex ediaeresis */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* igrave iacute icircumflex idiaeresis */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* eth ntilde ograve oacute */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* ocircumflex otilde odiaeresis division */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* oslash ugrave uacute ucircumflex */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, END_OF_FILE if test 20583 -ne `wc -c <'xterm/TekPrsTbl.c.aa'`; then echo shar: \"'xterm/TekPrsTbl.c.aa'\" unpacked with wrong size! fi # end of 'xterm/TekPrsTbl.c.aa' fi if test -f 'xterm/Tekparse.h' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xterm/Tekparse.h'\" else echo shar: Extracting \"'xterm/Tekparse.h'\" \(2437 characters\) sed "s/^X//" >'xterm/Tekparse.h' <<'END_OF_FILE' X/* X * $XConsortium: Tekparse.h,v 1.3 88/09/06 17:07:31 jim Exp $ X */ X X#include <X11/copyright.h> X X/* X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. X * X * All Rights Reserved X * X * Permission to use, copy, modify, and distribute this software and its X * documentation for any purpose and without fee is hereby granted, X * provided that the above copyright notice appear in all copies and that X * both that copyright notice and this permission notice appear in X * supporting documentation, and that the name of Digital Equipment X * Corporation not be used in advertising or publicity pertaining to X * distribution of the software without specific, written prior permission. X * X * X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS X * SOFTWARE. X */ X X X/* @(#)Tekparse.h X10/6.6 11/7/86 */ X X/* X * The following list of definitions is generated from Tekparse.def using the X * following command line: X * X * egrep -v '^CASE_' Tekparse.def | \ X * awk 'BEGIN {n = 0;} {printf "#define %s %d\n", $1, n; n++}' X * X * You you need to change something, change Tekparse.def and regenerate the X * definitions. This would have been automatic, but since this doesn't change X * very often, it isn't worth the makefile hassle. X */ X X#define CASE_REPORT 0 X#define CASE_VT_MODE 1 X#define CASE_SPT_STATE 2 X#define CASE_GIN 3 X#define CASE_BEL 4 X#define CASE_BS 5 X#define CASE_PT_STATE 6 X#define CASE_PLT_STATE 7 X#define CASE_TAB 8 X#define CASE_IPL_STATE 9 X#define CASE_ALP_STATE 10 X#define CASE_UP 11 X#define CASE_COPY 12 X#define CASE_PAGE 13 X#define CASE_BES_STATE 14 X#define CASE_BYP_STATE 15 X#define CASE_IGNORE 16 X#define CASE_ASCII 17 X#define CASE_APL 18 X#define CASE_CHAR_SIZE 19 X#define CASE_BEAM_VEC 20 X#define CASE_CURSTATE 21 X#define CASE_PENUP 22 X#define CASE_PENDOWN 23 X#define CASE_IPL_POINT 24 X#define CASE_PLT_VEC 25 X#define CASE_PT_POINT 26 X#define CASE_SPT_POINT 27 X#define CASE_CR 28 X#define CASE_ESC_STATE 29 X#define CASE_LF 30 X#define CASE_SP 31 X#define CASE_PRINT 32 X#define CASE_OSC 33 END_OF_FILE if test 2437 -ne `wc -c <'xterm/Tekparse.h'`; then echo shar: \"'xterm/Tekparse.h'\" unpacked with wrong size! fi # end of 'xterm/Tekparse.h' fi if test -f 'xterm/VTPrsTbl.c.aa' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xterm/VTPrsTbl.c.aa'\" else echo shar: Extracting \"'xterm/VTPrsTbl.c.aa'\" \(21812 characters\) sed "s/^X//" >'xterm/VTPrsTbl.c.aa' <<'END_OF_FILE' X/* X * $XConsortium: VTPrsTbl.c,v 1.4 89/03/01 19:59:43 jim Exp $ X */ X X X#include <X11/copyright.h> X X/* X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. X * X * All Rights Reserved X * X * Permission to use, copy, modify, and distribute this software and its X * documentation for any purpose and without fee is hereby granted, X * provided that the above copyright notice appear in all copies and that X * both that copyright notice and this permission notice appear in X * supporting documentation, and that the name of Digital Equipment X * Corporation not be used in advertising or publicity pertaining to X * distribution of the software without specific, written prior permission. X * X * X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS X * SOFTWARE. X */ X X#ifndef lint Xstatic char *rcsid_VTparsetable_c = "$XConsortium: VTPrsTbl.c,v 1.4 89/03/01 19:59:43 jim Exp $"; X#endif /* lint */ X X#include "VTparse.h" X#ifndef lint Xstatic char rcs_id[] = "$XConsortium: VTPrsTbl.c,v 1.4 89/03/01 19:59:43 jim Exp $"; X#endif /* lint */ X X/* X * Stupid Apollo C preprocessor can't handle long lines. So... To keep X * it happy, we put each onto a seperate line.... Sigh... X */ X Xint groundtable[] = { X/* NUL SOH STX ETX */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* EOT ENQ ACK BEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BELL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_VMOT, XCASE_VMOT, X/* NP CR SO SI */ XCASE_VMOT, XCASE_CR, XCASE_SO, XCASE_SI, X/* DLE DC1 DC2 DC3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* DC4 NAK SYN ETB */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* CAN EM SUB ESC */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_ESC, X/* FS GS RS US */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* SP ! " # */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* $ % & ' */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ( ) * + */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* , - . / */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 0 1 2 3 */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 4 5 6 7 */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* 8 9 : ; */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* < = > ? */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* @ A B C */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* D E F G */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* H I J K */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* L M N O */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* P Q R S */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* T U V W */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* X Y Z [ */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* \ ] ^ _ */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ` a b c */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* d e f g */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* h i j k */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* l m n o */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* p q r s */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* t u v w */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* x y z { */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* | } ~ DEL */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_GROUND_STATE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* currency yen brokenbar section */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* notsign hyphen registered macron */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* degree plusminus twosuperior threesuperior */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* acute mu paragraph periodcentered */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* cedilla onesuperior masculine guillemotright */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* onequarter onehalf threequarters questiondown */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Agrave Aacute Acircumflex Atilde */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Adiaeresis Aring AE Ccedilla */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Eth Ntilde Ograve Oacute */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* agrave aacute acircumflex atilde */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* adiaeresis aring ae ccedilla */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* egrave eacute ecircumflex ediaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* igrave iacute icircumflex idiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* eth ntilde ograve oacute */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* ocircumflex otilde odiaeresis division */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* oslash ugrave uacute ucircumflex */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X/* udiaeresis yacute thorn ydiaeresis */ XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, XCASE_PRINT, X}; X Xint csitable[] = { X/* NUL SOH STX ETX */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* EOT ENQ ACK BEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BELL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_VMOT, XCASE_VMOT, X/* NP CR SO SI */ XCASE_VMOT, XCASE_CR, XCASE_SO, XCASE_SI, X/* DLE DC1 DC2 DC3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* DC4 NAK SYN ETB */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* CAN EM SUB ESC */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_ESC, X/* FS GS RS US */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* SP ! " # */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* $ % & ' */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* ( ) * + */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* , - . / */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* 0 1 2 3 */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, X/* 4 5 6 7 */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, X/* 8 9 : ; */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_IGNORE, XCASE_ESC_SEMI, X/* < = > ? */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_DEC_STATE, X/* @ A B C */ XCASE_ICH, XCASE_CUU, XCASE_CUD, XCASE_CUF, X/* D E F G */ XCASE_CUB, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* H I J K */ XCASE_CUP, XCASE_GROUND_STATE, XCASE_ED, XCASE_EL, X/* L M N O */ XCASE_IL, XCASE_DL, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* P Q R S */ XCASE_DCH, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* T U V W */ XCASE_TRACK_MOUSE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* X Y Z [ */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* \ ] ^ _ */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* ` a b c */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_DA1, X/* d e f g */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_CUP, XCASE_TBC, X/* h i j k */ XCASE_SET, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* l m n o */ XCASE_RST, XCASE_SGR, XCASE_CPR, XCASE_GROUND_STATE, X/* p q r s */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_DECSTBM, XCASE_GROUND_STATE, X/* t u v w */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* x y z { */ XCASE_DECREQTPARM, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* | } ~ DEL */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* currency yen brokenbar section */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* notsign hyphen registered macron */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* degree plusminus twosuperior threesuperior */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* acute mu paragraph periodcentered */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* cedilla onesuperior masculine guillemotright */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* onequarter onehalf threequarters questiondown */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Agrave Aacute Acircumflex Atilde */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Adiaeresis Aring AE Ccedilla */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Eth Ntilde Ograve Oacute */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* agrave aacute acircumflex atilde */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* adiaeresis aring ae ccedilla */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* egrave eacute ecircumflex ediaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* igrave iacute icircumflex idiaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* eth ntilde ograve oacute */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* ocircumflex otilde odiaeresis division */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* oslash ugrave uacute ucircumflex */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* udiaeresis yacute thorn ydiaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X}; X Xint dectable[] = { X/* NUL SOH STX ETX */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* EOT ENQ ACK BEL */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_BELL, X/* BS HT NL VT */ XCASE_BS, XCASE_TAB, XCASE_VMOT, XCASE_VMOT, X/* NP CR SO SI */ XCASE_VMOT, XCASE_CR, XCASE_SO, XCASE_SI, X/* DLE DC1 DC2 DC3 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* DC4 NAK SYN ETB */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* CAN EM SUB ESC */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_ESC, X/* FS GS RS US */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* SP ! " # */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* $ % & ' */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* ( ) * + */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* , - . / */ XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, XCASE_ESC_IGNORE, X/* 0 1 2 3 */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, X/* 4 5 6 7 */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, X/* 8 9 : ; */ XCASE_ESC_DIGIT, XCASE_ESC_DIGIT, XCASE_IGNORE, XCASE_ESC_SEMI, X/* < = > ? */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* @ A B C */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* D E F G */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* H I J K */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* L M N O */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* P Q R S */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* T U V W */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* X Y Z [ */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* \ ] ^ _ */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* ` a b c */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* d e f g */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* h i j k */ XCASE_DECSET, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* l m n o */ XCASE_DECRST, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* p q r s */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_XTERM_RESTORE, XCASE_XTERM_SAVE, X/* t u v w */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* x y z { */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* | } ~ DEL */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* 0x80 0x81 0x82 0x83 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x84 0x85 0x86 0x87 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x88 0x89 0x8a 0x8b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x8c 0x8d 0x8e 0x8f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x90 0x91 0x92 0x93 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x94 0x95 0x96 0x97 */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x99 0x99 0x9a 0x9b */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* 0x9c 0x9d 0x9e 0x9f */ XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, XCASE_IGNORE, X/* nobreakspace exclamdown cent sterling */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* currency yen brokenbar section */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* diaeresis copyright ordfeminine guillemotleft */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* notsign hyphen registered macron */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* degree plusminus twosuperior threesuperior */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* acute mu paragraph periodcentered */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* cedilla onesuperior masculine guillemotright */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* onequarter onehalf threequarters questiondown */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Agrave Aacute Acircumflex Atilde */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Adiaeresis Aring AE Ccedilla */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Egrave Eacute Ecircumflex Ediaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Igrave Iacute Icircumflex Idiaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Eth Ntilde Ograve Oacute */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Ocircumflex Otilde Odiaeresis multiply */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Ooblique Ugrave Uacute Ucircumflex */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* Udiaeresis Yacute Thorn ssharp */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* agrave aacute acircumflex atilde */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* adiaeresis aring ae ccedilla */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* egrave eacute ecircumflex ediaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* igrave iacute icircumflex idiaeresis */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* eth ntilde ograve oacute */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, X/* ocircumflex otilde odiaeresis division */ XCASE_GROUND_STATE, XCASE_GROUND_STATE, XCASE_GROUND_STATE, END_OF_FILE if test 21812 -ne `wc -c <'xterm/VTPrsTbl.c.aa'`; then echo shar: \"'xterm/VTPrsTbl.c.aa'\" unpacked with wrong size! fi # end of 'xterm/VTPrsTbl.c.aa' fi if test -f 'xterm/menu.h' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xterm/menu.h'\" else echo shar: Extracting \"'xterm/menu.h'\" \(7649 characters\) sed "s/^X//" >'xterm/menu.h' <<'END_OF_FILE' X/* Copyright 1989 Massachusetts Institute of Technology */ X Xtypedef struct _MenuEntry { X char *name; X void (*function)(); X Widget widget; X} MenuEntry; X Xextern MenuEntry mainMenuEntries[], vtMenuEntries[], tekMenuEntries[]; Xextern MenuEntry fontMenuEntries[]; Xextern Arg menuArgs[]; X Xextern void HandleAllowSends(), HandleVisualBell(), X HandleLogging(), HandleRedraw(), HandleSendSignal(), X HandleQuit(), HandleScrollbar(), HandleJumpscroll(), HandleReverseVideo(), X HandleAutoWrap(), HandleReverseWrap(), HandleAutoLineFeed(), X HandleAppCursor(), HandleAppKeypad(), HandleScrollKey(), X HandleScrollTtyOutput(), HandleAllow132(), HandleCursesEmul(), X HandleMarginBell(), HandleAltScreen(), HandleSoftReset(), X HandleHardReset(), HandleSetTerminalType(), HandleVisibility(), X HandleSetTekText(), HandleTekPage(), HandleTekReset(), HandleTekCopy(), X HandleBltscroll(); X X X X/* X * The following definitions MUST match the order of entries given in X * the mainMenuEntries, vtMenuEntries, and tekMenuEntries arrays in menu.c. X */ X X/* X * items in primary menu X */ X#define mainMenu_securekbd 0 X#define mainMenu_allowsends 1 X#define mainMenu_logging 2 X#define mainMenu_redraw 3 X#define mainMenu_line1 4 X#define mainMenu_suspend 5 X#define mainMenu_continue 6 X#define mainMenu_interrupt 7 X#define mainMenu_hangup 8 X#define mainMenu_terminate 9 X#define mainMenu_kill 10 X#define mainMenu_line2 11 X#define mainMenu_quit 12 X X X/* X * items in vt100 mode menu X */ X#define vtMenu_scrollbar 0 X#define vtMenu_jumpscroll 1 X#define vtMenu_bltscroll 2 X#define vtMenu_reversevideo 3 X#define vtMenu_autowrap 4 X#define vtMenu_reversewrap 5 X#define vtMenu_autolinefeed 6 X#define vtMenu_appcursor 7 X#define vtMenu_appkeypad 8 X#define vtMenu_scrollkey 9 X#define vtMenu_scrollttyoutput 10 X#define vtMenu_allow132 11 X#define vtMenu_cursesemul 12 X#define vtMenu_visualbell 13 X#define vtMenu_marginbell 14 X#define vtMenu_altscreen 15 X#define vtMenu_line1 16 X#define vtMenu_softreset 17 X#define vtMenu_hardreset 18 X#define vtMenu_line2 19 X#define vtMenu_tekshow 20 X#define vtMenu_tekmode 21 X#define vtMenu_vthide 22 X X/* X * items in vt100 font menu X */ X#define fontMenu_fontdefault 0 X#define fontMenu_font1 1 X#define fontMenu_font2 2 X#define fontMenu_font3 3 X#define fontMenu_font4 4 X#define fontMenu_fontescape 5 X#define fontMenu_fontsel 6 X/* number of non-line items should match NMENUFONTS in ptyx.h */ X X X/* X * items in tek4014 mode menu X */ X#define tekMenu_tektextlarge 0 X#define tekMenu_tektext2 1 X#define tekMenu_tektext3 2 X#define tekMenu_tektextsmall 3 X#define tekMenu_line1 4 X#define tekMenu_tekpage 5 X#define tekMenu_tekreset 6 X#define tekMenu_tekcopy 7 X#define tekMenu_line2 8 X#define tekMenu_vtshow 9 X#define tekMenu_vtmode 10 X#define tekMenu_tekhide 11 X X X/* X * macros for updating menus X */ X X#define update_menu_item(w,mi,val) { if (mi) { \ X menuArgs[0].value = (XtArgVal) ((val) ? term->screen.menu_item_bitmap \ X : None); \ X XtSetValues (mi, menuArgs, (Cardinal) 1); }} X X X#define set_sensitivity(w,mi,val) { if (mi) { \ X menuArgs[1].value = (XtArgVal) (val); \ X XtSetValues (mi, menuArgs+1, (Cardinal) 1); }} X X X X/* X * there should be one of each of the following for each checkable item X */ X X X#define update_securekbd() \ X update_menu_item (term->screen.mainMenu, \ X mainMenuEntries[mainMenu_securekbd].widget, \ X term->screen.grabbedKbd) X X#define update_allowsends() \ X update_menu_item (term->screen.mainMenu, \ X mainMenuEntries[mainMenu_allowsends].widget, \ X term->screen.allowSendEvents) X X#define update_logging() \ X update_menu_item (term->screen.mainMenu, \ X mainMenuEntries[mainMenu_logging].widget, \ X term->screen.logging) X X X#define update_scrollbar() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_scrollbar].widget, \ X term->screen.scrollbar) X X#define update_jumpscroll() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_jumpscroll].widget, \ X term->screen.jumpscroll) X X#define update_bltscroll() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_bltscroll].widget, \ X term->screen.bltscroll) X X#define update_reversevideo() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_reversevideo].widget, \ X (term->flags & REVERSE_VIDEO)) X X#define update_autowrap() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_autowrap].widget, \ X (term->flags & WRAPAROUND)) X X#define update_reversewrap() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_reversewrap].widget, \ X (term->flags & REVERSEWRAP)) X X#define update_autolinefeed() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_autolinefeed].widget, \ X (term->flags & LINEFEED)) X X#define update_appcursor() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_appcursor].widget, \ X (term->keyboard.flags & CURSOR_APL)) X X#define update_appkeypad() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_appkeypad].widget, \ X (term->keyboard.flags & KYPD_APL)) X X#define update_scrollkey() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_scrollkey].widget, \ X term->screen.scrollkey) X X#define update_scrollttyoutput() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_scrollttyoutput].widget, \ X term->screen.scrollttyoutput) X X#define update_allow132() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_allow132].widget, \ X term->screen.c132) X X#define update_cursesemul() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_cursesemul].widget, \ X term->screen.curses) X X#define update_visualbell() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_visualbell].widget, \ X term->screen.visualbell) X X#define update_marginbell() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_marginbell].widget, \ X term->screen.marginbell) X X#define update_altscreen() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_altscreen].widget, \ X term->screen.alternate) X X#define update_tekshow() \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_tekshow].widget, \ X term->screen.Tshow) X X#define update_vttekmode() { \ X update_menu_item (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_tekmode].widget, \ X term->screen.TekEmu) \ X update_menu_item (term->screen.tekMenu, \ X tekMenuEntries[tekMenu_vtmode].widget, \ X !term->screen.TekEmu) } X X#define update_vtshow() \ X update_menu_item (term->screen.tekMenu, \ X tekMenuEntries[tekMenu_vtshow].widget, \ X term->screen.Vshow) X X X#define set_vthide_sensitivity() \ X set_sensitivity (term->screen.vtMenu, \ X vtMenuEntries[vtMenu_vthide].widget, \ X term->screen.Tshow) X X#define set_tekhide_sensitivity() \ X set_sensitivity (term->screen.tekMenu, \ X tekMenuEntries[tekMenu_tekhide].widget, \ X term->screen.Vshow) X X#define set_altscreen_sensitivity(val) \ X set_sensitivity (term->screen.vtMenu,\ X vtMenuEntries[vtMenu_altscreen].widget, (val)) X X X/* X * macros for mapping font size to tekMenu placement X */ X#define FS2MI(n) (n) /* font_size_to_menu_item */ X#define MI2FS(n) (n) /* menu_item_to_font_size */ X X#define set_tekfont_menu_item(n,val) \ X update_menu_item (term->screen.tekMenu, \ X tekMenuEntries[FS2MI(n)].widget, \ X (val)) X X#define set_menu_font(val) \ X update_menu_item (term->screen.fontMenu, \ X fontMenuEntries[term->screen.menu_font_number].widget, \ X (val)) END_OF_FILE if test 7649 -ne `wc -c <'xterm/menu.h'`; then echo shar: \"'xterm/menu.h'\" unpacked with wrong size! fi # end of 'xterm/menu.h' fi echo shar: End of archive 10 \(of 14\). cp /dev/null ark10isdone MISSING="" for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked all 14 archives. rm -f ark[1-9]isdone ark[1-9][0-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0 dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.