home *** CD-ROM | disk | FTP | other *** search
- Feedpipe is a program to make processes appear as files (actually a named
- pipe) to other processes. A trivial use of this would be as a random sig
- generator. More useful is to make current information available as a file
- to processes such as UUCP.
-
- Also included as it is used by feedpipe is my getline function. Note this
- is not quite like the BSD getline. See that file for details.
-
- A man page is provided as feedpipe.1
-
- Here is a sample configuration file for it which demonstrates some of the
- uses to which I am putting it.
-
- ----------------------- Start of configuration file --------------------------
- # Configuration file for feedpipe
- # Written by D'Arcy J.M. Cain
-
- # This file contains the information used by feedpipe to create files
-
- # First the information files. The program pubinfo is basically a cat
- # from a here file. The second entry is the compressed version
- /usr/spool/uucppublic/pub/info/readme uucp uucp 0644 \
- /usr/lbin/pubinfo
- /usr/spool/uucppublic/pub/info/readme.Z uucp uucp 0644 \
- /usr/lbin/pubinfo | /usr/lbin/compress
-
- # ls -lR of my public directories - note use of echo and date
- /usr/spool/uucppublic/pub/info/ls-lR.Z uucp uucp 0644 \
- (echo "ls -lR as of \c"; date; ls -lR /usr/spool/uucppublic/pub) | \
- /usr/lbin/compress
-
- # This is the UUCP clone that I am working on. Note pa is a program that
- # creates a cpio archive of a directory and writes it to its stdout. this
- # causes the very latest version of the source tree to be made available
- # to UUCP
- /usr/spool/uucppublic/pub/archive/uudos.CP.Z darcy program 0644 \
- cd /usr/darcy; /usr/lbin/pa uudos 2> /dev/null
- ------------------------- end of configuration file --------------------------
-
- Any comments, bugs, suggestions etc welcome
-
- D'Arcy J.M. Cain
- darcy@druid.UUCP
-
-