Annotation of 3BSD/cmd/net/config.h, revision 1.1.1.1

1.1       root        1: /*
                      2:        These are machine-configuration dependent
                      3:        tables.  To add a machine, be sure to update all
                      4:        these tables and to add the "ifdef" entry in "mach.h".
                      5:        This file corresponds to the following network:
                      6: 
                      7:        Ing70-----------CSVAX           A              B
                      8:          |              |              |              |
                      9:          |              |              |              |
                     10:          |              |              |              |
                     11:          |              |              |              |
                     12:        IngVAX          Cory------------C--------------D------------Q
                     13:                         |              |              |\
                     14:                         |              |              | \
                     15:                         |              |              |  \
                     16:                         |              |              |   \
                     17:        EECS40----------OptVAX          E             SRC   F
                     18:                         |
                     19:                         |
                     20:                         |
                     21:                         |
                     22:                        Image
                     23: 
                     24:        The tables must be consistent.
                     25:        To be added:
                     26: 
                     27: */
                     28: /* Computer Center A Machine (A) */
                     29: char configA[] = {             /* to get to i, config[i] */
                     30:        'a','c','c','c','c',            /* a,b,c,d,e */
                     31:        'c',000,000,'c','c',            /* f,g,h,i,j */
                     32:        000,000,'c',000,'c',            /* k,l,m,n,o */
                     33:        000,'c',000,'c',000,            /* p,q,r,s,t */
                     34:        000,'c',000,000,'c',            /* u,v,w,x,y */
                     35:        'c',0                           /* z */
                     36:        };
                     37: /* Computer Center B Machine (B) */
                     38: char configB[] = {             /* to get to i, config[i] */
                     39:        'd','b','d','d','d',            /* a,b,c,d,e */
                     40:        'd',000,000,'d','d',            /* f,g,h,i,j */
                     41:        000,000,'d',000,'d',            /* k,l,m,n,o */
                     42:        000,'d',000,'d',000,            /* p,q,r,s,t */
                     43:        000,'d',000,000,'d',            /* u,v,w,x,y */
                     44:        'd',0                           /* z */
                     45:        };
                     46: /* Computer Center C Machine (C) */
                     47: char configC[] = {             /* to get to i, config[i] */
                     48:        'a','d','c','d','e',            /* a,b,c,d,e */
                     49:        'd',000,000,'y','y',            /* f,g,h,i,j */
                     50:        000,000,'y',000,'y',            /* k,l,m,n,o */
                     51:        000,'d',000,'d',000,            /* p,q,r,s,t */
                     52:        000,'y',000,000,'y',            /* u,v,w,x,y */
                     53:        'y',0                           /* z */
                     54:        };
                     55: /* Computer Center D Machine (D) */
                     56: char configD[] = {             /* to get to i, config[i] */
                     57:        'c','b','c','d','c',            /* a,b,c,d,e */
                     58:        'f',000,000,'c','c',            /* f,g,h,i,j */
                     59:        000,000,'c',000,'c',            /* k,l,m,n,o */
                     60:        000,'q',000,'s',000,            /* p,q,r,s,t */
                     61:        000,'c',000,000,'c',            /* u,v,w,x,y */
                     62:        'c',0                           /* z */
                     63:        };
                     64: /* Computer Center E Machine (E) */
                     65: char configE[] = {             /* to get to i, config[i] */
                     66:        'c','c','c','c','e',            /* a,b,c,d,e */
                     67:        'c',000,000,'c','c',            /* f,g,h,i,j */
                     68:        000,000,'c',000,'c',            /* k,l,m,n,o */
                     69:        000,'c',000,'c',000,            /* p,q,r,s,t */
                     70:        000,'c',000,000,'c',            /* u,v,w,x,y */
                     71:        'c',0                           /* z */
                     72:        };
                     73: /* Computer Center F Machine (F) */
                     74: char configF[] = {             /* to get to i, config[i] */
                     75:        'd','d','d','d','d',            /* a,b,c,d,e */
                     76:        'f',000,000,'d','d',            /* f,g,h,i,j */
                     77:        000,000,'d',000,'d',            /* k,l,m,n,o */
                     78:        000,'d',000,'d',000,            /* p,q,r,s,t */
                     79:        000,'d',000,000,'d',            /* u,v,w,x,y */
                     80:        'd',0                           /* z */
                     81:        };
                     82: /* Project INGRES 11/70 (Ing70) */
                     83: char configI[] = {             /* to get to i, config[i] */
                     84:        'v','v','v','v','v',            /* a,b,c,d,e */
                     85:        'v',000,000,'i','j',            /* f,g,h,i,j */
                     86:        000,000,'v',000,'v',            /* k,l,m,n,o */
                     87:        000,'v',000,'v',000,            /* p,q,r,s,t */
                     88:        000,'v',000,000,'v',            /* u,v,w,x,y */
                     89:        'v',0                           /* z */
                     90:        };
                     91: /* Project INGRES VAX (IngVAX) */
                     92: char configJ[] = {             /* to get to i, config[i] */
                     93:        'i','i','i','i','i',            /* a,b,c,d,e */
                     94:        'i',000,000,'i','j',            /* f,g,h,i,j */
                     95:        000,000,'i',000,'i',            /* k,l,m,n,o */
                     96:        000,'i',000,'i',000,            /* p,q,r,s,t */
                     97:        000,'i',000,000,'i',            /* u,v,w,x,y */
                     98:        'i',0                           /* z */
                     99:        };
                    100: /* Sakrison's Image Project 11/40 (Image) */
                    101: char configM[] = {             /* to get to i, config[i] */
                    102:        'o','o','o','o','o',            /* a,b,c,d,e */
                    103:        'o',000,000,'o','o',            /* f,g,h,i,j */
                    104:        000,000,'m',000,'o',            /* k,l,m,n,o */
                    105:        000,'o',000,'o',000,            /* p,q,r,s,t */
                    106:        000,'o',000,000,'o',            /* u,v,w,x,y */
                    107:        'o',0                           /* z */
                    108:        };
                    109: /* Pfeister - Pollack - Sangiovanni Optimization VAX (OptVAX) */
                    110: char configO[] = {             /* to get to i, config[i] */
                    111:        'y','y','y','y','y',            /* a,b,c,d,e */
                    112:        'y',000,000,'y','y',            /* f,g,h,i,j */
                    113:        000,000,'m',000,'o',            /* k,l,m,n,o */
                    114:        000,'y',000,'y',000,            /* p,q,r,s,t */
                    115:        000,'y',000,000,'y',            /* u,v,w,x,y */
                    116:        'z',0                           /* z */
                    117:        };
                    118: /* Computer Center Q Machine (Q) */
                    119: char configQ[] = {             /* to get to i, config[i] */
                    120:        'd','d','d','d','d',            /* a,b,c,d,e */
                    121:        'd',000,000,'d','d',            /* f,g,h,i,j */
                    122:        000,000,'d',000,'d',            /* k,l,m,n,o */
                    123:        000,'q',000,'d',000,            /* p,q,r,s,t */
                    124:        000,'d',000,000,'d',            /* u,v,w,x,y */
                    125:        'd',0                           /* z */
                    126:        };
                    127: /* Survey Research Center 11/40 (SRC) */
                    128: char configS[] = {             /* to get to i, config[i] */
                    129:        'd','d','d','d','d',            /* a,b,c,d,e */
                    130:        'd',000,000,'d','d',            /* f,g,h,i,j */
                    131:        000,000,'d',000,'d',            /* k,l,m,n,o */
                    132:        000,'d',000,'s',000,            /* p,q,r,s,t */
                    133:        000,'d',000,000,'d',            /* u,v,w,x,y */
                    134:        'd',0                           /* z */
                    135:        };
                    136: /* EECS Research (Fateman - Ernie) VAX (CSVAX) */
                    137: char configV[] = {             /* to get to i, config[i] */
                    138:        'y','y','y','y','y',            /* a,b,c,d,e */
                    139:        'y',000,000,'i','i',            /* f,g,h,i,j */
                    140:        000,000,'y',000,'y',            /* k,l,m,n,o */
                    141:        000,'y',000,'y',000,            /* p,q,r,s,t */
                    142:        000,'v',000,000,'y',            /* u,v,w,x,y */
                    143:        'y',0                           /* z */
                    144:        };
                    145: /* EECS Instructional 11/70 (199 Cory) (Cory) */
                    146: char configY[] = {             /* to get to i, config[i] */
                    147:        'c','c','c','c','c',            /* a,b,c,d,e */
                    148:        'c',000,000,'v','v',            /* f,g,h,i,j */
                    149:        000,000,'o',000,'o',            /* k,l,m,n,o */
                    150:        000,'c',000,'c',000,            /* p,q,r,s,t */
                    151:        000,'v',000,000,'y',            /* u,v,w,x,y */
                    152:        'o',0                           /* z */
                    153:        };
                    154: /* EECS Departmental 11/40  (EECS40) */
                    155: char configZ[] = {             /* to get to i, config[i] */
                    156:        'o','o','o','o','o',            /* a,b,c,d,e */
                    157:        'o',000,000,'o','o',            /* f,g,h,i,j */
                    158:        000,000,'o',000,'o',            /* k,l,m,n,o */
                    159:        000,'o',000,'o',000,            /* p,q,r,s,t */
                    160:        000,'o',000,000,'o',            /* u,v,w,x,y */
                    161:        'z',0                           /* z */
                    162:        };
                    163: /* this table is used by netlpr to do lpr w/o an acct
                    164:    and by net and netdaemon to do pre-emption */
                    165: /* sub.c uses the table in initdaemon to check machine
                    166:    type - errormsg may be ignored */
                    167: char machtype[]= {
                    168:        M_CC, M_CC, M_CC, M_CC, M_CC,   /* a,b,c,d,e */
                    169:        M_CC, 0, 0, M_INGRES, M_INGRES, /* f,g,h,i,j */
                    170:        0, 0, M_OTHER, 0, M_VAX,                /* k,l,m,n,o */
                    171:        0, M_CC, 0, M_SRC, 0,           /* p,q,r,s,t */
                    172:        0, M_VAX, 0, 0, M_CORY,         /* u,v,w,x,y */
                    173:        M_OTHER, 0};                            /* z */
                    174: 
                    175: /* this is basically the default machine for each local machine */
                    176: char remtable[] = {
                    177:        'c','d','a','c','c',            /* a,b,c,d,e */
                    178:        'd',000,000,'j','i',            /* f,g,h,i,j */
                    179:        000,000,'v',000,'v',            /* k,l,m,n,o */
                    180:        000,'d',000,'d',000,            /* p,q,r,s,t */
                    181:        000,'y',000,000,'v',            /* u,v,w,x,y */
                    182:        'i',0                           /* z */
                    183:        };
                    184: /* bad login names */
                    185: struct bstruct btable[] = {
                    186:        "op", 'a',
                    187:        0,0 };
                    188: /* this table shows the correspondence between
                    189:    machine names like 'Cory' and their internal
                    190:    names, like 'y' */
                    191: static struct tt {
                    192:        char *bigname;
                    193:        char lname;
                    194:        } table[] = {
                    195:        "A",            'a',
                    196:        "B",            'b',
                    197:        "C",            'c',
                    198:        "D",            'd',
                    199:        "E",            'e',
                    200:        "F",            'f',
                    201:        "CCVAX",        'f',
                    202:        "Ing70",        'i',
                    203:        "Ingres",       'i',
                    204:        "IngVAX",       'j',
                    205:        "Image",        'm',
                    206:        "OptVAX",       'o',
                    207:        "SESM",         'o',
                    208:        "Q",            'q',
                    209:        "SRC",          's',
                    210:        "CSVAX",        'v',
                    211:        "ucbvax",       'v',
                    212:        "VAX",          'v',
                    213:        "Cory",         'y',
                    214:        "EECS40",       'z',
                    215:        0,              0
                    216:        };

unix.superglobalmegacorp.com

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