Annotation of coherent/g/usr/bin/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 <stdio.h>
                      4: #include <curses.h>
                      5: #include <fcntl.h>
                      6: #include "uuinstall.h"
                      7: 
                      8: char names[MAXENTRIES][15];    /* array of port names read */
                      9: int  startpos[MAXENTRIES];     /* corresponding start line in file */
                     10: int  total_entries_found;      /* total number opf ports read from file */
                     11: short  dialflag;               /* flag to indicate that we're working w/dial */
                     12: short  sysflag;                /* flag to indicate that we're working w/sys */
                     13: short  portflag;               /* flag to indicate that we're working w/port */
                     14: char   action;                 /* action to be performed on a file entry. */
                     15: char   litestring[15];         /* used to highlight and select a name */
                     16: 
                     17: /* selection window coordinates used to highlight and select entries */
                     18: int newrow, prevrow, newcol, prevcol;
                     19: 
                     20: WINDOW *selwin;                        /* window of existing entries */
                     21: WINDOW *promptwin;             /* window to print prompts in */
                     22: WINDOW *menwin;                        /* window of menu options */
                     23: WINDOW *portwin;               /* view/create/edit port file entries */
                     24: 
                     25: 
                     26: /* functions */
                     27: char * get_data();
                     28: 
                     29: /* character arrays to hold port info when entering port data */
                     30: 
                     31: char portname[22];
                     32: char porttype[14];
                     33: char portdev[22];
                     34: char portspeed[8];
                     35: char portdial[22];
                     36: 
                     37: 
                     38: /* character arrays to hold dial info when entring dialer data */
                     39: 
                     40: char dialname[24];
                     41: char dialchat[85];
                     42: char dialtout[17];
                     43: char dialfail1[30];
                     44: char dialfail2[30];
                     45: char dialfail3[30];
                     46: char dialplete[85];
                     47: char dialabort[85];
                     48: 
                     49: /* character arrays to hold sys info when entering data */
                     50: 
                     51: char sysname[17];
                     52: char systime[71];
                     53: char sysspeed[12];
                     54: char sysport[21];
                     55: char sysphone[71];
                     56: char syschat[87];
                     57: char sysmyname[16];
                     58: char sysprot[15];
                     59: char syscmds[87];
                     60: char sysread[87];
                     61: char syswrite[87];

unix.superglobalmegacorp.com

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