1L-DIALCODES(5)                File Formats Manual               L-DIALCODES(5)
2
3
4

NAME

6       L-dialcodes - UUCP phone number index file
7

DESCRIPTION

9       The L-dialcodes file defines the mapping of strings from the phone num‐
10       ber field of L.sys(5) to actual phone numbers.
11
12       Each line in L-dialcodes has the form:
13
14            alpha_string  phone_number
15
16       The two items can be separated by any number of blanks or  tabs.  Lines
17       beginning with a `#' character are comments.
18
19       A  phone  number  in  L.sys  can be preceded by an arbitrary alphabetic
20       character  string;  the  string  is  matched  against   the   list   of
21       alpha_strings  in  L-dialcodes.   If  a match is found, phone_number is
22       substituted for it. If no match is found, the string is discarded.
23
24       L-dialcodes is commonly used either of two ways:
25
26       (1) The alphabetic strings are used as prefixes to denote  area  codes,
27           zones,  and  other commonly used sequences. For example, if L-dial‐
28           codes included the following lines:
29
30            chi  1312
31            mv   1415
32
33       In L.sys you could enter:
34
35            chivax Any ACU 1200 chi5551234  ogin:--ogin: nuucp
36            mvpyr  Any ACU 1200 mv5556001   ogin:--ogin: Uuucp
37
38       instead of
39
40            chivax Any ACU 1200 13125551234  ogin:--ogin: nuucp
41            mvpyr  Any ACU 1200 14155556001  ogin:--ogin: Uuucp
42
43       (2) All phone numbers are placed in L-dialcodes, one  for  each  remote
44           site.   L.sys then refers to these by name. For example, if L-dial‐
45           codes contains the following lines:
46
47            chivax    13125551234
48            mvpyr     14155556601
49
50       then L.sys could have:
51
52            chivax Any ACU 1200 chivax  ogin:--ogin: nuucp
53            mvpyr  Any ACU 1200 mvpyr   ogin:--ogin: Uuucp
54
55       This scheme allows a site administrator to give users  read  access  to
56       the  table  of phone numbers, while still protecting the login/password
57       sequences in L.sys.
58

FILES

60       /etc/uucp/L-dialcodes
61       /etc/uucp/UUAIDS/L-dialcodes   L-dialcodes example
62

SEE ALSO

64       uucp(1), uux(1), L.sys(5), uucico(8).
65
66
67
684.3 Berkeley Distribution      October 22, 1996                 L-DIALCODES(5)
Impressum