Note: This file works interdependently with the Dialers, Systems, and Dialcodes files. Before you make changes in any of these files, you should be familiar with them all. A change to an entry in one file may require a change to a related entry in another file. Each entry in the Devices file has the following format:
Entries for use with modems should always have the form
Type Line Line2 Class Dialer-Token-Pairs
Entries for use over TCP/IP network connections have the formName device null speed 212 x dialer
Devices file fields are defined in the following sections.TCP - - Any TCP uucp
You should always use the ttyf devices when working with modems. These devices support hardware flow control, which is used by all modems that support V.32 or V.32bis.
Some devices can be used at any speed, so the keyword ''Any'' can be used in the Class field. If Any is used, the line will match any speed requested in a Systems file entry. If this field is Any and the Systems file Class field is Any, the speed defaults to 9600 bps. If the keyword ACU or Direct is used in the Type field, the Class field might contain only the speed of the device. However, the speed can also be preceded by a letter (for example, C9600, D9600) to differentiate between classes of dialers (Centrex or Dimension PBX). Including the dialer class is necessary in larger offices that have more than one type of telephone network: One network may be dedicated to serving only internal communications while another handles external. In such a case, it becomes necessary to distinguish which line(s) should be used for internal and which for external.Devices: ACU ttyf5 null D9600 212 x telebit
Systems: eagle Any ACU D9600 14155551212 login:nuucp password:Oakgrass
This field has the format:
The last pair may or may not be present, depending on the associated device (dialer). In most cases, the last pair contains only a Dialer portion and the Token portion is retrieved from the Phone field of the Systems file entry. A valid entry in the Dialer portion may be defined in the Dialers file.dialer token dialer token
The DTP field can be structured in different ways, depending on the device associated with the entry.
If an automatic-dial modem is connected directly to a port on your computer, the DTP field of the associated Devices file entry will have only one pair. This pair is normally the name of the modem. This name is used to match the particular Devices file entry with an entry in the Dialers file. Therefore, the Dialer field must match the first field of a Dialers file entry:
Notice that only the Dialer portion (telebit) is present in the DTP field of the Devices file entry. This means that the token to be passed on to the dialer (in this case the phone number) is taken from the Phone field of a Systems file entry. (\T is implied)Devices:
ACU ttyf2 null 9600 212 x telebit
Dialers:
telebit =&-% "" \r\p\r\c $ <K\T%%\r>\c
ONLINE!
If a direct link is established to a particular computer, the DTP field of the associated entry contains the keyword Direct. This is true for both types of direct-link entries, Direct and System-Name.
If an automatic-dial modem is connected to a switch, your computer must first access the switch; the switch then makes the connection to the modem. This type of entry requires two Dialer-Token-Pairs. The Dialer portion of each pair (fifth and seventh fields of entry) is used to match entries in the Dialers file:
In the first pair, t2500 is the Dialer and telebit is the token that is passed to the Develcon switch to tell it which device (telebit modem) to connect to your computer. This token is unique for each modem switch since each switch may be set up differently. Once the telebit modem has been connected, the second pair is accessed, where T25 is the dialer and the token (the telephone number) is retrieved from the Systems file. (See the discussion of the Systems file's Phone field in "The Systems File".)Devices:
ACU ttyf2 null 9600 212 x t2500 telebit T25
Dialers:
telebit "" "" \pr\ps\c est:\007 \E\D\e \007
Dialers:
T25 =&-% "" \r\p\r\c $ <K\T%%\r>\c
ONLINE!
Two escape characters can appear in a DTP field: