changed "dp" command to say "At EOF" when executed on last message
[unix-history] / usr / src / usr.bin / mail / config.c
CommitLineData
ebc9f528
KS
1#
2
3static char *SccsID[] = "@(#)config.c 1.1 %G%";
4
5/*
6 * This file contains definitions of network data used by Mail
7 * when replying. See also: configdefs.h and optim.c
8 */
9
10/*
11 * The subterfuge with CONFIGFILE is to keep cc from seeing the
12 * external defintions in configdefs.h.
13 */
14#define CONFIGFILE
15#include "configdefs.h"
16
17/*
18 * Set of network separator characters.
19 */
20char *metanet = "!^:%@.";
21
22/*
23 * Host table of "known" hosts. See the comment in configdefs.h;
24 * not all accessible hosts need be here (fortunately).
25 */
26struct netmach netmach[] = {
27 "a", 'a', SN,
28 "b", 'b', SN,
29 "c", 'c', SN,
30 "d", 'd', SN,
31 "e", 'e', SN,
32 "f", 'f', SN,
33 "g", 'g', SN,
34 "ingres", 'i', AN|SN,
35 "ing70", 'i', AN|SN,
36 "berkeley", 'i', AN|SN,
37 "ingvax", 'j', SN|BN,
38 "virus", 'k', SN,
39 "vlsi", 'l', SN,
40 "image", 'm', SN,
41 "esvax", 'o', SN,
42 "sesm", 'o', SN,
43 "q", 'q', SN,
44 "research", 'R', BN,
45 "arpavax", 'r', SN|BN,
46 "src", 's', SN,
47 "mathstat", 't', SN,
48 "csvax", 'v', BN|SN,
49 "vax", 'v', BN|SN,
50 "ucb", 'v', BN|SN,
51 "ucbvax", 'v', BN|SN,
52 "onyx", 'x', SN,
53 "vax135", 'X', BN,
54 "cory", 'y', SN,
55 "eecs40", 'z', SN,
56 0, 0, 0
57};
58
59/*
60 * Table of ordered of preferred networks. You probably won't need
61 * to fuss with this unless you add a new network character (foolishly).
62 */
63struct netorder netorder[] = {
64 AN, '@',
65 AN, '%',
66 SN, ':',
67 BN, '!',
68 -1, 0
69};
70
71/*
72 * Table to convert from network separator code in address to network
73 * bit map kind. With this transformation, we can deal with more than
74 * one character having the same meaning easily.
75 */
76struct nettypetab nettypetab[] = {
77 '%', AN,
78 '@', AN,
79 ':', SN,
80 '!', BN,
81 '^', BN,
82 0, 0
83};
84
85struct netkindtab netkindtab[] = {
86 AN, IMPLICIT,
87 BN, EXPLICIT,
88 SN, IMPLICIT,
89 0, 0
90};