All rights reserved.
%sccs.include.proprietary.roff%
@(#)L-dialcodes.5 6.2 (Berkeley) 04/24/91
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.sys can be preceded by an arbitrary alphabetic character string; the string is matched against the list of alpha_string s in L-dialcodes . If a match is found, phone_number is substituted for it. If no match is found, the string is discarded.
L-dialcodes is commonly used either of two ways:
4 (1) The alphabetic strings are used as prefixes to denote area codes, zones, and other commonly used sequences. For example, if L-dialcodes included the following lines:
chi 1312mv 1415
In L.sys you could enter:
chivax Any ACU 1200 chi5551234 ogin:--ogin: nuucpmvpyr 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
4 (2) All phone numbers are placed in L-dialcodes , one for each remote site. L.sys then refers to these by name. For example, if L-dialcodes contains the following lines:
chivax 13125551234mvpyr 14155556601
then L.sys could have:
chivax Any ACU 1200 chivax ogin:--ogin: nuucpmvpyr 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 protecting the login/password sequences in L.sys .
/usr/lib/uucp/L-dialcodes /usr/lib/uucp/UUAIDS/L-dialcodes L-dialcodes example