Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #140
Difficulty: Easy
Unix and the C programming language were both developed at AT&T.
True or False?
Linux & Unix Commands - Search Man Pages

l-dialcodes(5) [bsd man page]

L-DIALCODES(5)							File Formats Manual						    L-DIALCODES(5)

NAME
L-dialcodes - UUCP phone number index file DESCRIPTION
The L-dialcodes file defines the mapping of strings from the phone number field of L.sys(5) to actual phone numbers. 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_strings 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: (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 1312 mv 1415 In L.sys 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-dialcodes, one for each remote site. L.sys then refers to these by name. For example, if L-dialcodes contains the following lines: chivax 13125551234 mvpyr 14155556601 then L.sys could have: 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 protecting the login/password sequences in L.sys. FILES
/etc/uucp/L-dialcodes /etc/uucp/UUAIDS/L-dialcodes L-dialcodes example SEE ALSO
uucp(1), uux(1), L.sys(5), uucico(8). 4.3 Berkeley Distribution October 22, 1996 L-DIALCODES(5)

Check Out this Related Man Page

Dialcodes(4)						     Kernel Interfaces Manual						      Dialcodes(4)

NAME
Dialcodes - Contains the initial digits of telephone numbers used to establish remote connections over a telephone line SYNOPSIS
/usr/lib/uucp/Dialcodes DESCRIPTION
The /usr/lib/uucp/Dialcodes file contains the initial digits of telephone numbers used by the uucp program to establish remote connections over a telephone line. The Dialcodes file simplifies entries in the /usr/lib/uucp/Systems file for sites where a number of device tele- phone numbers have the same prefix. If users at your site communicate regularly by way of telephone lines and modems to multiple systems all located at the same remote site, or to multiple systems located at different remote sites, use dial-code abbreviations in the /usr/lib/uucp/Systems file rather than entering the complete telephone number of each remote modem in that file. The Dialcodes file contains dial-code abbreviations and partial telephone numbers that complete the telephone entries in the /usr/lib/uucp/Systems file. Entries in the Dialcodes file contain an alphabetic prefix attached to a partial telephone number that may include the following information, in the order listed: Codes for an outside line. Long-distance access codes (1 and the area code, if the modem is out of the local area). The 3-digit exchange number. The relevant alphabetic prefix (representing the partial telephone number), together with the remaining four digits of that number, is then entered in the Phone field in the /usr/lib/uucp/Systems file. Following is the form of an entry in a Dialcodes file: DialCodeAbbreviation DialingSequence The DialCodeAbbreviation part of the entry is an alphabetic prefix containing up to eight letters, established when setting up the dial- code listing. The DialingSequence comprises all the digits in the number that precede the actual 4-digit telephone number. Note that if your site uses only a relatively small number of telephone connections to remote systems, include the complete telephone num- bers of the remote modems in the /usr/lib/uucp/Systems file rather than using dial-code abbreviations. Enter each prefix only once in the Dialcodes file. When you have set up a dial-code abbreviation, use that prefix in all relevant entries in the /usr/lib/uucp/Systems file. Only someone with superuser authority can edit the Dialcodes file, which is owned by the uucp program login ID. EXAMPLES
The Dialcodes file on system venus contains the following dial-code prefix for use with a number in the /usr/lib/uucp/Systems file: local 9=555 The Systems file on system venus contains the following entry for system zeus, including a telephone number and a dial-code prefix: zeus Any ACU 1200 local1212 in:--in: nuucp word: thunder When the uucp program on system venus dials system zeus, it uses the expanded telephone number =5551212. FILES
Contains all the configuration files for the uucp program, including the Dialcoddes file Contains information about available devices Spec- ifies initial handshaking on a connection Describes accessible remote systems RELATED INFORMATION
Commands: cu(1), tip(1), uucp(1), uuto(1), uux(1) delim off Dialcodes(4)

Featured Tech Videos