xref: /csrg-svn/old/berknet/config.h (revision 8210)
1*8210Smckusick /*	@(#)config.h	4.1	(Berkeley)	09/12/82	*/
2*8210Smckusick 
3*8210Smckusick /*
4*8210Smckusick 	These are machine-configuration dependent
5*8210Smckusick 	tables.  To add a machine, be sure to update all
6*8210Smckusick 	these tables, add the "ifdef" entry in "mach.h",
7*8210Smckusick 	and add config? to gothru() in sub.c.
8*8210Smckusick 	For Berkeley, this file corresponds to the following network:
9*8210Smckusick 
10*8210Smckusick 			C70
11*8210Smckusick 			 |
12*8210Smckusick 			 |
13*8210Smckusick 			 |
14*8210Smckusick 			 |
15*8210Smckusick 	IngVAX          ARPA----Onyx
16*8210Smckusick 	  |		 |
17*8210Smckusick 	  |		 |
18*8210Smckusick 	  |		 |
19*8210Smckusick 	  |		 |
20*8210Smckusick 	Ing70-----------CSVAX---Kim	A              B
21*8210Smckusick 	   		 |		|              |
22*8210Smckusick 		         |		|              |
23*8210Smckusick 	            	 |		|              |
24*8210Smckusick 	   		 |		|              |
25*8210Smckusick 	MathStat--------Cory------------C--------------D
26*8210Smckusick 			 |		|	       |
27*8210Smckusick 			 |		|	       |
28*8210Smckusick 			 |		|	       |
29*8210Smckusick 			 |		|	       |
30*8210Smckusick 	EECS40----------ESVAX		E-------F     SRC
31*8210Smckusick 	   		 |	       /|\
32*8210Smckusick 	   		 |     	      / | \
33*8210Smckusick 	   		 |	     /	|  \
34*8210Smckusick 	   		 |	    /	|   \
35*8210Smckusick 	VLSI------------Image	 Virus	Q    G
36*8210Smckusick 			 |
37*8210Smckusick 			 |
38*8210Smckusick 			 |
39*8210Smckusick 			CAD
40*8210Smckusick 
41*8210Smckusick 	The tables must be consistent.
42*8210Smckusick 
43*8210Smckusick 
44*8210Smckusick 	For RAND, these tables are:
45*8210Smckusick 
46*8210Smckusick 		VAX (C) ---------GRAPHICS (A)------- TP (B)
47*8210Smckusick 
48*8210Smckusick 	For NOSC, these tables are:
49*8210Smckusick 
50*8210Smckusick 		   FCCMM ------ ATTS ------ MSSF ------ CCMM
51*8210Smckusick 				/ \
52*8210Smckusick 			       /   \
53*8210Smckusick 			      /     \
54*8210Smckusick 			     /       \
55*8210Smckusick 		OT34 ---- GATE40    ING70
56*8210Smckusick 			    |
57*8210Smckusick 			    |
58*8210Smckusick 			   PWB
59*8210Smckusick 
60*8210Smckusick 
61*8210Smckusick 
62*8210Smckusick */
63*8210Smckusick # ifdef RAND
64*8210Smckusick /* GRAPHICS = A */
65*8210Smckusick char configA[] = {		/* to get to i, config[i] */
66*8210Smckusick 	'a','b','c',000,000,		/* a,b,c,d,e */
67*8210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
68*8210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
69*8210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
70*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
71*8210Smckusick 	000,0				/* z */
72*8210Smckusick 	};
73*8210Smckusick /* TP = B */
74*8210Smckusick char configB[] = {		/* to get to i, config[i] */
75*8210Smckusick 	'a','b','a',000,000,		/* a,b,c,d,e */
76*8210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
77*8210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
78*8210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
79*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
80*8210Smckusick 	000,0				/* z */
81*8210Smckusick 	};
82*8210Smckusick /* VAX = C */
83*8210Smckusick char configC[] = {		/* to get to i, config[i] */
84*8210Smckusick 	'a','a','c',000,000,		/* a,b,c,d,e */
85*8210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
86*8210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
87*8210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
88*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
89*8210Smckusick 	000,0				/* z */
90*8210Smckusick 	};
91*8210Smckusick /* if machtype is
92*8210Smckusick 	M_CC		netlpr will do lpr w/o an acct.
93*8210Smckusick 			Will pre-encrypt the password.
94*8210Smckusick 	M_INGRES	will allow higher file lengths.
95*8210Smckusick 	M_OTHER		will give no unusual effects.
96*8210Smckusick (when in doubt, machtype should be M_OTHER)
97*8210Smckusick */
98*8210Smckusick char machtype[]= {
99*8210Smckusick 	M_OTHER,M_OTHER,M_OTHER,0,0,	/* a,b,c,d,e */
100*8210Smckusick 	0, 0, 0, 0, 0, 			/* f,g,h,i,j */
101*8210Smckusick 	0, 0, 0, 0, 0,			/* k,l,m,n,o */
102*8210Smckusick 	0, 0, 0, 0, 0,			/* p,q,r,s,t */
103*8210Smckusick 	0, 0, 0, 0, 0,			/* u,v,w,x,y */
104*8210Smckusick 	0, 0};				/* z */
105*8210Smckusick 
106*8210Smckusick /* this is basically the default machine for each local machine */
107*8210Smckusick char remtable[] = {
108*8210Smckusick 	'b','a','a',000,000,		/* a,b,c,d,e */
109*8210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
110*8210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
111*8210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
112*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
113*8210Smckusick 	000,0				/* z */
114*8210Smckusick 	};
115*8210Smckusick /* bad login names */
116*8210Smckusick struct bstruct btable[] = {
117*8210Smckusick 	0,0 };
118*8210Smckusick /* this table shows the correspondence between
119*8210Smckusick    machine names like 'Cory' and their internal
120*8210Smckusick    names, like 'y' */
121*8210Smckusick static struct tt {
122*8210Smckusick 	char *bigname;
123*8210Smckusick 	char lname;
124*8210Smckusick 	} table[] = {
125*8210Smckusick 	"Graphics",	'a',
126*8210Smckusick 	"TP",		'b',
127*8210Smckusick 	"VAX",		'c',
128*8210Smckusick 	0, 		0
129*8210Smckusick 	};
130*8210Smckusick /* end of Rand definitions */
131*8210Smckusick 
132*8210Smckusick # endif RAND
133*8210Smckusick 
134*8210Smckusick # ifdef NOSC
135*8210Smckusick /* Naval Ocean Systems Center */
136*8210Smckusick 
137*8210Smckusick /* atts (a) */
138*8210Smckusick char configA[] = {		/* to get to i, config[i] */
139*8210Smckusick 	'a',000,'m',000,000,		/* a,b,c,d,e */
140*8210Smckusick 	'f','g',000,'i',000,		/* f,g,h,i,j */
141*8210Smckusick 	000,000,'m',000,'g',		/* k,l,m,n,o */
142*8210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
143*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
144*8210Smckusick 	000,0				/* z */
145*8210Smckusick 	};
146*8210Smckusick 
147*8210Smckusick /* ccmm (c) */
148*8210Smckusick char configC[] = {		/* to get to i, config[i] */
149*8210Smckusick 	'm',000,'c',000,000,		/* a,b,c,d,e */
150*8210Smckusick 	'm','m',000,'m',000,		/* f,g,h,i,j */
151*8210Smckusick 	000,000,'m',000,'m',		/* k,l,m,n,o */
152*8210Smckusick 	'm',000,000,000,000,		/* p,q,r,s,t */
153*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
154*8210Smckusick 	000,0				/* z */
155*8210Smckusick 	};
156*8210Smckusick 
157*8210Smckusick /* ccmm (f) */
158*8210Smckusick char configF[] = {		/* to get to i, config[i] */
159*8210Smckusick 	'a',000,'c',000,000,		/* a,b,c,d,e */
160*8210Smckusick 	'f','a',000,'a',000,		/* f,g,h,i,j */
161*8210Smckusick 	000,000,'a',000,'a',		/* k,l,a,n,o */
162*8210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
163*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
164*8210Smckusick 	000,0				/* z */
165*8210Smckusick 	};
166*8210Smckusick 
167*8210Smckusick /* mssf (m) */
168*8210Smckusick char configM[] = {		/* to get to i, config[i] */
169*8210Smckusick 	'a',000,'c',000,000,		/* a,b,c,d,e */
170*8210Smckusick 	'a','a',000,'a',000,		/* f,g,h,i,j */
171*8210Smckusick 	000,000,'m',000,'a',		/* k,l,m,n,o */
172*8210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
173*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
174*8210Smckusick 	000,0				/* z */
175*8210Smckusick 	};
176*8210Smckusick 
177*8210Smckusick /* ingres (i) proposed */
178*8210Smckusick char configI[] = {		/* to get to i, config[i] */
179*8210Smckusick 	'a',000,'a',000,000,		/* a,b,c,d,e */
180*8210Smckusick 	'a','a',000,'i',000,		/* f,g,h,i,j */
181*8210Smckusick 	000,000,'a',000,'a',		/* k,l,m,n,o */
182*8210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
183*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
184*8210Smckusick 	000,0				/* z */
185*8210Smckusick 	};
186*8210Smckusick 
187*8210Smckusick /* nosc-cc gateway 40 (g) */
188*8210Smckusick char configG[] = {		/* to get to i, config[i] */
189*8210Smckusick 	'a',000,'a',000,000,		/* a,b,c,d,e */
190*8210Smckusick 	'a','g',000,'a',000,		/* f,g,h,i,j */
191*8210Smckusick 	000,000,'a',000,'g',		/* k,l,m,n,o */
192*8210Smckusick 	'p',000,000,000,000,		/* p,q,r,s,t */
193*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
194*8210Smckusick 	000,0				/* z */
195*8210Smckusick 	};
196*8210Smckusick 
197*8210Smckusick /* ocean tech 34 (o) */
198*8210Smckusick char configO[] = {		/* to get to i, config[i] */
199*8210Smckusick 	'g',000,'g',000,000,		/* a,b,c,d,e */
200*8210Smckusick 	'g','g',000,'g',000,		/* f,g,h,i,j */
201*8210Smckusick 	000,000,'g',000,'o',		/* k,l,m,n,o */
202*8210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
203*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
204*8210Smckusick 	000,0				/* z */
205*8210Smckusick 	};
206*8210Smckusick 
207*8210Smckusick /* pwb at nosc (p) */
208*8210Smckusick char configP[] = {		/* to get to i, config[i] */
209*8210Smckusick 	'g',000,'g',000,000,		/* a,b,c,d,e */
210*8210Smckusick 	'g','g',000,'g',000,		/* f,g,h,i,j */
211*8210Smckusick 	000,000,'g',000,'g',		/* k,l,m,n,o */
212*8210Smckusick 	'p',000,000,000,000,		/* p,q,r,s,t */
213*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
214*8210Smckusick 	000,0				/* z */
215*8210Smckusick 	};
216*8210Smckusick 
217*8210Smckusick /* this table is used by netlpr to do lpr w/o an acct
218*8210Smckusick    and by net and netdaemon to do pre-emption */
219*8210Smckusick /* sub.c uses the table in initdaemon to check machine
220*8210Smckusick    type - errormsg may be ignored */
221*8210Smckusick char machtype[]= {
222*8210Smckusick 	M_CC, 0,M_OTHER, 0, 0,	   	/* a,b,c,d,e */
223*8210Smckusick 	M_OTHER,M_OTHER, 0,M_INGRES, 0,	/* f,g,h,i,j */
224*8210Smckusick 	0, 0,M_CC, 0,M_OTHER,		/* k,l,m,n,o */
225*8210Smckusick 	M_OTHER, 0, 0, 0, 0,		/* p,q,r,s,t */
226*8210Smckusick 	0, 0, 0, 0, 0,			/* u,v,w,x,y */
227*8210Smckusick 	0};				/* z */
228*8210Smckusick /* this is basically the default machine for each local machine */
229*8210Smckusick char remtable[] = {
230*8210Smckusick 	'm',000,'m',000,000,		/* a,b,c,d,e */
231*8210Smckusick 	'a','a',000,'a',000,		/* f,g,h,i,j */
232*8210Smckusick 	000,000,'a',000,'g',		/* k,l,m,n,o */
233*8210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
234*8210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
235*8210Smckusick 	000,0				/* z */
236*8210Smckusick 	};
237*8210Smckusick /* bad login names */
238*8210Smckusick struct bstruct btable[] = {
239*8210Smckusick 	"op", 'a',
240*8210Smckusick 	0,0 };
241*8210Smckusick /* this table shows the correspondence between
242*8210Smckusick    machine names like 'Cory' and their internal
243*8210Smckusick    names, like 'y' */
244*8210Smckusick static struct tt {
245*8210Smckusick 	char *bigname;
246*8210Smckusick 	char lname;
247*8210Smckusick 	} table[] = {
248*8210Smckusick 	"ATTS",		'a',
249*8210Smckusick 	"CCMM",		'c',
250*8210Smckusick 	"FCCMM",	'f',
251*8210Smckusick 	"MSSF",		'm',
252*8210Smckusick 	"INGRES",	'i',
253*8210Smckusick 	"GATEWAY",	'g',
254*8210Smckusick 	"OT34",		'o',
255*8210Smckusick 	"PWB",		'p',
256*8210Smckusick 	0, 0 };
257*8210Smckusick 
258*8210Smckusick # endif NOSC
259*8210Smckusick 
260*8210Smckusick # ifdef BERKELEY
261*8210Smckusick /* Berkeley definitions */
262*8210Smckusick 
263*8210Smckusick /* Computer Center A Machine (A) */
264*8210Smckusick char configA[] = {		/* to get to i, config[i] */
265*8210Smckusick 	'a','c','c','c','c',		/* a,b,c,d,e */
266*8210Smckusick 	'c','c',000,'c','c',		/* f,g,h,i,j */
267*8210Smckusick 	'c','c','c','c','c',		/* k,l,m,n,o */
268*8210Smckusick 	'c','c','c','c','c',		/* p,q,r,s,t */
269*8210Smckusick 	'c','c','c','c','c',		/* u,v,w,x,y */
270*8210Smckusick 	'c',0				/* z */
271*8210Smckusick 	};
272*8210Smckusick /* Computer Center B Machine (B) */
273*8210Smckusick char configB[] = {		/* to get to i, config[i] */
274*8210Smckusick 	'e','b','e','e','e',		/* a,b,c,d,e */
275*8210Smckusick 	'e','e',000,'e','e',		/* f,g,h,i,j */
276*8210Smckusick 	'e','e','e','e','e',		/* k,l,m,n,o */
277*8210Smckusick 	'e','e','e','e','e',		/* p,q,r,s,t */
278*8210Smckusick 	'e','e','e','e','e',		/* u,v,w,x,y */
279*8210Smckusick 	'e',0				/* z */
280*8210Smckusick 	};
281*8210Smckusick /* Computer Center C Machine (C) */
282*8210Smckusick char configC[] = {		/* to get to i, config[i] */
283*8210Smckusick 	'a','e','c','g','e',		/* a,b,c,d,e */
284*8210Smckusick 	'g','g',000,'g','g',		/* f,g,h,i,j */
285*8210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
286*8210Smckusick 	'g','e','g','e','g',		/* p,q,r,s,t */
287*8210Smckusick 	'g','g','g','g','y',		/* u,v,w,x,y */
288*8210Smckusick 	'g',0				/* z */
289*8210Smckusick 	};
290*8210Smckusick /* Computer Center D Machine (D) */
291*8210Smckusick char configD[] = {		/* to get to i, config[i] */
292*8210Smckusick 	'g','g','g','d','g',		/* a,b,c,d,e */
293*8210Smckusick 	'g','g',000,'g','g',		/* f,g,h,i,j */
294*8210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
295*8210Smckusick 	'g','g','g','g','g',		/* p,q,r,s,t */
296*8210Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
297*8210Smckusick 	'g',0				/* z */
298*8210Smckusick 	};
299*8210Smckusick /* Computer Center E Machine (E) */
300*8210Smckusick char configE[] = {		/* to get to i, config[i] */
301*8210Smckusick 	'c','b','c','c','e',		/* a,b,c,d,e */
302*8210Smckusick 	'g','g',000,'g','g',		/* f,g,h,i,j */
303*8210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
304*8210Smckusick 	'g','e','g','s','g',		/* p,q,r,s,t */
305*8210Smckusick 	'g','g','g','g','c',		/* u,v,w,x,y */
306*8210Smckusick 	'g',0				/* z */
307*8210Smckusick 	};
308*8210Smckusick /* Computer Center F Machine (F) */
309*8210Smckusick char configF[] = {		/* to get to i, config[i] */
310*8210Smckusick 	'g','g','g','g','g',		/* a,b,c,d,e */
311*8210Smckusick 	'f','g',000,'g','g',		/* f,g,h,i,j */
312*8210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
313*8210Smckusick 	'g','g','g','g','g',		/* p,q,r,s,t */
314*8210Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
315*8210Smckusick 	'g',0				/* z */
316*8210Smckusick 	};
317*8210Smckusick /* Computer Center G Machine (Comp Center VAX) */
318*8210Smckusick char configG[] = {		/* to get to i, config[i] */
319*8210Smckusick 	'c','c','c','d','c',		/* a,b,c,d,e */
320*8210Smckusick 	'f','g',000,'k','k',		/* f,g,h,i,j */
321*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
322*8210Smckusick 	'k','c','k','c','k',		/* p,q,r,s,t */
323*8210Smckusick 	'k','k','k','k','c',		/* u,v,w,x,y */
324*8210Smckusick 	'k',0				/* z */
325*8210Smckusick 	};
326*8210Smckusick /* Project INGRES 11/70 (Ing70) */
327*8210Smckusick char configI[] = {		/* to get to i, config[i] */
328*8210Smckusick 	'j','j','j','j','j',		/* a,b,c,d,e */
329*8210Smckusick 	'j','j',000,'i','j',		/* f,g,h,i,j */
330*8210Smckusick 	'j','j','j','j','j',		/* k,l,m,n,o */
331*8210Smckusick 	'j','j','j','j','j',		/* p,q,r,s,t */
332*8210Smckusick 	'j','j','j','j','j',		/* u,v,w,x,y */
333*8210Smckusick 	'j',0				/* z */
334*8210Smckusick 	};
335*8210Smckusick /* Project INGRES VAX (IngVAX) */
336*8210Smckusick char configJ[] = {		/* to get to i, config[i] */
337*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
338*8210Smckusick 	'k','k',000,'i','k',		/* f,g,h,i,j */
339*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
340*8210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
341*8210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
342*8210Smckusick 	'k',0				/* z */
343*8210Smckusick 	};
344*8210Smckusick /* UUCP gateway VAX (ucbvax) */
345*8210Smckusick char configK[] = {		/* to get to i, config[i] */
346*8210Smckusick 	'g','g','g','g','g',		/* a,b,c,d,e */
347*8210Smckusick 	'g','g',000,'j','j',		/* f,g,h,i,j */
348*8210Smckusick 	'k','p','p','n','p',		/* k,l,m,n,o */
349*8210Smckusick 	'p','g','r','g','w',		/* p,q,r,s,t */
350*8210Smckusick 	'u','v','w','x','p',		/* u,v,w,x,y */
351*8210Smckusick 	'p',0				/* z */
352*8210Smckusick 	};
353*8210Smckusick /* Brodersen EECS VLSI VAX (VLSI) */
354*8210Smckusick char configL[] = {		/* to get to i, config[i] */
355*8210Smckusick 	'm','m','m','m','m',		/* a,b,c,d,e */
356*8210Smckusick 	'm','m',000,'m','m',		/* f,g,h,i,j */
357*8210Smckusick 	'm','l','m','m','m',		/* k,l,m,n,o */
358*8210Smckusick 	'm','m','m','m','m',		/* p,q,r,s,t */
359*8210Smckusick 	'm','m','m','m','m',		/* u,v,w,x,y */
360*8210Smckusick 	'm',0				/* z */
361*8210Smckusick 	};
362*8210Smckusick /* Sakrison's Image Project 11/40 (Image) */
363*8210Smckusick char configM[] = {		/* to get to i, config[i] */
364*8210Smckusick 	'o','o','o','o','o',		/* a,b,c,d,e */
365*8210Smckusick 	'o','o',000,'o','o',		/* f,g,h,i,j */
366*8210Smckusick 	'o','l','m','o','o',		/* k,l,m,n,o */
367*8210Smckusick 	'o','o','o','o','o',		/* p,q,r,s,t */
368*8210Smckusick 	'o','o','o','o','o',		/* u,v,w,x,y */
369*8210Smckusick 	'o',0				/* z */
370*8210Smckusick 	};
371*8210Smckusick /* Fatemans Applied Math VAX (Kim) */
372*8210Smckusick char configN[] = {		/* to get to i, config[i] */
373*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
374*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
375*8210Smckusick 	'k','k','k','n','k',		/* k,l,m,n,o */
376*8210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
377*8210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
378*8210Smckusick 	'k',0				/* z */
379*8210Smckusick 	};
380*8210Smckusick /* Pfeister - Pollack - Sangiovanni Optimization VAX (ESVAX) */
381*8210Smckusick char configO[] = {		/* to get to i, config[i] */
382*8210Smckusick 	'y','y','y','p','y',		/* a,b,c,d,e */
383*8210Smckusick 	'g','g',000,'p','p',		/* f,g,h,i,j */
384*8210Smckusick 	'p','m','m','p','o',		/* k,l,m,n,o */
385*8210Smckusick 	'p','y','p','y','p',		/* p,q,r,s,t */
386*8210Smckusick 	'p','p','p','p','y',		/* u,v,w,x,y */
387*8210Smckusick 	'z',0				/* z */
388*8210Smckusick 	};
389*8210Smckusick /* Newton's CAD machine (VAX 11/780) */
390*8210Smckusick char configP[] = {		/* to get to i, config[i] */
391*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
392*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
393*8210Smckusick 	'k','o','o','k','o',		/* k,l,m,n,o */
394*8210Smckusick 	'p','k','k','k','k',		/* p,q,r,s,t */
395*8210Smckusick 	'k','k','k','k','o',		/* u,v,w,x,y */
396*8210Smckusick 	'o',0				/* z */
397*8210Smckusick 	};
398*8210Smckusick /* Computer Center Q Machine (Q) */
399*8210Smckusick char configQ[] = {		/* to get to i, config[i] */
400*8210Smckusick 	'e','e','e','e','e',		/* a,b,c,d,e */
401*8210Smckusick 	'e','e',000,'e','e',		/* f,g,h,i,j */
402*8210Smckusick 	'e','e','e','e','e',		/* k,l,m,n,o */
403*8210Smckusick 	'e','q','e','e','e',		/* p,q,r,s,t */
404*8210Smckusick 	'e','e','e','e','e',		/* u,v,w,x,y */
405*8210Smckusick 	'e',0				/* z */
406*8210Smckusick 	};
407*8210Smckusick /* Fabry's ARPA support VAX - ARPAVAX */
408*8210Smckusick char configR[] = {		/* to get to i, config[i] */
409*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
410*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
411*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
412*8210Smckusick 	'k','k','r','k','k',		/* p,q,r,s,t */
413*8210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
414*8210Smckusick 	'k',0				/* z */
415*8210Smckusick 	};
416*8210Smckusick /* Survey Research Center 11/40 (SRC) */
417*8210Smckusick char configS[] = {		/* to get to i, config[i] */
418*8210Smckusick 	'e','e','e','e','e',		/* a,b,c,d,e */
419*8210Smckusick 	'e','e',000,'e','e',		/* f,g,h,i,j */
420*8210Smckusick 	'e','e','e','e','e',		/* k,l,m,n,o */
421*8210Smckusick 	'e','e','e','s','e',		/* p,q,r,s,t */
422*8210Smckusick 	'e','e','e','e','e',		/* u,v,w,x,y */
423*8210Smckusick 	'e',0				/* z */
424*8210Smckusick 	};
425*8210Smckusick /* Math-Stat Departement machine 11-45 (MathStat) */
426*8210Smckusick char configT[] = {		/* to get to i, config[i] */
427*8210Smckusick 	'y','y','y','y','y',		/* a,b,c,d,e */
428*8210Smckusick 	'y','y',000,'y','y',		/* f,g,h,i,j */
429*8210Smckusick 	'y','y','y','y','y',		/* k,l,m,n,o */
430*8210Smckusick 	'y','y','y','y','t',		/* p,q,r,s,t */
431*8210Smckusick 	'y','y','w','y','y',		/* u,v,w,x,y */
432*8210Smckusick 	'y',0				/* z */
433*8210Smckusick 	};
434*8210Smckusick /* ARPANET gateway (ucbc70) */
435*8210Smckusick char configU[] = {		/* to get to i, config[i] */
436*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
437*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
438*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
439*8210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
440*8210Smckusick 	'u','k','k','k','k',		/* u,v,w,x,p */
441*8210Smckusick 	'k',0				/* z */
442*8210Smckusick 	};
443*8210Smckusick /* EECS Research (Fateman - Ernie) VAX (CSVAX) */
444*8210Smckusick char configV[] = {		/* to get to i, config[i] */
445*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
446*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
447*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
448*8210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
449*8210Smckusick 	'k','v','k','k','k',		/* u,v,w,x,z */
450*8210Smckusick 	'k',0				/* z */
451*8210Smckusick 	};
452*8210Smckusick /* Statistics VAX 11/780 (ucbstatvax) */
453*8210Smckusick char configW[] = {		/* to get to i, config[i] */
454*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
455*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
456*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
457*8210Smckusick 	'k','k','k','k','t',		/* p,q,r,s,t */
458*8210Smckusick 	'k','k','w','k','k',		/* u,v,w,x,p */
459*8210Smckusick 	'k',0				/* z */
460*8210Smckusick 	};
461*8210Smckusick /* CS Research Onyx Computer */
462*8210Smckusick char configX[] = {		/* to get to i, config[i] */
463*8210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
464*8210Smckusick 	'k','k',000,'k','k',		/* f,g,h,i,j */
465*8210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
466*8210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
467*8210Smckusick 	'k','k','k','x','k',		/* u,v,w,x,y */
468*8210Smckusick 	'k',0				/* z */
469*8210Smckusick 	};
470*8210Smckusick /* EECS Instructional 11/70 (199 Cory) (Cory) */
471*8210Smckusick char configY[] = {		/* to get to i, config[i] */
472*8210Smckusick 	'c','c','c','c','c',		/* a,b,c,d,e */
473*8210Smckusick 	'c','c',000,'o','o',		/* f,g,h,i,j */
474*8210Smckusick 	'o','o','o','o','o',		/* k,l,m,n,o */
475*8210Smckusick 	'o','c','o','c','t',		/* p,q,r,s,t */
476*8210Smckusick 	'o','o','o','o','y',		/* u,v,w,x,y */
477*8210Smckusick 	'o',0				/* z */
478*8210Smckusick 	};
479*8210Smckusick /* EECS Departmental 11/40  (EECS40) */
480*8210Smckusick char configZ[] = {		/* to get to i, config[i] */
481*8210Smckusick 	'o','o','o','o','o',		/* a,b,c,d,e */
482*8210Smckusick 	'o','o',000,'o','o',		/* f,g,h,i,j */
483*8210Smckusick 	'o','o','o','o','o',		/* k,l,m,n,o */
484*8210Smckusick 	'o','o','o','o','o',		/* p,q,r,s,t */
485*8210Smckusick 	'o','o','o','o','o',		/* u,v,w,x,y */
486*8210Smckusick 	'z',0				/* z */
487*8210Smckusick 	};
488*8210Smckusick /* if machtype is
489*8210Smckusick 	M_CC		netlpr will do lpr w/o an acct.
490*8210Smckusick 			Will pre-encrypt the password.
491*8210Smckusick 	M_INGRES	will allow higher file lengths.
492*8210Smckusick 	M_OTHER		will give no unusual effects.
493*8210Smckusick (when in doubt, machtype should be M_OTHER)
494*8210Smckusick */
495*8210Smckusick char machtype[]= {
496*8210Smckusick 	M_CC, M_CC, M_CC, M_CC, M_CC,			/* a,b,c,d,e */
497*8210Smckusick 	M_CC, M_CC, 0, M_INGRES, M_INGRES,		/* f,g,h,i,j */
498*8210Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_OTHER, M_OTHER,	/* k,l,m,n,o */
499*8210Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_OTHER, M_OTHER,	/* p,q,r,s,t */
500*8210Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_OTHER, M_OTHER,	/* u,v,w,x,y */
501*8210Smckusick 	M_OTHER, 0};					/* z */
502*8210Smckusick 
503*8210Smckusick /* this is basically the default machine for each local machine */
504*8210Smckusick char remtable[] = {
505*8210Smckusick 	'c','e','g','g','c',		/* a,b,c,d,e */
506*8210Smckusick 	'g','k',000,'j','k',		/* f,g,h,i,j */
507*8210Smckusick 	'v','o','o','k','p',		/* k,l,m,n,o */
508*8210Smckusick 	'k','e','k','e','w',		/* p,q,r,s,t */
509*8210Smckusick 	'k','k','k','k','o',		/* u,v,w,x,y */
510*8210Smckusick 	'o',0				/* z */
511*8210Smckusick 	};
512*8210Smckusick /* bad login names */
513*8210Smckusick struct bstruct btable[] = {
514*8210Smckusick 	"op", 'a',
515*8210Smckusick 	0,0 };
516*8210Smckusick /* this table shows the correspondence between
517*8210Smckusick    machine names like 'Cory' and their internal names, like 'y' */
518*8210Smckusick static struct tt {
519*8210Smckusick 	char *bigname;
520*8210Smckusick 	char lname;
521*8210Smckusick 	} table[] = {
522*8210Smckusick 	"A",		'a',
523*8210Smckusick 	"ucbcfo-a",	'a',
524*8210Smckusick 	"B",		'b',
525*8210Smckusick 	"ucbcfo-b",	'b',
526*8210Smckusick 	"C",		'c',
527*8210Smckusick 	"ucbcfo-c",	'c',
528*8210Smckusick 	"D",		'd',
529*8210Smckusick 	"ucbcfo-d",	'd',
530*8210Smckusick 	"E",		'e',
531*8210Smckusick 	"ucbcfo-e",	'e',
532*8210Smckusick 	"F",		'f',
533*8210Smckusick 	"ucbcfo-f",	'f',
534*8210Smckusick 	"G",		'g',
535*8210Smckusick 	"ucbcfo-g",	'g',
536*8210Smckusick 	"H",		'h',
537*8210Smckusick 	"ucbcfo-h",	'h',
538*8210Smckusick 	"Ing70",	'i',
539*8210Smckusick 	"ucbing70",	'i',
540*8210Smckusick 	"IngVAX",	'j',
541*8210Smckusick 	"ucbingres",	'j',
542*8210Smckusick 	"ucbvax",	'k',
543*8210Smckusick 	"UCBVAX",	'k',
544*8210Smckusick 	"VLSI",		'l',
545*8210Smckusick 	"ucbvlsi",	'l',
546*8210Smckusick 	"Image",	'm',
547*8210Smckusick 	"ucbimage",	'm',
548*8210Smckusick 	"Kim",		'n',
549*8210Smckusick 	"ucbkim",	'n',
550*8210Smckusick 	"ESVAX",	'o',
551*8210Smckusick 	"ucbopt",	'o',
552*8210Smckusick 	"CAD",		'p',
553*8210Smckusick 	"ucbcad",	'p',
554*8210Smckusick 	"Q",		'q',
555*8210Smckusick 	"ucbcfo-q",	'q',
556*8210Smckusick 	"ARPAVAX",	'r',
557*8210Smckusick 	"ucbarpa",	'r',
558*8210Smckusick 	"SRC",		's',
559*8210Smckusick 	"ucbsrc",	's',
560*8210Smckusick 	"MathStat",	't',
561*8210Smckusick 	"ucbmathstat",	't',
562*8210Smckusick 	"ucbc70",	'u',
563*8210Smckusick 	"C70",		'u',
564*8210Smckusick 	"CSVAX",	'v',
565*8210Smckusick 	"ucbernie",	'v',
566*8210Smckusick 	"ucbstatvax",	'w',
567*8210Smckusick 	"StatVax",	'w',
568*8210Smckusick 	"ucbonyx",	'x',
569*8210Smckusick 	"Onyx",		'x',
570*8210Smckusick 	"Cory",		'y',
571*8210Smckusick 	"ucbcory",	'y',
572*8210Smckusick 	"EECS40", 	'z',
573*8210Smckusick 	"ucbeecs40", 	'z',
574*8210Smckusick 	0, 		0
575*8210Smckusick 	};
576*8210Smckusick # endif
577