faxstate - control ``modem state'' of a device used by HylaFAX
[ -q queue-dir
] [ -s
] [ -n
sends a message to the HylaFAX faxgetty
telling it to use the specified state when notifying
scheduler that a modem is ready and available for use. This
is useful for controlling outbound use of a modem; by marking a modem's state
scheduler will not assign any
outbound jobs to the modem.
The specified modem
can either be the name (typically the last component
of the terminal port the modem is attached to), or the full name of the
named pipe file, e.g. ``FIFO.ttym2''.
If the -n
emulates what faxgetty
sending a message directly to the faxq
process marking the specified
modem down, busy, or ready. This interface is useful for send-only
environments in which faxgetty
processes are not used. Note that modems
manipulated in this way must previously have been configured with the
The following options are supported:
- Contact faxq directly instead of
- -q dir
- Use a spooling area other than
- Specify the state to send the faxq process each time
the modem becomes ready for use; one of ``busy'', ``down'',
and ``ready''. The default state to use is ready.
(5) for a complete discussion of the structure and
content of the spooling area.