|
|
1.1 root 1: .\" Copyright (c) 1986 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)L-dialcodes.5 6.1 (Berkeley) 4/24/86
6: .\"
7: .TH L-DIALCODES 5 "April 24, 1986"
8: .UC 6
9: .SH NAME
10: L-dialcodes \- UUCP phone number index file
11: .SH DESCRIPTION
12: The
13: .I L-dialcodes
14: file defines the mapping of strings from the phone number field of
15: .IR L.sys (5)
16: to actual phone numbers.
17: .PP
18: Each line in L-dialcodes has the form:
19: .PP
20: .nf
21: alpha_string phone_number
22: .fi
23: .PP
24: The two items can be separated by any number of blanks or tabs. Lines beginning
25: with a `#' character are comments.
26: .PP
27: A phone number in
28: .I L.sys
29: can be preceded by an arbitrary alphabetic character string; the string
30: is matched against the list of
31: .IR alpha_string s
32: in
33: .IR L-dialcodes .
34: If a match is found,
35: .I phone_number
36: is substituted for it. If no match is found, the string is discarded.
37: .PP
38: .I L-dialcodes
39: is commonly used either of two ways:
40: .TP 4
41: (1)
42: The alphabetic strings are used as prefixes to denote area codes, zones,
43: and other commonly used sequences. For example, if
44: .I L-dialcodes
45: included the following lines:
46: .PP
47: .nf
48: chi 1312
49: .br
50: mv 1415
51: .fi
52: .PP
53: In
54: .I L.sys
55: you could enter:
56: .PP
57: .nf
58: chivax Any ACU 1200 chi5551234 ogin:--ogin: nuucp
59: .br
60: mvpyr Any ACU 1200 mv5556001 ogin:--ogin: Uuucp
61:
62: instead of
63:
64: chivax Any ACU 1200 13125551234 ogin:--ogin: nuucp
65: .br
66: mvpyr Any ACU 1200 14155556001 ogin:--ogin: Uuucp
67: .fi
68: .TP 4
69: (2)
70: All phone numbers are placed in
71: .IR L-dialcodes ,
72: one for each remote site.
73: .I L.sys
74: then refers to these by name. For example, if
75: .I L-dialcodes
76: contains the following lines:
77: .PP
78: .nf
79: chivax 13125551234
80: .br
81: mvpyr 14155556601
82: .fi
83: .PP
84: then
85: .I L.sys
86: could have:
87: .PP
88: .nf
89: chivax Any ACU 1200 chivax ogin:--ogin: nuucp
90: .br
91: mvpyr Any ACU 1200 mvpyr ogin:--ogin: Uuucp
92: .fi
93: .PP
94: This scheme allows a site administrator to give users read access to the
95: table of phone numbers, while still protecting the login/password sequences
96: in
97: .IR L.sys .
98: .SH FILES
99: .nf
100: .ta \w'/usr/lib/uucp/UUAIDS/L-dialcodes 'u
101: /usr/lib/uucp/L-dialcodes
102: /usr/lib/uucp/UUAIDS/L-dialcodes L-dialcodes example
103: .fi
104: .SH SEE ALSO
105: uucp(1C), uux(1C), L.sys(5), uucico(8C).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.