Go to the first, previous, next, last section, table of contents.


kitchenSinks

Function: kitchenSinks { -> count }
file: job.t
package: muf
status: alpha

It has been suggested that the Muq server supports everything but the kitchen sink. This is untrue: Muq has had a fully functional, POSIX-compliant kitchenSinks function since version -2.4, 94Mar26.

This function accepts no arguments, and returns the number of kitchen sinks physically installed on the host system.

If this number is nonzero for your system, add (say)

#define MUQ_KITCHEN_SINKS 2

to your h/Site-config.h before compiling Muq.

Note: If the number of kitchen sinks on your system tends to fluctuate erratically, you may wish to put

setenv KITCHEN_SINKS `ls -lR /dev                 \
                    | egrep -i "kitchen.*sink.*"  \
                    | wc -l`

in your .login script, and then add

-DMUQ_KITCHEN_SINKS=${KITCHEN_SINKS}

to CDEBUGFLAGS and COPTFLAGS in c/Makefile2.in and c/Makefile2. On most systems, this will automatically give you the correct value each time you recompile.

If your unix has non-standard kitchen-sink drivers, you may need to edit the above regular expression to match your local conventions.


Go to the first, previous, next, last section, table of contents.