DPD(VII)                     3/15/72                     DPD(VII)







NAME

     dpd - spawn data phone daemon



SYNOPSIS

     /etc/dpd



DESCRIPTION

     Dpd is the 201 data phone daemon.  It is designed to  submit

     jobs to the Honeywell 6070 computer via the GRTS interface.



     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.

     The directory is scanned for files 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.



       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  three-digit

          octal concatenated with the station ID.



       L   specifies that the remainder of the line is to be sent

          as a literal.



       B   specifies that the rest of the line is  a  file  name.

          That file is to be sent as binary cards.



       F   is the same as B except a form feed  is  prepended  to

          the file.



       U   specifies that the rest of the line is  a  file  name.

          After  the  job  has  been  transmitted,  the  file  is

          unlinked.



     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.



     While waiting, the daemon checks to see that the  lock  file

     still exists.  If it is gone, the daemon will exit.



FILES

     /dev/dn0, /dev/dp0, /usr/dpd/*



SEE ALSO

     opr(I)