/*************************************************************** * vt100 - terminal emulator - initialization * * 860823 DBW - Integrated and rewrote lots of code * v2.0 860809 DBW - Major rewrite * v1.1 860720 DBW - Switches, 80 cols, colors, bug fixes * v1.0 860712 DBW - First version released * ***************************************************************/ #include "vt100.h" /* this file contains all the declarations for the menu items, it is these structures are used only in the menu module */ #define TKMAX 3 /* screen menu items */ struct MenuItem TKItem[TKMAX]; struct IntuiText TKText[TKMAX]; #define PRMAX 2 struct Menu PRMenu; struct MenuItem PRItem[PRMAX]; struct IntuiText PRText[PRMAX]; #define SCMAX 2 struct Menu SCMenu; struct MenuItem SCItem[SCMAX]; struct IntuiText SCText[SCMAX]; /* this macro sets a command key sequence for a menu item */ #define setseq(item, char) {\ item.Flags = item.Flags | COMMSEQ; \ item.Command = char;} extern struct Window *TekWindow; extern char *malloc(); /*****************************************************************/ /* The following function initializes the structure arrays */ /* needed to provide the File menu topic. */ /*****************************************************************/ void InitFileItems() { int n; /* initialize each menu item and IntuiText with loop */ for( n=0; n