faxlock.1m
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:3k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. ." $Id: faxlock.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
  2. ."
  3. ." HylaFAX Facsimile Software
  4. ."
  5. ." Copyright (c) 1994-1996 Sam Leffler
  6. ." Copyright (c) 1994-1996 Silicon Graphics, Inc.
  7. ." HylaFAX is a trademark of Silicon Graphics
  8. ." 
  9. ." Permission to use, copy, modify, distribute, and sell this software and 
  10. ." its documentation for any purpose is hereby granted without fee, provided
  11. ." that (i) the above copyright notices and this permission notice appear in
  12. ." all copies of the software and related documentation, and (ii) the names of
  13. ." Sam Leffler and Silicon Graphics may not be used in any advertising or
  14. ." publicity relating to the software without the specific, prior written
  15. ." permission of Sam Leffler and Silicon Graphics.
  16. ." 
  17. ." THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  18. ." EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  19. ." WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  20. ." 
  21. ." IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  22. ." ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  23. ." OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. ." WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  25. ." LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  26. ." OF THIS SOFTWARE.
  27. ."
  28. .if n .po 0
  29. .ds Fx fIHylas-1FAXs+1fP
  30. .TH FAXLOCK ${MANNUM1_8} "March 3, 1995"
  31. .SH NAME
  32. faxlock - tell a *(Fx server to switch to LOCKWAIT state
  33. .SH SYNOPSIS
  34. .B ${SBIN}/faxlock
  35. [
  36. .B -q
  37. .I dir
  38. ]
  39. .I modem
  40. .SH DESCRIPTION
  41. .I faxlock
  42. sends a message to a *(Fx 
  43. .IR faxgetty (${MANNUM1_8})
  44. process servicing
  45. .I modem
  46. telling it to change its state to LOCKWAIT
  47. .PP
  48. The specified
  49. .I modem
  50. can either be the name (typically the
  51. last component of the terminal port the
  52. modem is attached to), or the full name
  53. of the associated 
  54. .SM FIFO
  55. named pipe file, e.g. ``s-1FIFOs+1.ttym2''.
  56. .PP
  57. .SH OPTIONS
  58. .TP 10
  59. .BI -q " dir"
  60. Use a spooling area other than
  61. .IR ${SPOOL} .
  62. .SH NOTES
  63. When faxgetty changes it's state to LOCKWAIT, it will start looking
  64. for the UUCP lockfile for the device, and when the device is no
  65. longer locked, proceed to re-initialize the modem.
  66. .SH FILES
  67. .nf
  68. .ta w'${SPOOL}/FIFO.<devid>    'u
  69. ${SPOOL} default spooling area
  70. ${SPOOL}/FIFO fifo for contacting fIfaxqfP
  71. .fi
  72. .PP
  73. Consult
  74. .IR hylafax-server (${MANNUM4_5})
  75. for a complete discussion of the structure and
  76. content of the spooling area.
  77. .SH "SEE ALSO"
  78. .IR hylafax-server (${MANNUM4_5}),
  79. .IR faxq (${MANNUM1_8}),
  80. .IR faxgetty (${MANNUM1_8})