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

传真(Fax)编程

开发平台:

C/C++

  1. ." $Id: faxanswer.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
  2. ."
  3. ." HylaFAX Facsimile Software
  4. ."
  5. ." Copyright (c) 1990-1996 Sam Leffler
  6. ." Copyright (c) 1991-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 FAXANSWER ${MANNUM1_8} "May 23, 1996"
  31. .SH NAME
  32. faxanswer - tell a *(Fx server to answer the telephone
  33. .SH SYNOPSIS
  34. .B ${SBIN}/faxanswer
  35. [
  36. .B -q
  37. .I queue-dir
  38. ] [
  39. .B -h
  40. .I how
  41. ]
  42. .I modem
  43. .SH DESCRIPTION
  44. .I faxanswer
  45. sends a message to the *(Fx
  46. .IR faxgetty (${MANNUM1_8})
  47. process servicing
  48. .I modem
  49. telling it to answer the telephone.
  50. This is useful, for example, when a modem is used on a
  51. shared phone line and the server is
  52. configured to not normally answer the phone.
  53. .PP
  54. The specified
  55. .I modem
  56. can either be the name (typically the
  57. last component of the terminal port the
  58. modem is attached to), or the full name
  59. of the associated 
  60. .SM FIFO
  61. named pipe file, e.g. ``s-1FIFOs+1.ttym2''.
  62. .SH OPTIONS
  63. .TP 10
  64. .BI -q " dir"
  65. Use a spooling area other than
  66. .IR ${SPOOL} .
  67. .TP 10
  68. .B -h
  69. Specify exactly
  70. .I how
  71. the phone should
  72. be answered.
  73. By default, the server process is instructed
  74. to answer the phone and
  75. accept any kind of call (voice, data, fax).
  76. Discrimination of the type of call is dependent on a modem's
  77. .I "adaptive-answer"
  78. support.
  79. The
  80. .B -h
  81. option can be used to force the server to answer the
  82. phone for particular type of call: one of
  83. .IR fax ,
  84. .IR data ,
  85. .IR voice ,
  86. .IR any ,
  87. .IR extern
  88. (to force
  89. .I faxgetty
  90. to invoke an external application to
  91. to handle the call),
  92. or
  93. .I dialX
  94. (where X is a dialstring to dial before initiating a fax reception).
  95. If using
  96. .IR dialX ,
  97. the specified dialstring will likely need to end with a semicolon (``;'').
  98. .SH FILES
  99. .nf
  100. .ta w'${SPOOL}/FIFO.<devid>    'u
  101. ${SPOOL} default spooling area
  102. ${SPOOL}/FIFO fifo for contacting fIfaxqfP
  103. .fi
  104. .PP
  105. Consult
  106. .IR hylafax-server (${MANNUM4_5})
  107. for a complete discussion of the structure and
  108. content of the spooling area.
  109. .SH "SEE ALSO"
  110. .IR hylafax-server (${MANNUM4_5}),
  111. .IR faxgetty (${MANNUM1_8})