1FAXSTATE(8C) FAXSTATE(8C)
2
3
4
6 faxstate - control ``modem state'' of a device used by HylaFAX
7
9 /usr/sbin/faxstate [ -q queue-dir ] [ -s state ] [ -n ] modem
10
12 faxstate sends a message to the HylaFAX faxgetty(8C) process servicing
13 modem telling it to use the specified state when notifying the HylaFAX
14 scheduler that a modem is ready and available for use. This is useful
15 for controlling outbound use of a modem; by marking a modem's state as
16 busy, down, or exempt the HylaFAX scheduler will not assign any out‐
17 bound jobs to the modem. See hylafax-config(5F) under ModemReadyState
18 for a description of the differences between these states.
19
20 The specified modem can either be the name (typically the last compo‐
21 nent of the terminal port the modem is attached to), or the full name
22 of the associated FIFO named pipe file, e.g. ``FIFO.ttym2''.
23
24 If the -n option, faxstate emulates what faxgetty would do; sending a
25 message directly to the faxq process marking the specified modem down,
26 busy, or ready. This interface is useful for send-only environments in
27 which faxgetty processes are not used. Note that modems manipulated in
28 this way must previously have been configured with the faxmodem(8C)
29 program.
30
32 The following options are supported:
33
34 -n Contact faxq directly instead of faxgetty.
35
36 -q dir Use a spooling area other than /var/spool/hylafax.
37
38 -s state Specify the state to send the faxq process each time the
39 modem becomes ready for use; one of ``busy'', ``down'', and
40 ``ready''. The default state to use is ready.
41
43 Consult hylafax-server(5F) for a complete discussion of the structure
44 and content of the spooling area.
45
47 hylafax-server(5F), faxgetty(8C)
48
49
50
51 July 17, 1995 FAXSTATE(8C)