xref: /csrg-svn/old/berknet/config.h (revision 8232)
1*8232Smckusick /*	@(#)config.h	4.2	(Berkeley)	09/20/82	*/
28210Smckusick 
38210Smckusick /*
48210Smckusick 	These are machine-configuration dependent
58210Smckusick 	tables.  To add a machine, be sure to update all
68210Smckusick 	these tables, add the "ifdef" entry in "mach.h",
78210Smckusick 	and add config? to gothru() in sub.c.
8*8232Smckusick 	The tables must be consistent.
98210Smckusick 	For Berkeley, this file corresponds to the following network:
108210Smckusick 
11*8232Smckusick 		T H E   B E R K E L E Y   N E T W O R K
128210Smckusick 
13*8232Smckusick 			   September 7 1982
148210Smckusick 
15*8232Smckusick                    INGVAX----i
16*8232Smckusick                       |
17*8232Smckusick 	   KIM-----\  |  /----ERNIE         /--earvax
18*8232Smckusick                     \ | /                  /
19*8232Smckusick            C70-----\ \ / /----CAD-----ESVAX
20*8232Smckusick                    UCBVAX                  \
21*8232Smckusick 	  Onyx-----/ /|\ \----ARPA          \--medea----oz
22*8232Smckusick                     / | \
23*8232Smckusick   t----statvax-----/  |  \-------y
24*8232Smckusick 		      |
25*8232Smckusick 	              | /------jade(h)
26*8232Smckusick 		      |/
27*8232Smckusick                  d----G----------c--------a
28*8232Smckusick                       |          |
29*8232Smckusick                       |          |
30*8232Smckusick                       f     b----e----s
318210Smckusick 
32*8232Smckusick 
33*8232Smckusick 		M A C H I N E   G U I D E
34*8232Smckusick 
35*8232Smckusick Name 	Char 	Run By		Type	Vers.	Default Mach.
36*8232Smckusick ----	----	------		----	----	-------------
37*8232Smckusick A	a	CFO		11/70	V7	C
38*8232Smckusick B	b	CFO		11/70	V7	E
39*8232Smckusick C	c	CFO		11/70	V7	A
40*8232Smckusick D	d	CFO		11/70	V7	G
41*8232Smckusick E	e	CFO		11/70	V7	C
42*8232Smckusick F	f	CFO		11/70	V7	G
43*8232Smckusick G	g	CFO		VAX/780	V7	C
44*8232Smckusick H(jade)	h	CFO		VAX/750	V7	G
45*8232Smckusick ing70	i	CSSG		11/70	V7	INGVAX
46*8232Smckusick INGVAX	j	Ingres Group 	VAX/780	V7	Ing70
47*8232Smckusick ucbvax	k	CS network hub	VAX/750	V7
48*8232Smckusick oz	l	Brodersen	VAX/750	V7	medea
49*8232Smckusick medea	m	EE-Signal Proc.	VAX/750	V7	ESVAX
50*8232Smckusick KIM	n	Kim No-vax (RJF)VAX/780	V7	CSVAX
51*8232Smckusick ESVAX	o	EECS-CE Res.	VAX/780	V7	CSVAX
52*8232Smckusick CAD	p	Newton CAD      VAX/780 V7      ESVAX
53*8232Smckusick ARPAVAX	r	Fabry		VAX/780	V7	CSVAX
54*8232Smckusick SRC	s	CFO & SRC	11/45	V6	E
55*8232Smckusick MathStat t	Math/Stat Dept	11/45	V7	statvax
56*8232Smckusick C70     u       EECS            C70     V7      ARPAVAX
57*8232Smckusick CSVAX	v	CS Research	VAX	V7	ARPAVAX
58*8232Smckusick statvax w	Stat Dept	VAX/750	V7	UCBVAX
59*8232Smckusick Onyx	x	CS Research	Onyx	V7	ARPAVAX
60*8232Smckusick Cory	y	EECS Dept.	11/70	V7	UCBVAX
61*8232Smckusick EARVAX	z	EECS Dept.	VAX/750	V7	ESVAX
62*8232Smckusick 
63*8232Smckusick (the following machines are not connected or do not exist yet)
64*8232Smckusick Phonology ?	Linguistics	11/45	V6		?
65*8232Smckusick 
66*8232Smckusick (Letters used: A-P, R-Z (total of 25))
67*8232Smckusick (Letters free: Q (total of 1))
68*8232Smckusick 
69*8232Smckusick The links between  A-C, C-E, C-G, G-D, G-F, G-CSVAX and CSVAX-ARPAVAX
70*8232Smckusick run at 9600 baud, all others run at 1200 Baud.
71*8232Smckusick 
72*8232Smckusick Files 200,000 to 500,000 bytes are only transmitted between midnight and 6AM.
73*8232Smckusick There is a file-length limit of 500,000 bytes.
74*8232Smckusick Larger files must be split up (use the split command).
75*8232Smckusick 
76*8232Smckusick 
77*8232Smckusick Free Commands (log in as user "network", no password):
78*8232Smckusick 
79*8232Smckusick 	bpq		news		vpq		yank
80*8232Smckusick 	epq		ps		w
81*8232Smckusick 	finger 		pstat		wc
82*8232Smckusick 	help		rcs		where
83*8232Smckusick 	lpq		rcslog		who
84*8232Smckusick 	netlog		rcsq		whom
85*8232Smckusick 	netq		trq		write
86*8232Smckusick 
87*8232Smckusick In addition, the "lpr" command is free on the Ingres machines.
88*8232Smckusick Sending mail between machines, and netlpr between the Computer Center machines
89*8232Smckusick is free.  On the EARVAX, there are no free commands (but sending mail is free).
90*8232Smckusick The netlpr command to Cory will allow the -c option to "epr" and "bpr",
91*8232Smckusick and to the CSVAX will allow "vpr".
92*8232Smckusick 
938210Smckusick 	For RAND, these tables are:
948210Smckusick 
958210Smckusick 		VAX (C) ---------GRAPHICS (A)------- TP (B)
968210Smckusick 
978210Smckusick 	For NOSC, these tables are:
988210Smckusick 
998210Smckusick 		   FCCMM ------ ATTS ------ MSSF ------ CCMM
1008210Smckusick 				/ \
1018210Smckusick 			       /   \
1028210Smckusick 			      /     \
1038210Smckusick 			     /       \
1048210Smckusick 		OT34 ---- GATE40    ING70
1058210Smckusick 			    |
1068210Smckusick 			    |
1078210Smckusick 			   PWB
1088210Smckusick 
1098210Smckusick 
1108210Smckusick 
1118210Smckusick */
1128210Smckusick # ifdef RAND
1138210Smckusick /* GRAPHICS = A */
1148210Smckusick char configA[] = {		/* to get to i, config[i] */
1158210Smckusick 	'a','b','c',000,000,		/* a,b,c,d,e */
1168210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
1178210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
1188210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
1198210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
1208210Smckusick 	000,0				/* z */
1218210Smckusick 	};
1228210Smckusick /* TP = B */
1238210Smckusick char configB[] = {		/* to get to i, config[i] */
1248210Smckusick 	'a','b','a',000,000,		/* a,b,c,d,e */
1258210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
1268210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
1278210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
1288210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
1298210Smckusick 	000,0				/* z */
1308210Smckusick 	};
1318210Smckusick /* VAX = C */
1328210Smckusick char configC[] = {		/* to get to i, config[i] */
1338210Smckusick 	'a','a','c',000,000,		/* a,b,c,d,e */
1348210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
1358210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
1368210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
1378210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
1388210Smckusick 	000,0				/* z */
1398210Smckusick 	};
1408210Smckusick /* if machtype is
1418210Smckusick 	M_CC		netlpr will do lpr w/o an acct.
1428210Smckusick 			Will pre-encrypt the password.
1438210Smckusick 	M_INGRES	will allow higher file lengths.
1448210Smckusick 	M_OTHER		will give no unusual effects.
1458210Smckusick (when in doubt, machtype should be M_OTHER)
1468210Smckusick */
1478210Smckusick char machtype[]= {
1488210Smckusick 	M_OTHER,M_OTHER,M_OTHER,0,0,	/* a,b,c,d,e */
1498210Smckusick 	0, 0, 0, 0, 0, 			/* f,g,h,i,j */
1508210Smckusick 	0, 0, 0, 0, 0,			/* k,l,m,n,o */
1518210Smckusick 	0, 0, 0, 0, 0,			/* p,q,r,s,t */
1528210Smckusick 	0, 0, 0, 0, 0,			/* u,v,w,x,y */
1538210Smckusick 	0, 0};				/* z */
1548210Smckusick 
1558210Smckusick /* this is basically the default machine for each local machine */
1568210Smckusick char remtable[] = {
1578210Smckusick 	'b','a','a',000,000,		/* a,b,c,d,e */
1588210Smckusick 	000,000,000,000,000,		/* f,g,h,i,j */
1598210Smckusick 	000,000,000,000,000,		/* k,l,m,n,o */
1608210Smckusick 	000,000,000,000,000,		/* p,q,r,s,t */
1618210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
1628210Smckusick 	000,0				/* z */
1638210Smckusick 	};
1648210Smckusick /* bad login names */
1658210Smckusick struct bstruct btable[] = {
1668210Smckusick 	0,0 };
1678210Smckusick /* this table shows the correspondence between
1688210Smckusick    machine names like 'Cory' and their internal
1698210Smckusick    names, like 'y' */
1708210Smckusick static struct tt {
1718210Smckusick 	char *bigname;
1728210Smckusick 	char lname;
1738210Smckusick 	} table[] = {
1748210Smckusick 	"Graphics",	'a',
1758210Smckusick 	"TP",		'b',
1768210Smckusick 	"VAX",		'c',
1778210Smckusick 	0, 		0
1788210Smckusick 	};
1798210Smckusick /* end of Rand definitions */
1808210Smckusick 
1818210Smckusick # endif RAND
1828210Smckusick 
1838210Smckusick # ifdef NOSC
1848210Smckusick /* Naval Ocean Systems Center */
1858210Smckusick 
1868210Smckusick /* atts (a) */
1878210Smckusick char configA[] = {		/* to get to i, config[i] */
1888210Smckusick 	'a',000,'m',000,000,		/* a,b,c,d,e */
1898210Smckusick 	'f','g',000,'i',000,		/* f,g,h,i,j */
1908210Smckusick 	000,000,'m',000,'g',		/* k,l,m,n,o */
1918210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
1928210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
1938210Smckusick 	000,0				/* z */
1948210Smckusick 	};
1958210Smckusick 
1968210Smckusick /* ccmm (c) */
1978210Smckusick char configC[] = {		/* to get to i, config[i] */
1988210Smckusick 	'm',000,'c',000,000,		/* a,b,c,d,e */
1998210Smckusick 	'm','m',000,'m',000,		/* f,g,h,i,j */
2008210Smckusick 	000,000,'m',000,'m',		/* k,l,m,n,o */
2018210Smckusick 	'm',000,000,000,000,		/* p,q,r,s,t */
2028210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2038210Smckusick 	000,0				/* z */
2048210Smckusick 	};
2058210Smckusick 
2068210Smckusick /* ccmm (f) */
2078210Smckusick char configF[] = {		/* to get to i, config[i] */
2088210Smckusick 	'a',000,'c',000,000,		/* a,b,c,d,e */
2098210Smckusick 	'f','a',000,'a',000,		/* f,g,h,i,j */
2108210Smckusick 	000,000,'a',000,'a',		/* k,l,a,n,o */
2118210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
2128210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2138210Smckusick 	000,0				/* z */
2148210Smckusick 	};
2158210Smckusick 
2168210Smckusick /* mssf (m) */
2178210Smckusick char configM[] = {		/* to get to i, config[i] */
2188210Smckusick 	'a',000,'c',000,000,		/* a,b,c,d,e */
2198210Smckusick 	'a','a',000,'a',000,		/* f,g,h,i,j */
2208210Smckusick 	000,000,'m',000,'a',		/* k,l,m,n,o */
2218210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
2228210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2238210Smckusick 	000,0				/* z */
2248210Smckusick 	};
2258210Smckusick 
2268210Smckusick /* ingres (i) proposed */
2278210Smckusick char configI[] = {		/* to get to i, config[i] */
2288210Smckusick 	'a',000,'a',000,000,		/* a,b,c,d,e */
2298210Smckusick 	'a','a',000,'i',000,		/* f,g,h,i,j */
2308210Smckusick 	000,000,'a',000,'a',		/* k,l,m,n,o */
2318210Smckusick 	'a',000,000,000,000,		/* p,q,r,s,t */
2328210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2338210Smckusick 	000,0				/* z */
2348210Smckusick 	};
2358210Smckusick 
2368210Smckusick /* nosc-cc gateway 40 (g) */
2378210Smckusick char configG[] = {		/* to get to i, config[i] */
2388210Smckusick 	'a',000,'a',000,000,		/* a,b,c,d,e */
2398210Smckusick 	'a','g',000,'a',000,		/* f,g,h,i,j */
2408210Smckusick 	000,000,'a',000,'g',		/* k,l,m,n,o */
2418210Smckusick 	'p',000,000,000,000,		/* p,q,r,s,t */
2428210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2438210Smckusick 	000,0				/* z */
2448210Smckusick 	};
2458210Smckusick 
2468210Smckusick /* ocean tech 34 (o) */
2478210Smckusick char configO[] = {		/* to get to i, config[i] */
2488210Smckusick 	'g',000,'g',000,000,		/* a,b,c,d,e */
2498210Smckusick 	'g','g',000,'g',000,		/* f,g,h,i,j */
2508210Smckusick 	000,000,'g',000,'o',		/* k,l,m,n,o */
2518210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
2528210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2538210Smckusick 	000,0				/* z */
2548210Smckusick 	};
2558210Smckusick 
2568210Smckusick /* pwb at nosc (p) */
2578210Smckusick char configP[] = {		/* to get to i, config[i] */
2588210Smckusick 	'g',000,'g',000,000,		/* a,b,c,d,e */
2598210Smckusick 	'g','g',000,'g',000,		/* f,g,h,i,j */
2608210Smckusick 	000,000,'g',000,'g',		/* k,l,m,n,o */
2618210Smckusick 	'p',000,000,000,000,		/* p,q,r,s,t */
2628210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2638210Smckusick 	000,0				/* z */
2648210Smckusick 	};
2658210Smckusick 
2668210Smckusick /* this table is used by netlpr to do lpr w/o an acct
2678210Smckusick    and by net and netdaemon to do pre-emption */
2688210Smckusick /* sub.c uses the table in initdaemon to check machine
2698210Smckusick    type - errormsg may be ignored */
2708210Smckusick char machtype[]= {
2718210Smckusick 	M_CC, 0,M_OTHER, 0, 0,	   	/* a,b,c,d,e */
2728210Smckusick 	M_OTHER,M_OTHER, 0,M_INGRES, 0,	/* f,g,h,i,j */
2738210Smckusick 	0, 0,M_CC, 0,M_OTHER,		/* k,l,m,n,o */
2748210Smckusick 	M_OTHER, 0, 0, 0, 0,		/* p,q,r,s,t */
2758210Smckusick 	0, 0, 0, 0, 0,			/* u,v,w,x,y */
2768210Smckusick 	0};				/* z */
2778210Smckusick /* this is basically the default machine for each local machine */
2788210Smckusick char remtable[] = {
2798210Smckusick 	'm',000,'m',000,000,		/* a,b,c,d,e */
2808210Smckusick 	'a','a',000,'a',000,		/* f,g,h,i,j */
2818210Smckusick 	000,000,'a',000,'g',		/* k,l,m,n,o */
2828210Smckusick 	'g',000,000,000,000,		/* p,q,r,s,t */
2838210Smckusick 	000,000,000,000,000,		/* u,v,w,x,y */
2848210Smckusick 	000,0				/* z */
2858210Smckusick 	};
2868210Smckusick /* bad login names */
2878210Smckusick struct bstruct btable[] = {
2888210Smckusick 	"op", 'a',
2898210Smckusick 	0,0 };
2908210Smckusick /* this table shows the correspondence between
2918210Smckusick    machine names like 'Cory' and their internal
2928210Smckusick    names, like 'y' */
2938210Smckusick static struct tt {
2948210Smckusick 	char *bigname;
2958210Smckusick 	char lname;
2968210Smckusick 	} table[] = {
2978210Smckusick 	"ATTS",		'a',
2988210Smckusick 	"CCMM",		'c',
2998210Smckusick 	"FCCMM",	'f',
3008210Smckusick 	"MSSF",		'm',
3018210Smckusick 	"INGRES",	'i',
3028210Smckusick 	"GATEWAY",	'g',
3038210Smckusick 	"OT34",		'o',
3048210Smckusick 	"PWB",		'p',
3058210Smckusick 	0, 0 };
3068210Smckusick 
3078210Smckusick # endif NOSC
3088210Smckusick 
3098210Smckusick # ifdef BERKELEY
3108210Smckusick /* Berkeley definitions */
3118210Smckusick 
3128210Smckusick /* Computer Center A Machine (A) */
3138210Smckusick char configA[] = {		/* to get to i, config[i] */
3148210Smckusick 	'a','c','c','c','c',		/* a,b,c,d,e */
315*8232Smckusick 	'c','c','c','c','c',		/* f,g,h,i,j */
3168210Smckusick 	'c','c','c','c','c',		/* k,l,m,n,o */
3178210Smckusick 	'c','c','c','c','c',		/* p,q,r,s,t */
3188210Smckusick 	'c','c','c','c','c',		/* u,v,w,x,y */
3198210Smckusick 	'c',0				/* z */
3208210Smckusick 	};
3218210Smckusick /* Computer Center B Machine (B) */
3228210Smckusick char configB[] = {		/* to get to i, config[i] */
3238210Smckusick 	'e','b','e','e','e',		/* a,b,c,d,e */
324*8232Smckusick 	'e','e','e','e','e',		/* f,g,h,i,j */
3258210Smckusick 	'e','e','e','e','e',		/* k,l,m,n,o */
3268210Smckusick 	'e','e','e','e','e',		/* p,q,r,s,t */
3278210Smckusick 	'e','e','e','e','e',		/* u,v,w,x,y */
3288210Smckusick 	'e',0				/* z */
3298210Smckusick 	};
3308210Smckusick /* Computer Center C Machine (C) */
3318210Smckusick char configC[] = {		/* to get to i, config[i] */
3328210Smckusick 	'a','e','c','g','e',		/* a,b,c,d,e */
333*8232Smckusick 	'g','g','g','g','g',		/* f,g,h,i,j */
3348210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
3358210Smckusick 	'g','e','g','e','g',		/* p,q,r,s,t */
336*8232Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
3378210Smckusick 	'g',0				/* z */
3388210Smckusick 	};
3398210Smckusick /* Computer Center D Machine (D) */
3408210Smckusick char configD[] = {		/* to get to i, config[i] */
3418210Smckusick 	'g','g','g','d','g',		/* a,b,c,d,e */
342*8232Smckusick 	'g','g','g','g','g',		/* f,g,h,i,j */
3438210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
3448210Smckusick 	'g','g','g','g','g',		/* p,q,r,s,t */
3458210Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
3468210Smckusick 	'g',0				/* z */
3478210Smckusick 	};
3488210Smckusick /* Computer Center E Machine (E) */
3498210Smckusick char configE[] = {		/* to get to i, config[i] */
3508210Smckusick 	'c','b','c','c','e',		/* a,b,c,d,e */
351*8232Smckusick 	'c','c','c','c','c',		/* f,g,h,i,j */
352*8232Smckusick 	'c','c','c','c','c',		/* k,l,m,n,o */
353*8232Smckusick 	'c','c','c','s','c',		/* p,q,r,s,t */
354*8232Smckusick 	'c','c','c','c','c',		/* u,v,w,x,y */
355*8232Smckusick 	'c',0				/* z */
3568210Smckusick 	};
3578210Smckusick /* Computer Center F Machine (F) */
3588210Smckusick char configF[] = {		/* to get to i, config[i] */
3598210Smckusick 	'g','g','g','g','g',		/* a,b,c,d,e */
360*8232Smckusick 	'f','g','g','g','g',		/* f,g,h,i,j */
3618210Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
3628210Smckusick 	'g','g','g','g','g',		/* p,q,r,s,t */
3638210Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
3648210Smckusick 	'g',0				/* z */
3658210Smckusick 	};
3668210Smckusick /* Computer Center G Machine (Comp Center VAX) */
3678210Smckusick char configG[] = {		/* to get to i, config[i] */
3688210Smckusick 	'c','c','c','d','c',		/* a,b,c,d,e */
369*8232Smckusick 	'f','g','h','k','k',		/* f,g,h,i,j */
3708210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
371*8232Smckusick 	'k','k','k','c','k',		/* p,q,r,s,t */
3728210Smckusick 	'k','k','k','k','c',		/* u,v,w,x,y */
3738210Smckusick 	'k',0				/* z */
3748210Smckusick 	};
375*8232Smckusick /* Computer Center Jade Machine (H) */
376*8232Smckusick char configH[] = {		/* to get to i, config[i] */
377*8232Smckusick 	'g','g','g','g','g',		/* a,b,c,d,e */
378*8232Smckusick 	'g','g','h','g','g',		/* f,g,h,i,j */
379*8232Smckusick 	'g','g','g','g','g',		/* k,l,m,n,o */
380*8232Smckusick 	'g','g','g','g','g',		/* p,q,r,s,t */
381*8232Smckusick 	'g','g','g','g','g',		/* u,v,w,x,y */
382*8232Smckusick 	'g',0				/* z */
383*8232Smckusick 	};
3848210Smckusick /* Project INGRES 11/70 (Ing70) */
3858210Smckusick char configI[] = {		/* to get to i, config[i] */
3868210Smckusick 	'j','j','j','j','j',		/* a,b,c,d,e */
387*8232Smckusick 	'j','j','j','i','j',		/* f,g,h,i,j */
3888210Smckusick 	'j','j','j','j','j',		/* k,l,m,n,o */
3898210Smckusick 	'j','j','j','j','j',		/* p,q,r,s,t */
3908210Smckusick 	'j','j','j','j','j',		/* u,v,w,x,y */
3918210Smckusick 	'j',0				/* z */
3928210Smckusick 	};
3938210Smckusick /* Project INGRES VAX (IngVAX) */
3948210Smckusick char configJ[] = {		/* to get to i, config[i] */
3958210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
396*8232Smckusick 	'k','k','k','i','k',		/* f,g,h,i,j */
3978210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
3988210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
3998210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
4008210Smckusick 	'k',0				/* z */
4018210Smckusick 	};
4028210Smckusick /* UUCP gateway VAX (ucbvax) */
4038210Smckusick char configK[] = {		/* to get to i, config[i] */
4048210Smckusick 	'g','g','g','g','g',		/* a,b,c,d,e */
405*8232Smckusick 	'g','g','g','j','j',		/* f,g,h,i,j */
4068210Smckusick 	'k','p','p','n','p',		/* k,l,m,n,o */
407*8232Smckusick 	'p',000,'r','g','w',		/* p,q,r,s,t */
408*8232Smckusick 	'u','v','w','x','y',		/* u,v,w,x,y */
4098210Smckusick 	'p',0				/* z */
4108210Smckusick 	};
4118210Smckusick /* Brodersen EECS VLSI VAX (VLSI) */
4128210Smckusick char configL[] = {		/* to get to i, config[i] */
4138210Smckusick 	'm','m','m','m','m',		/* a,b,c,d,e */
414*8232Smckusick 	'm','m','m','m','m',		/* f,g,h,i,j */
4158210Smckusick 	'm','l','m','m','m',		/* k,l,m,n,o */
4168210Smckusick 	'm','m','m','m','m',		/* p,q,r,s,t */
4178210Smckusick 	'm','m','m','m','m',		/* u,v,w,x,y */
4188210Smckusick 	'm',0				/* z */
4198210Smckusick 	};
4208210Smckusick /* Sakrison's Image Project 11/40 (Image) */
4218210Smckusick char configM[] = {		/* to get to i, config[i] */
4228210Smckusick 	'o','o','o','o','o',		/* a,b,c,d,e */
423*8232Smckusick 	'o','o','o','o','o',		/* f,g,h,i,j */
4248210Smckusick 	'o','l','m','o','o',		/* k,l,m,n,o */
4258210Smckusick 	'o','o','o','o','o',		/* p,q,r,s,t */
4268210Smckusick 	'o','o','o','o','o',		/* u,v,w,x,y */
4278210Smckusick 	'o',0				/* z */
4288210Smckusick 	};
4298210Smckusick /* Fatemans Applied Math VAX (Kim) */
4308210Smckusick char configN[] = {		/* to get to i, config[i] */
4318210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
432*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
4338210Smckusick 	'k','k','k','n','k',		/* k,l,m,n,o */
4348210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
4358210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
4368210Smckusick 	'k',0				/* z */
4378210Smckusick 	};
4388210Smckusick /* Pfeister - Pollack - Sangiovanni Optimization VAX (ESVAX) */
4398210Smckusick char configO[] = {		/* to get to i, config[i] */
440*8232Smckusick 	'p','p','p','p','p',		/* a,b,c,d,e */
441*8232Smckusick 	'p','p','p','p','p',		/* f,g,h,i,j */
4428210Smckusick 	'p','m','m','p','o',		/* k,l,m,n,o */
443*8232Smckusick 	'p','p','p','p','p',		/* p,q,r,s,t */
444*8232Smckusick 	'p','p','p','p','p',		/* u,v,w,x,y */
4458210Smckusick 	'z',0				/* z */
4468210Smckusick 	};
4478210Smckusick /* Newton's CAD machine (VAX 11/780) */
4488210Smckusick char configP[] = {		/* to get to i, config[i] */
4498210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
450*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
4518210Smckusick 	'k','o','o','k','o',		/* k,l,m,n,o */
4528210Smckusick 	'p','k','k','k','k',		/* p,q,r,s,t */
453*8232Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
4548210Smckusick 	'o',0				/* z */
4558210Smckusick 	};
4568210Smckusick /* Computer Center Q Machine (Q) */
4578210Smckusick char configQ[] = {		/* to get to i, config[i] */
458*8232Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
459*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
460*8232Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
461*8232Smckusick 	'k','q','k','k','k',		/* p,q,r,s,t */
462*8232Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
463*8232Smckusick 	'k',0				/* z */
4648210Smckusick 	};
4658210Smckusick /* Fabry's ARPA support VAX - ARPAVAX */
4668210Smckusick char configR[] = {		/* to get to i, config[i] */
4678210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
468*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
4698210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
4708210Smckusick 	'k','k','r','k','k',		/* p,q,r,s,t */
4718210Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
4728210Smckusick 	'k',0				/* z */
4738210Smckusick 	};
4748210Smckusick /* Survey Research Center 11/40 (SRC) */
4758210Smckusick char configS[] = {		/* to get to i, config[i] */
4768210Smckusick 	'e','e','e','e','e',		/* a,b,c,d,e */
477*8232Smckusick 	'e','e','e','e','e',		/* f,g,h,i,j */
4788210Smckusick 	'e','e','e','e','e',		/* k,l,m,n,o */
4798210Smckusick 	'e','e','e','s','e',		/* p,q,r,s,t */
4808210Smckusick 	'e','e','e','e','e',		/* u,v,w,x,y */
4818210Smckusick 	'e',0				/* z */
4828210Smckusick 	};
4838210Smckusick /* Math-Stat Departement machine 11-45 (MathStat) */
4848210Smckusick char configT[] = {		/* to get to i, config[i] */
485*8232Smckusick 	'w','w','w','w','w',		/* a,b,c,d,e */
486*8232Smckusick 	'w','w','w','w','w',		/* f,g,h,i,j */
487*8232Smckusick 	'w','w','w','w','w',		/* k,l,m,n,o */
488*8232Smckusick 	'w','w','w','w','t',		/* p,q,r,s,t */
489*8232Smckusick 	'w','w','w','w','w',		/* u,v,w,x,y */
490*8232Smckusick 	'w',0				/* z */
4918210Smckusick 	};
4928210Smckusick /* ARPANET gateway (ucbc70) */
4938210Smckusick char configU[] = {		/* to get to i, config[i] */
4948210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
495*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
4968210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
4978210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
4988210Smckusick 	'u','k','k','k','k',		/* u,v,w,x,p */
4998210Smckusick 	'k',0				/* z */
5008210Smckusick 	};
5018210Smckusick /* EECS Research (Fateman - Ernie) VAX (CSVAX) */
5028210Smckusick char configV[] = {		/* to get to i, config[i] */
5038210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
504*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
5058210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
5068210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
507*8232Smckusick 	'k','v','k','k','k',		/* u,v,w,x,p */
5088210Smckusick 	'k',0				/* z */
5098210Smckusick 	};
5108210Smckusick /* Statistics VAX 11/780 (ucbstatvax) */
5118210Smckusick char configW[] = {		/* to get to i, config[i] */
5128210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
513*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
5148210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
5158210Smckusick 	'k','k','k','k','t',		/* p,q,r,s,t */
5168210Smckusick 	'k','k','w','k','k',		/* u,v,w,x,p */
5178210Smckusick 	'k',0				/* z */
5188210Smckusick 	};
5198210Smckusick /* CS Research Onyx Computer */
5208210Smckusick char configX[] = {		/* to get to i, config[i] */
5218210Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
522*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
5238210Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
5248210Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
5258210Smckusick 	'k','k','k','x','k',		/* u,v,w,x,y */
5268210Smckusick 	'k',0				/* z */
5278210Smckusick 	};
5288210Smckusick /* EECS Instructional 11/70 (199 Cory) (Cory) */
5298210Smckusick char configY[] = {		/* to get to i, config[i] */
530*8232Smckusick 	'k','k','k','k','k',		/* a,b,c,d,e */
531*8232Smckusick 	'k','k','k','k','k',		/* f,g,h,i,j */
532*8232Smckusick 	'k','k','k','k','k',		/* k,l,m,n,o */
533*8232Smckusick 	'k','k','k','k','k',		/* p,q,r,s,t */
534*8232Smckusick 	'k','k','k','k','y',		/* u,v,w,x,y */
535*8232Smckusick 	'k',0				/* z */
5368210Smckusick 	};
5378210Smckusick /* EECS Departmental 11/40  (EECS40) */
5388210Smckusick char configZ[] = {		/* to get to i, config[i] */
5398210Smckusick 	'o','o','o','o','o',		/* a,b,c,d,e */
540*8232Smckusick 	'o','o','o','o','o',		/* f,g,h,i,j */
5418210Smckusick 	'o','o','o','o','o',		/* k,l,m,n,o */
5428210Smckusick 	'o','o','o','o','o',		/* p,q,r,s,t */
5438210Smckusick 	'o','o','o','o','o',		/* u,v,w,x,y */
5448210Smckusick 	'z',0				/* z */
5458210Smckusick 	};
5468210Smckusick /* if machtype is
5478210Smckusick 	M_CC		netlpr will do lpr w/o an acct.
5488210Smckusick 			Will pre-encrypt the password.
5498210Smckusick 	M_INGRES	will allow higher file lengths.
5508210Smckusick 	M_OTHER		will give no unusual effects.
5518210Smckusick (when in doubt, machtype should be M_OTHER)
5528210Smckusick */
5538210Smckusick char machtype[]= {
5548210Smckusick 	M_CC, M_CC, M_CC, M_CC, M_CC,			/* a,b,c,d,e */
555*8232Smckusick 	M_CC, M_CC, M_CC, M_INGRES, M_INGRES,		/* f,g,h,i,j */
5568210Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_OTHER, M_OTHER,	/* k,l,m,n,o */
557*8232Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_CC, M_OTHER,	/* p,q,r,s,t */
5588210Smckusick 	M_OTHER, M_OTHER, M_OTHER, M_OTHER, M_OTHER,	/* u,v,w,x,y */
5598210Smckusick 	M_OTHER, 0};					/* z */
5608210Smckusick 
5618210Smckusick /* this is basically the default machine for each local machine */
5628210Smckusick char remtable[] = {
5638210Smckusick 	'c','e','g','g','c',		/* a,b,c,d,e */
564*8232Smckusick 	'g','k','g','j','k',		/* f,g,h,i,j */
565*8232Smckusick 	'v','m','o','k','p',		/* k,l,m,n,o */
566*8232Smckusick 	'k','k','k','e','w',		/* p,q,r,s,t */
567*8232Smckusick 	'k','k','k','k','k',		/* u,v,w,x,y */
5688210Smckusick 	'o',0				/* z */
5698210Smckusick 	};
5708210Smckusick /* bad login names */
5718210Smckusick struct bstruct btable[] = {
5728210Smckusick 	"op", 'a',
5738210Smckusick 	0,0 };
5748210Smckusick /* this table shows the correspondence between
5758210Smckusick    machine names like 'Cory' and their internal names, like 'y' */
5768210Smckusick static struct tt {
5778210Smckusick 	char *bigname;
5788210Smckusick 	char lname;
5798210Smckusick 	} table[] = {
5808210Smckusick 	"A",		'a',
5818210Smckusick 	"ucbcfo-a",	'a',
5828210Smckusick 	"B",		'b',
5838210Smckusick 	"ucbcfo-b",	'b',
5848210Smckusick 	"C",		'c',
5858210Smckusick 	"ucbcfo-c",	'c',
5868210Smckusick 	"D",		'd',
5878210Smckusick 	"ucbcfo-d",	'd',
5888210Smckusick 	"E",		'e',
5898210Smckusick 	"ucbcfo-e",	'e',
5908210Smckusick 	"F",		'f',
5918210Smckusick 	"ucbcfo-f",	'f',
5928210Smckusick 	"G",		'g',
5938210Smckusick 	"ucbcfo-g",	'g',
594*8232Smckusick 	"ucbjade",	'h',
595*8232Smckusick 	"jade",		'h',
5968210Smckusick 	"H",		'h',
5978210Smckusick 	"Ing70",	'i',
5988210Smckusick 	"ucbing70",	'i',
599*8232Smckusick 	"I",		'i',
6008210Smckusick 	"IngVAX",	'j',
6018210Smckusick 	"ucbingres",	'j',
602*8232Smckusick 	"J",		'j',
6038210Smckusick 	"ucbvax",	'k',
6048210Smckusick 	"UCBVAX",	'k',
605*8232Smckusick 	"K",		'k',
606*8232Smckusick 	"OZ",		'l',
607*8232Smckusick 	"ucboz",	'l',
608*8232Smckusick 	"L",		'l',
6098210Smckusick 	"Image",	'm',
6108210Smckusick 	"ucbimage",	'm',
611*8232Smckusick 	"ucbmedea",	'm',
612*8232Smckusick 	"medea",	'm',
613*8232Smckusick 	"M",		'm',
6148210Smckusick 	"Kim",		'n',
6158210Smckusick 	"ucbkim",	'n',
616*8232Smckusick 	"N",		'n',
6178210Smckusick 	"ESVAX",	'o',
6188210Smckusick 	"ucbopt",	'o',
619*8232Smckusick 	"O",		'o',
6208210Smckusick 	"CAD",		'p',
6218210Smckusick 	"ucbcad",	'p',
622*8232Smckusick 	"P",		'p',
6238210Smckusick 	"Q",		'q',
6248210Smckusick 	"ARPAVAX",	'r',
6258210Smckusick 	"ucbarpa",	'r',
626*8232Smckusick 	"R",		'r',
6278210Smckusick 	"SRC",		's',
6288210Smckusick 	"ucbsrc",	's',
629*8232Smckusick 	"S",		's',
6308210Smckusick 	"MathStat",	't',
6318210Smckusick 	"ucbmathstat",	't',
632*8232Smckusick 	"T",		't',
6338210Smckusick 	"ucbc70",	'u',
6348210Smckusick 	"C70",		'u',
635*8232Smckusick 	"U",		'u',
6368210Smckusick 	"CSVAX",	'v',
6378210Smckusick 	"ucbernie",	'v',
638*8232Smckusick 	"V",		'v',
6398210Smckusick 	"ucbstatvax",	'w',
6408210Smckusick 	"StatVax",	'w',
641*8232Smckusick 	"W",		'w',
6428210Smckusick 	"ucbonyx",	'x',
6438210Smckusick 	"Onyx",		'x',
644*8232Smckusick 	"X",		'x',
6458210Smckusick 	"Cory",		'y',
6468210Smckusick 	"ucbcory",	'y',
647*8232Smckusick 	"Y",		'y',
648*8232Smckusick 	"EARVAX", 	'z',
6498210Smckusick 	"EECS40", 	'z',
6508210Smckusick 	"ucbeecs40", 	'z',
651*8232Smckusick 	"ucbear", 	'z',
652*8232Smckusick 	"Z",	 	'z',
6538210Smckusick 	0, 		0
6548210Smckusick 	};
6558210Smckusick # endif
656