Commit | Line | Data |
---|---|---|
9903e566 CL |
1 | .\" Copyright (c) 1980, 1991 Regents of the University of California. |
2 | .\" All rights reserved. | |
cbdb9d57 | 3 | .\" |
af359dea C |
4 | .\" Redistribution and use in source and binary forms, with or without |
5 | .\" modification, are permitted provided that the following conditions | |
6 | .\" are met: | |
7 | .\" 1. Redistributions of source code must retain the above copyright | |
8 | .\" notice, this list of conditions and the following disclaimer. | |
9 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer in the | |
11 | .\" documentation and/or other materials provided with the distribution. | |
12 | .\" 3. All advertising materials mentioning features or use of this software | |
13 | .\" must display the following acknowledgement: | |
14 | .\" This product includes software developed by the University of | |
15 | .\" California, Berkeley and its contributors. | |
16 | .\" 4. Neither the name of the University nor the names of its contributors | |
17 | .\" may be used to endorse or promote products derived from this software | |
18 | .\" without specific prior written permission. | |
cbdb9d57 | 19 | .\" |
af359dea C |
20 | .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
21 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
22 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
23 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
24 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
25 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
26 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
27 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
28 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
30 | .\" SUCH DAMAGE. | |
9903e566 | 31 | .\" |
af359dea C |
32 | .\" @(#)dn.4 6.2 (Berkeley) 3/27/91 |
33 | .\" | |
34 | .Dd March 27, 1991 | |
9903e566 CL |
35 | .Dt DN 4 vax |
36 | .Os BSD 4 | |
37 | .Sh NAME | |
38 | .Nm dn | |
39 | .Nd | |
40 | .Tn DN-11 | |
41 | autocall unit interface | |
42 | .Sh SYNOPSIS | |
43 | .Cd "device dn0 at uba? csr 0160020 vector dnintr" | |
44 | .Sh DESCRIPTION | |
c4c2c2e9 | 45 | The |
9903e566 CL |
46 | .Nm dn |
47 | device provides an interface through a | |
48 | .Tn DEC | |
49 | .Tn DN-11 | |
50 | (or equivalent | |
51 | such as the Able Quadracall) to an auto-call unit | |
52 | .Pq Tn ACU . | |
c4c2c2e9 KM |
53 | To place an outgoing call one forks a sub-process which |
54 | opens the appropriate call unit file, | |
9903e566 | 55 | .Pa /dev/cua? |
c4c2c2e9 KM |
56 | and writes the phone number on it. The parent process |
57 | then opens the corresponding modem line | |
9903e566 | 58 | .Pa /dev/cul? . |
c4c2c2e9 | 59 | When the connection has been |
9903e566 CL |
60 | established, the open on the modem line |
61 | .Pa /dev/cul? | |
c4c2c2e9 KM |
62 | will return and the process will be connected. |
63 | A timer is normally used to timeout the opening of | |
64 | the modem line. | |
9903e566 | 65 | .Pp |
c4c2c2e9 | 66 | The codes for the phone numbers are: |
9903e566 CL |
67 | .Bl -column xxxx -offset indent |
68 | 0-9 number to be dialed | |
c4c2c2e9 KM |
69 | * dial * (`:' is a synonym) |
70 | # dial # (`;' is a synonym) | |
71 | \- delay 20 milliseconds | |
9903e566 | 72 | < end of phone number (`e' is a synonym) |
c4c2c2e9 KM |
73 | = delay for a second dial tone (`w' is a synonym) |
74 | f force a hangup of any existing connection | |
9903e566 CL |
75 | .El |
76 | .Pp | |
77 | The phone number to be dialed must be presented as one contiguous string. | |
78 | .Pp | |
c4c2c2e9 KM |
79 | By convention, even numbered call units are for 300 baud |
80 | modem lines, while odd numbered units are for 1200 baud lines. | |
81 | For example, | |
9903e566 | 82 | .Pa /dev/cua0 |
c4c2c2e9 | 83 | is associated with a 300 baud modem line, |
9903e566 | 84 | .Pa /dev/cul0 , |
c4c2c2e9 | 85 | while |
9903e566 | 86 | .Pa /dev/cua1 |
c4c2c2e9 | 87 | is associated with a 1200 baud modem line, |
9903e566 CL |
88 | .Pa /dev/cul1 . |
89 | For devices such as the Quadracall which simulate multiple | |
90 | .Tn DN-11 | |
c4c2c2e9 | 91 | units, the minor device indicates which outgoing modem to use. |
9903e566 CL |
92 | .Sh FILES |
93 | .Bl -tag -width /dev/cul? -compact | |
94 | .It Pa /dev/cua? | |
95 | call units | |
96 | .It Pa /dev/cul? | |
97 | associated modem lines | |
98 | .El | |
99 | .Sh DIAGNOSTICS | |
c4c2c2e9 | 100 | Two error numbers are of interest at open time. |
9903e566 CL |
101 | .Bl -tag -width EBUSYxx |
102 | .It Bq Er EBUSY | |
c4c2c2e9 | 103 | The dialer is in use. |
9903e566 | 104 | .It Bq Er ENXIO |
c4c2c2e9 | 105 | The device doesn't exist, or there's no power to it. |
9903e566 CL |
106 | .El |
107 | .Sh SEE ALSO | |
108 | .Xr tip 1 | |
109 | .Sh HISTORY | |
110 | A | |
111 | .Nm | |
112 | driver appeared in | |
113 | .At v6 . |