summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/dialout.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/dialout.3
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/dialout.3')
-rw-r--r--static/unix-v10/man3/dialout.386
1 files changed, 86 insertions, 0 deletions
diff --git a/static/unix-v10/man3/dialout.3 b/static/unix-v10/man3/dialout.3
new file mode 100644
index 00000000..5291b724
--- /dev/null
+++ b/static/unix-v10/man3/dialout.3
@@ -0,0 +1,86 @@
+.TH DIALOUT 3
+.CT 2 comm_mach
+.SH NAME
+dialout \(mi place call on ACU
+.SH SYNOPSIS
+.B int dialout(telno, class)
+.br
+.B char *telno, *class;
+.SH DESCRIPTION
+.I Dialout
+places a data call via an automatic calling unit directly
+attached to the calling computer.
+To use an ACU on Datakit see the example in
+.IR ipc (3).
+.PP
+.I Dialout
+searches for an ACU of the appropriate service class
+and places a data call on the associated line, using the given telephone
+number.
+If successful, it returns an open file descriptor for the line.
+The file is in raw mode, and has exclusive-use and hangup-on-close modes set.
+It returns \-1
+if all ACUs of the given class are busy,
+\-3
+if carrier
+could not be set, and
+\-9
+if the service class is unidentifiable.
+.PP
+The routine consults a data file
+.F /etc/aculist
+that consists of lines containing six blank- or tab-separated fields.
+.TP "\w'service class 'u"
+service class
+Each line with a service class matching the one specified is tried
+in turn until an unoccupied one is found.
+Service classes specify a switching office and a baud rate.
+.IP
+Defined service classes at the `research' site are
+.B 300
+and
+.BR 1200 ,
+for 300- and 1200-baud calls on 665- phone lines, with synonyms
+.B D300
+and
+.BR D1200 .
+Internal calls on these lines require 5 digits.
+Service classes
+.B C300
+and
+.B C1200
+use 582- phone lines.
+Internal calls on these lines require 4 digits and reach only other
+582- lines.
+.TP
+file
+The file name of the associated special file for the telephone line.
+.TP
+acu
+The file name of the associated ACU.
+If specified as
+.BR none ,
+no ACU is used and the telephone number is ignored.
+This is for hardwired connections.
+.TP
+speed
+The bit rate of the interface, chosen from the numbers given in
+.IR ttyld (4).
+.TP
+prefix
+A string to be prefixed to the number.
+This is handy for shared ACUs in which the first digit specifies a line.
+The prefix
+.L -
+is taken to be an empty prefix.
+.TP
+postfix
+A string to be postfixed to the number to be dialed.
+Some ACUs require an `end of number' code; it should be specified here.
+.SH FILES
+.TP
+.F /etc/aculist
+.SH SEE ALSO
+.IR ttyld (4),
+.IR cu (1),
+.IR ipc (3)