From:	CSBVAX::MRGATE!info-vax-RELAY@KL.SRI.COM@SMTP 19-JUL-1988 03:14
To:	ARISIA::EVERHART
Subj:	Unix termcap to VMS termtable converter 3/3


Received: from Csa4.LBL.Gov by KL.SRI.COM with TCP; Wed, 13 Jul 88 12:19:20 PDT
Date:    Wed, 13 Jul 88 12:15:59 PDT
From:     forrest@Csa4.LBL.Gov
Message-Id: <880713121559.280025a9@Csa4.LBL.Gov>
Subject: Unix termcap to VMS termtable converter 3/3
To:       info-vax@kl.sri.com
X-ST-Vmsmail-To: ST%"info-vax@kl.sri.com"

$Part3:
$ File_is="TABLE.H"
$ Check_Sum_is=442098433
$ Copy SYS$Input VMS_SHAR_DUMMY.DUMMY
X#define STR	0
X#define BOOL	1
X#define NUM	2
X
Xstruct table_item
X{
X	int type;
X	char *unix_name;
X	char *vms_name;
X} table[] =
X{
XSTR,	"CC",	"",
XSTR,	"ae",	"END_ALTERNATE_CHAR",
XSTR,	"al",	"",
XBOOL,	"am",	"AUTO_MARGIN",
XSTR,	"as",	"BEGIN_ALTERNATE_CHAR",
XSTR,	"bc",	"",
XSTR,	"bl",	"",
XBOOL,	"bs",	"",
XSTR,	"bt",	"",
XBOOL,	"bw",	"",
XSTR,	"cd",	"ERASE_TO_END_DISPLAY",
XSTR,	"ce",	"ERASE_TO_END_LINE",
XSTR,	"ch",	"CURSOR_RIGHT",
XSTR,	"cl",	"ERASE_WHOLE_DISPLAY",
XSTR,	"cm",	"SET_CURSOR_ABS",
XNUM,	"co",	"COLUMNS",
XSTR,	"cr",	"",
XSTR,	"cs",	"SET_SCROLL_REGION",
XSTR,	"ct",	"",
XSTR,	"cv",	"",
XNUM,	"dB",	"",
XNUM,	"dC",	"CR_FILL",
XNUM,	"dF",	"LF_FILL",
XNUM,	"dN",	"",
XNUM,	"dT",	"",
XBOOL,	"da",	"",
XBOOL,	"db",	"",
XSTR,	"dc",	"DELETE_CHAR",
XSTR,	"dl",	"DELETE_LINE",
XSTR,	"dm",	"BEGIN_DELETE_MODE",
XSTR,	"do",	"CURSOR_DOWN",
XSTR,	"ed",	"END_DELETE_MODE",
XSTR,	"ei",	"END_INSERT_MODE",
XSTR,	"eo",	"",
XSTR,	"ff",	"",
XBOOL,	"hc",	"",
XSTR,	"hd",	"",
XSTR,	"ho",	"HOME",
XSTR,	"hu",	"",
XSTR,	"hz",	"",
XSTR,	"ic",	"INSERT_CHAR",
XSTR,	"if",	"",
XSTR,	"im",	"BEGIN_INSERT_MODE",
XBOOL,	"in",	"INSERT_MODE_NULLS",
XSTR,	"ip",	"INSERT_PAD",
XSTR,	"is",	"INIT_STRING",
XSTR,	"k0",	"",
XSTR,	"k1",	"",
XSTR,	"k2",	"",
XSTR,	"k3",	"",
XSTR,	"k4",	"",
XSTR,	"k5",	"",
XSTR,	"k6",	"",
XSTR,	"k7",	"",
XSTR,	"k8",	"",
XSTR,	"k9",	"",
XSTR,	"kb",	"KEY_BACKSPACE",
XSTR,	"kd",	"",
XSTR,	"ke",	"SET_NUMERIC_KEYPAD",
XSTR,	"kh",	"",
XSTR,	"kl",	"KEY_LEFT_ARROW",
XNUM,	"kn",	"",
XSTR,	"ko",	"",
XSTR,	"kr",	"KEY_RIGHT_ARROW",
XSTR,	"ks",	"SET_APPLICATION_KEYPAD",
XSTR,	"ku",	"KEY_UP_ARROW",
XSTR,	"l0",	"",
XSTR,	"l1",	"",
XSTR,	"l2",	"",
XSTR,	"l3",	"",
XSTR,	"l4",	"",
XSTR,	"l5",	"",
XSTR,	"l6",	"",
XSTR,	"l7",	"",
XSTR,	"l8",	"",
XSTR,	"l9",	"",
XSTR,	"le",	"",
XNUM,	"li",	"ROWS",
XSTR,	"ll",	"",
XSTR,	"ma",	"",
XSTR,	"mb",	"",
XSTR,	"md",	"",
XSTR,	"me",	"",
XSTR,	"mh",	"",
XBOOL,	"mi",	"",
XSTR,	"ml",	"",
XSTR,	"mr",	"",
XBOOL,	"ms",	"",
XSTR,	"mu",	"",
XBOOL,	"nc",	"",
XSTR,	"nd",	"",
XSTR,	"nl",	"NEWLINE_CHAR",
XBOOL,	"ns",	"NO_SCROLL",
XBOOL,	"os",	"OVERSTRIKE",
XSTR,	"pc",	"PAD_CHAR",
XBOOL,	"pt",	"PHYSICAL_TABS",
XSTR,	"rf",	"",
XSTR,	"rs",	"",
XSTR,	"se",	"END_BOLD",
XSTR,	"sf",	"SCROLL_FORWARD",
XNUM,	"sg",	"",
XSTR,	"so",	"BEGIN_BOLD",
XSTR,	"sr",	"SCROLL_REVERSE",
XSTR,	"st",	"",
XSTR,	"ta",	"TAB_CHAR",
XSTR,	"tc",	"",
XSTR,	"te",	"RESTORE_CURSOR",
XSTR,	"ti",	"SAVE_CURSOR",
XSTR,	"uc",	"UNDERLINE_CHAR",
XSTR,	"ue",	"END_UNDERSCORE",
XNUM,	"ug",	"",
XBOOL,	"ul",	"UNDERLINE",
XSTR,	"up",	"CURSOR_UP",
XSTR,	"us",	"BEGIN_UNDERSCORE",
XSTR,	"vb",	"",
XSTR,	"ve",	"",
XSTR,	"vs",	"",
XNUM,	"vt",	"",
XBOOL,	"xb",	"",
XBOOL,	"xn",	"IGNORE_NEWLINE",
XBOOL,	"xr",	"",
XBOOL,	"xs",	"NO_ERASE",
XBOOL,	"xt",	""
X};
$ GoSub Convert_File
$ Exit
