home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / upc12bad.zip / sample.mdm < prev    next >
Text File  |  1993-09-04  |  13KB  |  227 lines

  1. # *--------------------------------------------------------------------*
  2. # *         Sample modem configuration file for UUPC/extended          *
  3. # *         Send questions to help@kew.com                             *
  4. # *--------------------------------------------------------------------*
  5.  
  6. # *--------------------------------------------------------------------*
  7. # *      Text description of the modem and settings for this file,     *
  8. # *      and version file was last revised for.                        *
  9. # *--------------------------------------------------------------------*
  10. Description=Generic sample modem file
  11. Version=1.12a
  12.  
  13. # *--------------------------------------------------------------------*
  14. # *          Begin information common to dial in and dial out          *
  15. # *--------------------------------------------------------------------*
  16.  
  17. # *--------------------------------------------------------------------*
  18. # *      Communications Suite (and driver) used.  Default is           *
  19. # *      "internal" serial port driver under all systems.  DOS         *
  20. # *      also supports FOSSIL (if an external FOSSIL driver has        *
  21. # *      been loaded) and ARTICOMM for the Lantastic specific          *
  22. # *      INT14 based port driver.                                      *
  23. # *--------------------------------------------------------------------*
  24. #Suite=internal
  25.  
  26. # *--------------------------------------------------------------------*
  27. # *     Delay between characters sent to the modem.  Allows            *
  28. # *     time for echoing characters sent if the modem is brain         *
  29. # *     damaged.  Unlike other values in this file, the value is       *
  30. # *     in Milliseconds (1/1000 second).                               *
  31. # *--------------------------------------------------------------------*
  32. CharDelay=0
  33.  
  34. # *--------------------------------------------------------------------*
  35. # *     Time in seconds allowed for the modem to respond for           *
  36. # *     commands which do not otherwise have configuration             *
  37. # *     parameters.                                                    *
  38. # *--------------------------------------------------------------------*
  39. ModemTimeout=3
  40.  
  41. # *--------------------------------------------------------------------*
  42. # *     Port used by this modem                                        *
  43. # *--------------------------------------------------------------------*
  44. Device=COM1
  45.  
  46. # *--------------------------------------------------------------------*
  47. # *     Initialize string for the modem; the actual commands, like     *
  48. # *     all the commands in this file, are for the Hayes SmartModem    *
  49. # *     2400.                                                          *
  50. # *--------------------------------------------------------------------*
  51. Initialize="" "" "" \pATZ OK \pATE0X1S0=0 OK \p\c
  52.  
  53. # *--------------------------------------------------------------------*
  54. # *   Hangup string.  Actually issued after DTR is dropped; can be     *
  55. # *   used to reinitialize modem to disable such functions as          *
  56. # *   auto-answer                                                      *
  57. # *--------------------------------------------------------------------*
  58. Hangup="" \pATH OK \pATZ OK
  59.  
  60. # *--------------------------------------------------------------------*
  61. # *     Error responses from modem.  These strings are used for        *
  62. # *     both dial-out and answer.  Whenever one of these strings       *
  63. # *     is found in the input when looking for other strings, the      *
  64. # *     dial or answer sequence is immediately failed.                 *
  65. # *--------------------------------------------------------------------*
  66. NoConnect="NO DIALTONE" "BUSY" "NO CARRIER" "VOICE"
  67.  
  68. # *--------------------------------------------------------------------*
  69. # *     Option "fixedspeed" forces the modem support code to not       *
  70. # *     autobaud the modem.  This is useful for highspeed modems like  *
  71. # *     the Telebit Trailblazer which run at a higher serial port      *
  72. # *     speed than the actual line speed.  The default,                *
  73. # *     "nofixedspeed", should be used for the Hayes SmartModem        *
  74. # *     1200/2400 and clones.                                          *
  75. # *--------------------------------------------------------------------*
  76. #options=nofixedspeed
  77.  
  78. # *--------------------------------------------------------------------*
  79. # *   Option "direct" causes the computer to ignore hardware flow      *
  80. # *   control.  Unless you have an improperly wired system without     *
  81. # *   the Clear To Send (CTS) line, leave this as "nodirect".          *
  82. # *--------------------------------------------------------------------*
  83. #options=nodirect
  84.  
  85. # *--------------------------------------------------------------------*
  86. # *     Option "variablepacket" is only be specified if you know the   *
  87. # *     the remote system supports it.  Better to use 'v' protocol.    *
  88. # *--------------------------------------------------------------------*
  89. #options=novariablepacket
  90.  
  91. # *--------------------------------------------------------------------*
  92. # *     Options "carrierdetect" enables checking for the carrier on    *
  93. # *     the serial line.  If the carrier detect is turned on and then  *
  94. # *     off (the modem receives and loses the connection), the call    *
  95. # *     is aborted.  The call is also aborted if the DTR (modem        *
  96. # *     ready) line is dropped.                                        *
  97. # *--------------------------------------------------------------------*
  98. options=carrierdetect
  99.  
  100. # *--------------------------------------------------------------------*
  101. # *                 Begin outgoing dialing information                 *
  102. # *--------------------------------------------------------------------*
  103.  
  104. # *--------------------------------------------------------------------*
  105. # *     Prefix for dialing                                             *
  106. # *--------------------------------------------------------------------*
  107. DialPrefix=ATD
  108.  
  109. # *--------------------------------------------------------------------*
  110. # *     Suffix for dialing.  Normally not needed if the command is     *
  111. # *     terminated by the default character return                     *
  112. # *--------------------------------------------------------------------*
  113. #DialSuffix=
  114.  
  115. # *--------------------------------------------------------------------*
  116. # *       Time in seconds for the modem to connect after dialing       *
  117. # *--------------------------------------------------------------------*
  118. DialTimeout=40
  119.  
  120. # *--------------------------------------------------------------------*
  121. # *     The string expected after dialing.  This can be a full         *
  122. # *     chat script, although if the fixedspeed option is not set      *
  123. # *     (nofixedspeed) UUIO will expect the modem speed to follow      *
  124. # *     the connect string.  This is also true for Answer, below       *
  125. # *--------------------------------------------------------------------*
  126. Connect=CONNECT
  127.  
  128. # *--------------------------------------------------------------------*
  129. # *      Timeout for scripts in the SYSTEMS file for this modem.       *
  130. # *--------------------------------------------------------------------*
  131. ScriptTimeout=30
  132.  
  133. # *--------------------------------------------------------------------*
  134. # *     Beginning of information for incoming calls.  Note that if     *
  135. # *     you never plan to let UUCICO answer the phone by invoking it   *
  136. # *     in passive mode via the "-r 0" flag, you need not give         *
  137. # *     these keywords real values, although they must be defined.     *
  138. # *--------------------------------------------------------------------*
  139.  
  140. # *--------------------------------------------------------------------*
  141. # *                 Speed to answer the telephone at                   *
  142. # *--------------------------------------------------------------------*
  143. InSpeed=2400
  144.  
  145. # *--------------------------------------------------------------------*
  146. # *     A send expect string for the phone to ring; you can also       *
  147. # *     use this to turn on autoanswer.                                *
  148. # *                                                                    *
  149. # *     A disadvantage to this that we wait a VERY long time           *
  150. # *     (hours) waiting for each string in the ring sequence if        *
  151. # *     needed.                                                        *
  152. # *--------------------------------------------------------------------*
  153. Ring=RING
  154.  
  155. # *--------------------------------------------------------------------*
  156. # *     What we do when the phone rings; in this example, we tell      *
  157. # *     it to answer the phone.  If the phone was answered by the      *
  158. # *     Ring string above, this can the empty string ("").             *
  159. # *--------------------------------------------------------------------*
  160. Answer="" \pATA CONNECT
  161.  
  162. # *--------------------------------------------------------------------*
  163. # *     How much time we have for the expect strings to be             *
  164. # *     responded to in the Answer string above.                       *
  165. # *--------------------------------------------------------------------*
  166. AnswerTimeout=30
  167.  
  168. # *--------------------------------------------------------------------*
  169. # *   UUCP protocol information.                                       *
  170. # *                                                                    *
  171. # *   Normally, you never need to override the maximum values          *
  172. # *   allowed for various parameters allowed by the UUCP "g"           *
  173. # *   Protocol; however, some modems (including some TrailBlazers)     *
  174. # *   are hard coded to only allow 3 open windows, and older           *
  175. # *   releases of UUPC/extended will abort if presented with a bad     *
  176. # *   window size.  Thus, we allow the following overrides on a        *
  177. # *   per modem basis.                                                 *
  178. # *--------------------------------------------------------------------*
  179.  
  180. # *--------------------------------------------------------------------*
  181. # *            Window size used by "g", "G", "v" procotol              *
  182. # *--------------------------------------------------------------------*
  183. #gWindowSize=7
  184. #bigGindowSize=7
  185. #vindowSize=7
  186.  
  187. # *--------------------------------------------------------------------*
  188. # *    Packetsize allowed by "g", "G", and "v" protocol in bytes       *
  189. # *--------------------------------------------------------------------*
  190. #gPacketSize=64
  191. #BigGPacketSize=64
  192. #vPacketSize=64
  193.  
  194. # *--------------------------------------------------------------------*
  195. # *     Timeout for packets by "g", "G", "v" protocol in seconds       *
  196. # *--------------------------------------------------------------------*
  197. #GPacketTimeout=10
  198.  
  199. # *--------------------------------------------------------------------*
  200. # *           Timeout for packets by "f" protocol in seconds           *
  201. # *--------------------------------------------------------------------*
  202. #FPacketTimeout=20
  203.  
  204. # *--------------------------------------------------------------------*
  205. # *   Packet size used by "f" protocol.  This doesn't matter much,     *
  206. # *   since we don't wait for the other side to acknowledge            *
  207. # *   packets in the "f" protocol, they just acknowledge the file.     *
  208. # *--------------------------------------------------------------------*
  209. #fPacketSize=256
  210.  
  211. # *--------------------------------------------------------------------*
  212. # *   Maximum errors allowed by protocols before connection is         *
  213. # *   given up on.  Total time to die on a hung connection is          *
  214. # *   often this count times the "g" packet timeout.                   *
  215. # *--------------------------------------------------------------------*
  216. #MaximumErrors=10
  217.  
  218. # *--------------------------------------------------------------------*
  219. # *   Transfer buffer size used by UUCICO.  Upping this parameter      *
  220. # *   will improve performance on small systems with no disk cache     *
  221. # *   if large numbers of small files (less than your new value        *
  222. # *   TransferBuffer) are sent.  This value must be less than          *
  223. # *   32000 or the amount of free space (less an additional fudge      *
  224. # *   factor) reported by dcpgpkt with -x 2, which is less.            *
  225. # *--------------------------------------------------------------------*
  226. #TransferBuffer=1024
  227.