


PLAN(L)                                                   PLAN(L)


NNAAMMEE
       plan - run an executable when a specified FIFO is opened

SSYYNNOOPPSSIISS
       ppllaann [ --fffile ] eexxeeccuuttaabbllee

DDEESSCCRRIIPPTTIIOONN
       _p_l_a_n  takes  the name of an executable program and runs it
       on a FIFO that is specified on the command line  or  on  a
       FIFO  in  the user's home directory named .plan.  Whenever
       the FIFO is accessed, the output of the executable program
       goes  to  the  FIFO.   It also writes the PID of plan to a
       file, so the process can be killed during logout,  and  it
       checks  for  the  existence of this file to make sure plan
       isn't already running.

OOPPTTIIOONNSS
       --ff ffiillee__nnaammee
              The --ff ffllaagg ccaauusseess _p_l_a_n to  set  up  the  specified
              ffiillee__nnaammee   as  a  FIFO  rather  than  the  default
              $$HHOOMMEE//..ppllaann.

       Some sample uses of _p_l_a_n would be:

       ppllaann //uussrr//ggaammeess//ffoorrttuunnee &&
              This will display a randomly  selected  fortune  as
              the  contents  of  your .plan file whenever you are
              fingered.

       ppllaann --ff ~~//..ssiiggnnaattuurree ~~//bbiinn//ggeennssiigg &&
              This will run  the  program  gensig  whenever  your
              .signature file is accessed, allowing you to change
              your .signature whenever you post.

       ppllaann ~~//bbiinn//llooggffiinnggeerr &&
              This will run the program logfinger  whenever  your
              .plan  file  is  accessed,  and  you  can  log  all
              instances of people fingering you.

AAUUTTHHOORR
       Tony Rems (rembo@unisoft.com)

       Modifications by Geoff Loker (geoff@mdms.moore.com)

       More       modifications       by       Karen       Bruner
       (napalm@ugcs.caltech.edu)

       Even   more   modifications   by   Dan   Gezelter  (gezel-
       ter@lithium.cchem.berkeley.edu)

BBUUGGSS
       Your system must support named pipes in order for this  to
       work.




4BSD                                                            1


