Commit | Line | Data |
---|---|---|
ff5df15a C |
1 | |
2 | ||
3 | ||
4 | L-DIALCODES(5) UNIX Programmer's Manual L-DIALCODES(5) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | L-dialcodes - UUCP phone number index file | |
10 | ||
11 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
12 | The _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs file defines the mapping of strings from the | |
13 | phone number field of _\bL._\bs_\by_\bs(5) to actual phone numbers. | |
14 | ||
15 | Each line in L-dialcodes has the form: | |
16 | ||
17 | alpha_string phone_number | |
18 | ||
19 | The two items can be separated by any number of blanks or | |
20 | tabs. Lines beginning with a `#' character are comments. | |
21 | ||
22 | A phone number in _\bL._\bs_\by_\bs can be preceded by an arbitrary | |
23 | alphabetic character string; the string is matched against | |
24 | the list of _\ba_\bl_\bp_\bh_\ba__\bs_\bt_\br_\bi_\bn_\bgs in _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs. If a match is | |
25 | found, _\bp_\bh_\bo_\bn_\be__\bn_\bu_\bm_\bb_\be_\br is substituted for it. If no match is | |
26 | found, the string is discarded. | |
27 | ||
28 | _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs is commonly used either of two ways: | |
29 | ||
30 | (1) The alphabetic strings are used as prefixes to denote | |
31 | area codes, zones, and other commonly used sequences. | |
32 | For example, if _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs included the following | |
33 | lines: | |
34 | ||
35 | chi 1312 | |
36 | mv 1415 | |
37 | ||
38 | In _\bL._\bs_\by_\bs you could enter: | |
39 | ||
40 | chivax Any ACU 1200 chi5551234 ogin:--ogin: nuucp | |
41 | mvpyr Any ACU 1200 mv5556001 ogin:--ogin: Uuucp | |
42 | ||
43 | instead of | |
44 | ||
45 | chivax Any ACU 1200 13125551234 ogin:--ogin: nuucp | |
46 | mvpyr Any ACU 1200 14155556001 ogin:--ogin: Uuucp | |
47 | ||
48 | (2) All phone numbers are placed in _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs, one for | |
49 | each remote site. _\bL._\bs_\by_\bs then refers to these by name. | |
50 | For example, if _\bL-_\bd_\bi_\ba_\bl_\bc_\bo_\bd_\be_\bs contains the following | |
51 | lines: | |
52 | ||
53 | chivax 13125551234 | |
54 | mvpyr 14155556601 | |
55 | ||
56 | then _\bL._\bs_\by_\bs could have: | |
57 | ||
58 | chivax Any ACU 1200 chivax ogin:--ogin: nuucp | |
59 | mvpyr Any ACU 1200 mvpyr ogin:--ogin: Uuucp | |
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 April 24, 1986 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | L-DIALCODES(5) UNIX Programmer's Manual L-DIALCODES(5) | |
71 | ||
72 | ||
73 | ||
74 | This scheme allows a site administrator to give users read | |
75 | access to the table of phone numbers, while still protecting | |
76 | the login/password sequences in _\bL._\bs_\by_\bs. | |
77 | ||
78 | F\bFI\bIL\bLE\bES\bS | |
79 | /usr/lib/uucp/L-dialcodes | |
80 | /usr/lib/uucp/UUAIDS/L-dialcodes L-dialcodes example | |
81 | ||
82 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
83 | uucp(1C), uux(1C), L.sys(5), uucico(8C). | |
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | Printed 7/9/88 April 24, 1986 2 | |
130 | ||
131 | ||
132 |