Annotation of coherent/g/usr/lib/uucp/uuinstall/globals.c, revision 1.1.1.1

1.1       root        1: /* globals.c: these are our global variable, structs, file pointers... */
                      2: 
                      3: #include "uuinstall.h"
                      4: 
                      5: char names[MAXENTRIES][15];    /* array of port names read */
                      6: int  startpos[MAXENTRIES];     /* corresponding start line in file */
                      7: int  total_entries_found;      /* total number opf ports read from file */
                      8: short  dialflag;               /* flag to indicate that we're working w/dial */
                      9: short  sysflag;                /* flag to indicate that we're working w/sys */
                     10: short  portflag;               /* flag to indicate that we're working w/port */
                     11: char   action;                 /* action to be performed on a file entry. */
                     12: char   litestring[15];         /* used to highlight and select a name */
                     13: 
                     14: /* selection window coordinates used to highlight and select entries */
                     15: int newrow, prevrow, newcol, prevcol;
                     16: 
                     17: WINDOW *selwin;                        /* window of existing entries */
                     18: WINDOW *promptwin;             /* window to print prompts in */
                     19: WINDOW *menwin;                        /* window of menu options */
                     20: WINDOW *portwin;               /* view/create/edit port file entries */
                     21: 
                     22: 
                     23: /* functions */
                     24: char * get_data();
                     25: 
                     26: /* character arrays to hold port info when entering port data */
                     27: 
                     28: char portname[22];
                     29: char porttype[14];
                     30: char portdev[22];
                     31: char portspeed[8];
                     32: char portdial[22];
                     33: 
                     34: 
                     35: /* character arrays to hold dial info when entring dialer data */
                     36: 
                     37: char dialname[24];
                     38: char dialchat[85];
                     39: char dialtout[17];
                     40: char dialfail1[30];
                     41: char dialfail2[30];
                     42: char dialfail3[30];
                     43: char dialplete[85];
                     44: char dialabort[85];
                     45: 
                     46: /* character arrays to hold sys info when entering data */
                     47: 
                     48: char sysname[17];
                     49: char systime[71];
                     50: char sysspeed[12];
                     51: char sysport[21];
                     52: char sysphone[71];
                     53: char syschat[87];
                     54: char sysmyname[16];
                     55: char sysprot[15];
                     56: char syscmds[87];
                     57: char sysread[87];
                     58: char syswrite[87];
                     59: 
                     60: /* color related variables */
                     61: short use_colors;              /* flag to use colors */
                     62: 
                     63: int mainfore;                  /* main menu colors */
                     64: int mainback;
                     65: int actfore;                   /* action menu colors */
                     66: int actback;
                     67: int selfore;                   /* select screen colors */
                     68: int selback;
                     69: int helpfore;                  /* help message colors */
                     70: int helpback;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.