.pa 1
.he 'DPD (VII)'3/15/72'DPD (VII)'
.ti 0
NAME		dpd -- spawn data phone daemon
.sp
.ti 0
SYNOPSIS	/etc/dpd________
.sp
.ti 0
DESCRIPTION	dpd___
is the 201 data phone daemon.
It is designed to submit jobs to
the Honeywell 6070 computer via the gerts
interface.
.sp
dpd___ uses the directory /usr/dpd________.
The file lock____ in that directory is used
to prevent two daemons from becoming active.
After the daemon has successfully set the lock,
it forks and the main path exits, thus
spawning the daemon.
/usr/dpd________ is scanned for any file
beginning with df__.
Each such file is submitted as a job.
Each line of a job file must begin with a key
character to specify what to do with the remainder
of the line
.sp
.in +3
S_ directs dpd to generate a unique snumb card.
This card is generated by incrementing the first
word of the file /usr/dpd/snumb______________
and converting that to decimal concatenated with
the station ID.
.sp
L_ specifies that the remainder of the line is to
be sent as a literal.
.sp
B_ specifies that the rest of the line
is a file name. That file is to
be sent as binary cards.
.sp
F_ is the same as B_ except a form feed is prepended to the file.
.sp
U_ specifies that the rest of the line
is a file name.
After the job has been transmitted,
the file is unlinked.
.sp
.in -3
Any error encountered will cause the daemon to
drop the call, wait up to 20 minutes and start over.
This means that an improperly constructed
df__ file may cause the same job to be submitted
every 20 minutes.
.sp
While waiting, the
daemon checks to
see that the lock____ file still exists.
If the lock____ is gone, the
daemon will exit.
.sp
.ti 0
FILES		/dev/dn0,
/dev/dp0,
/usr/dpd/*
.sp
.ti 0
SEE ALSO	opr(I)
.sp
.ti 0
DIAGNOSTICS	--
.sp
.ti 0
BUGS		--
