|
|
1.1 ! root 1: .th DPD VII 3/15/72 ! 2: .sh NAME ! 3: dpd \*- spawn data phone daemon ! 4: .sh SYNOPSIS ! 5: .bd /etc/dpd ! 6: .sh DESCRIPTION ! 7: .it Dpd ! 8: is the 201 data phone daemon. ! 9: It is designed to submit jobs to ! 10: the Honeywell 6070 computer via the GRTS ! 11: interface. ! 12: .s3 ! 13: .it Dpd ! 14: uses the directory ! 15: .it /usr/dpd. ! 16: The file ! 17: .it lock ! 18: in that directory ! 19: is used ! 20: to prevent two daemons from becoming active. ! 21: After the daemon has successfully set the lock, ! 22: it forks and the main path exits, thus ! 23: spawning the daemon. ! 24: The directory is scanned for files ! 25: beginning with ! 26: .bd df. ! 27: Each such file is submitted as a job. ! 28: Each line of a job file must begin with a key ! 29: character to specify what to do with the remainder ! 30: of the line. ! 31: .s3 ! 32: .lp +5 3 ! 33: \fBS\fR directs ! 34: .it dpd ! 35: to generate a unique snumb card. ! 36: This card is generated by incrementing the first ! 37: word of the ! 38: file ! 39: .it /usr/dpd/snumb ! 40: and converting that to three-digit octal concatenated with ! 41: the station ID. ! 42: .s3 ! 43: .lp +5 3 ! 44: \fBL\fR specifies that the remainder of the line is to ! 45: be sent as a literal. ! 46: .s3 ! 47: .lp +5 3 ! 48: \fBB\fR specifies that the rest of the line ! 49: is a file name. ! 50: That file is to ! 51: be sent as binary cards. ! 52: .s3 ! 53: .lp +5 3 ! 54: \fBF\fR is the same as \fBB\fR except a form feed is prepended to the file. ! 55: .s3 ! 56: .lp +5 3 ! 57: \fBU\fR specifies that the rest of the line ! 58: is a file name. ! 59: After the job has been transmitted, ! 60: the file is unlinked. ! 61: .s3 ! 62: .i0 ! 63: Any error encountered will cause the daemon to ! 64: drop the call, wait up to 20 minutes and start over. ! 65: This means that an improperly constructed ! 66: \fIdf\fR file may cause the same job to be submitted ! 67: every 20 minutes. ! 68: .s3 ! 69: While waiting, the ! 70: daemon checks to ! 71: see that the ! 72: .it lock ! 73: file still exists. ! 74: If it is gone, ! 75: the ! 76: daemon will exit. ! 77: .sh FILES ! 78: /dev/dn0, ! 79: /dev/dp0, ! 80: /usr/dpd/* ! 81: .sh "SEE ALSO" ! 82: opr(I)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.