make '' default to file beginning if no large movements yet
[unix-history] / usr / src / usr.bin / uucp / man5 / L-devices.5
CommitLineData
55331617
KM
1.\" Copyright (c) 1986 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)L-devices.5 6.1 (Berkeley) %G%
6.\"
7.TH L-DEVICES 5 ""
8.UC 6
9.SH NAME
10L-devices \- UUCP device description file
11.SH DESCRIPTION
12The L-devices file is consulted by the UUCP daemon
13.IR uucico (8C)
14under the direction of
15.IR L.sys (5)
16for information on the devices that it may use.
17Each line describes exactly one device.
18.PP
19A line in
20.I L-devices
21has the form:
22.PP
23Caller Device Call_Unit Class Dialer [Expect Send]....
24.PP
25Each item can be separated by any number of blanks or tabs. Lines beginning
26with a `#' character are comments; long lines can be continued by appending
27a `\e' character to the end of the line.
28.PP
29.I Caller
30denotes the type of connection, and must be one of the following:
31.TP 8
32.B ACU
33Automatic call unit, e.g., autodialing modems such as the Hayes
34Smartmodem 1200 or Novation ``Smart Cat''.
35.TP 8
36.B DIR
37Direct connect; hardwired line (usually RS-232) to a remote system.
38.TP 8
39.B DK
40AT&T Datakit.
41.TP 8
42.B MICOM
43Micom Terminal switch.
44.TP 8
45.B PAD
46X.25 PAD connection.
47.TP 8
48.B PCP
49GTE Telenet PC Pursuit.
50.TP 8
51.B SYTEK
52Sytek high-speed dedicated modem port connection.
53.TP 8
54.B TCP
55Berkeley TCP/IP or 3Com UNET connection. These are mutually exclusive.
56Note that listing TCP connections in
57.I L-devices
58is superfluous;
59.I uucico
60does not even bother to look here since it has all the information it
61needs in
62.IR L.sys (5).
63.PP
64.I Device
65is a device file in /dev/ that is opened to use the device. The device
66file must be owned by UUCP, with access modes of 0600 or better. (See
67.IR chmod (2)).
68.PP
69.I Call_Unit
70is an optional second device file name.
71True automatic call units use a separate device file for data and for dialing;
72the
73.I Device
74field specifies the data port, while the
75.I Call_unit
76field specifies the dialing port.
77If the
78.I Call_unit
79field is unused, it must not be left empty.
80Insert a dummy entry as a placeholder, such as ``0'' or ``unused.''
81.PP
82.I Class
83is an integer number that
84specifies the line baud (for dialers and direct lines) or the port number (for
85network connections).
86.PP
87The
88.I Class
89may be preceded by a non-numeric prefix.
90This is to differentiate among devices that have identical
91.I Caller
92and baud, but are distinctly different.
93For example, ``1200'' could refer to all Bell 212-compatible modems,
94``V1200'' to Racal-Vadic modems, and ``C1200'' to CCITT modems,
95all at 1200 baud.
96Similarly, ``W1200'' could denote long distance lines, while ``L1200''
97could refer to local phone lines.
98.PP
99.I Dialer
100applies only to ACU devices. This is the "brand" or type of the ACU or modem.
101.TP 8
102.B DF02
103DEC DF02 or DF03 modems.
104.TP 8
105.B DF112
106Dec DF112 modems. Use a
107.I Dialer
108field of
109.B DF112T
110to use tone dialing, or
111.B DF112P
112for pulse dialing.
113.TP 8
114.B att
115AT&T 2224 2400 baud modem.
116.TP 8
117.B cds224
118Concord Data Systems 224 2400 baud modem.
119.TP 8
120.B dn11
121DEC DN11 Unibus dialer.
122.TP 8
123.B hayes
124Hayes Smartmodem 1200 and compatible autodialing modems.
125Use a
126.I Dialer
127field of
128.B hayestone
129to use tone dialing, or
130.B hayespulse
131for pulse dialing.
132It is also permissible to include the letters `T' and `P' in the phone
133number (in
134.IR L.sys )
135to change to tone or pulse midway through dialing.
136(Note that a leading `T' or `P' will be interpreted as a dialcode!)
137.TP 8
138.B hayes2400
139Hayes Smartmodem 2400 and compatible modems.
140Use a
141.I Dialer
142field of
143.B hayes2400tone
144to use tone dialing, or
145.B hayes2400pulse
146for pulse dialing.
147.TP 8
148.B novation
149Novation ``Smart Cat'' autodialing modem.
150.TP 8
151.B penril
152Penril Corp ``Hayes compatible'' modems (they really aren't or
153they would use the
154.B hayes
155entry.)
156.TP 8
157.B rvmacs
158Racal-Vadic 820 dialer with 831 adapter in a MACS configuration.
159.TP 8
160.B va212
161Racal-Vadic 212 autodialing modem.
162.TP 8
163.B va811s
164Racal-Vadic 811s dialer with 831 adapter.
165.TP 8
166.B va820
167Racal-Vadic 820 dialer with 831 adapter.
168.TP 8
169.B vadic
170Racal-Vadic 3450 and 3451 series autodialing modems.
171.TP 8
172.B ventel
173Ventel 212+ autodialing modem.
174.TP 8
175.B vmacs
176Racal-Vadic 811 dialer with 831 adapter in a MACS configuration.
177.PP
178.I Expect/Send
179is an optional
180.I Expect/Send
181script for getting through a smart port selector,
182or for issuing special commands to the modem.
183The syntax is identical to that of the Expect/Send script of
184.IR L.sys .
185The difference is that the
186.I L-devices
187script is used
188.I before
189the connection is made, while the
190.I L.sys
191script is used
192.IR after .
193.SH FILES
194/usr/lib/uucp/L-devices
195.br
196/usr/lib/uucp/UUAIDS/L-devices L-devices example
197.SH SEE ALSO
198uucp(1C), uux(1C), L.sys(5), uucico(8C)