4.4BSD/usr/share/man/cat5/L-dialcodes.0

Compare this file to the similar file:
Show the results in this format:




L-DIALCODES(5)       BSD Programmer's Manual       L-DIALCODES(5)


NNAAMMEE
       L-dialcodes - UUCP phone number index file

DDEESSCCRRIIPPTTIIOONN
       The  _L_-_d_i_a_l_c_o_d_e_s  file defines the mapping of strings from
       the phone number field of _L_._s_y_s(5) to  actual  phone  num-
       bers.

       Each line in L-dialcodes has the form:

            alpha_string  phone_number

       The  two items can be separated by any number of blanks or
       tabs. Lines beginning with a `#' character are comments.

       A phone number in _L_._s_y_s can be preceded  by  an  arbitrary
       alphabetic character string; the string is matched against
       the list of _a_l_p_h_a___s_t_r_i_n_gs in _L_-_d_i_a_l_c_o_d_e_s.  If a  match  is
       found,  _p_h_o_n_e___n_u_m_b_e_r is substituted for it. If no match is
       found, the string is discarded.

       _L_-_d_i_a_l_c_o_d_e_s is commonly used either of two ways:

       (1) The alphabetic strings are used as prefixes to  denote
           area  codes, zones, and other commonly used sequences.
           For example, if  _L_-_d_i_a_l_c_o_d_e_s  included  the  following
           lines:

            chi  1312
            mv   1415

       In _L_._s_y_s you could enter:

            chivax Any ACU 1200 chi5551234  ogin:--ogin: nuucp
            mvpyr  Any ACU 1200 mv5556001   ogin:--ogin: Uuucp

       instead of

            chivax Any ACU 1200 13125551234  ogin:--ogin: nuucp
            mvpyr  Any ACU 1200 14155556001  ogin:--ogin: Uuucp

       (2) All  phone  numbers are placed in _L_-_d_i_a_l_c_o_d_e_s, one for
           each remote site.  _L_._s_y_s then refers to these by name.
           For  example,  if  _L_-_d_i_a_l_c_o_d_e_s  contains the following
           lines:

            chivax    13125551234
            mvpyr     14155556601

       then _L_._s_y_s could have:




4.3 Berkeley Distribution  June 6, 1993                         1








L-DIALCODES(5)       BSD Programmer's Manual       L-DIALCODES(5)


            chivax Any ACU 1200 chivax  ogin:--ogin: nuucp
            mvpyr  Any ACU 1200 mvpyr   ogin:--ogin: Uuucp

       This scheme allows a site administrator to give users read
       access to the table of phone numbers, while still protect-
       ing the login/password sequences in _L_._s_y_s.

FFIILLEESS
       /usr/lib/uucp/L-dialcodes
       /usr/lib/uucp/UUAIDS/L-dialcodes   L-dialcodes example

SSEEEE AALLSSOO
       uucp(1C), uux(1C), L.sys(5), uucico(8C).









































4.3 Berkeley Distribution  June 6, 1993                         2