home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / gpm108b.zip / English / Modem.CFG < prev    next >
Text File  |  2000-04-26  |  6KB  |  126 lines

  1. ;*===========================================================================*
  2. ;*   General Purpose Mailer. FTN-compatible Extended-Binkley-Style mailer    *
  3. ;*   for OS/2 Warp with multiline support and Presentation Manager GUI.      *
  4. ;*   Written by Igor Vanin (2:5030/448@fidonet, vanin@gpmail.spb.ru)         *
  5. ;*===========================================================================*
  6. ;*                               Modem setup                                 *
  7. ;*===========================================================================*
  8.  
  9. ; In modem commands you may use some special characters, which are not sent to
  10. ; modem:
  11. ;
  12. ;     |  - send <cr> symbol to modem and wait for 0.3 sec.;
  13. ;     v  - drop DTR;
  14. ;     ^  - raise DTR;
  15. ;     '  - wait for 0.1 sec.;
  16. ;     ~  - wait for 0.5 sec.
  17.  
  18. ; COM-port number, to which your modem is attached.
  19. Port                2
  20.  
  21. ; The maximum speed supported by your modem.
  22. Baud                33600
  23.  
  24. ; Locks com-port at specified speed. It is recommended to lock the port at
  25. ; higher speed than your modem's maximum speed, because of compression
  26. ; protocols used during data transfer. If the port is locked by communication
  27. ; driver, mailer does not set the fixed port speed. Default value is 0, i.e.
  28. ; mailer doesn't lock the speed.
  29. Locked_Baud         57600
  30.  
  31. ; The period of time after which modem is initialized. Mailer will
  32. ; automatically initialize modem every <integer> minutes. If set to 0,
  33. ; periodical initialization is not done. Default value is 0.
  34. Init_Interval       20
  35.  
  36. ; String sent to modem to initialize it.
  37. Modem_Init          ~ATZ|
  38.  
  39. ; If Init_After_Dial is set to 'No', mailer does not initialize modem after an
  40. ; outgoing call if no connection was established. Use this with care. Set this
  41. ; to 'No' only if you use the same Dial_Prefix for all calls.
  42. Init_After_Dial    Yes
  43.  
  44. ; String sent to modem to answer an incoming call.
  45. Modem_Answer        ATA|
  46.  
  47. ; Command string sent to modem to dial a number.
  48. Dial_Prefix         ATDP
  49.  
  50. ; The command issued to modem to terminate the call. It is sent to modem if
  51. ; Time_Dial expires while dialing, or if you press Alt-H or select Hangup from
  52. ; the menu.
  53. ; Default value is DTR raise/drop (v'''^). For stupid modems like USR
  54. ; Sportster which hang after a DTR raise/drop during dialing it is
  55. ; recommended to set some other value.
  56. Dial_Terminate     v'''^        ;  for normal modems
  57. ;Dial_Terminate     |~          ;  recommended for USR Sportster
  58.  
  59. ; Dial_Translate <word1> <word2>
  60. ; The Dial_Translate command defines the rules of translating the phone
  61. ; numbers from nodelist. If a phone number starts with <word1>, these
  62. ; characters will be replaced with <word2> before making a call. You may
  63. ; define up to 16 Dial_Translate keywords. They are processed consecutively,
  64. ; so the order matters.
  65. ;Dial_Translate     7-812-        ; Example for St.Petersburg: local calls
  66. ;Dial_Translate     7-095-        ; Example for Moscow: local calls
  67. Dial_Translate      7-      8W    ; National calls
  68. Dial_Translate      *       8W10  ; International calls
  69.  
  70. ; This keyword defines the lines received from modem, which will force mailer
  71. ; to answer an incoming call. You may use up to five words.
  72. AnswerOn            RING
  73. ;AnswerOn            RING "NO DIAL TONE"
  74.  
  75. ; Modem responses that are given when modem failed to connect. You may define
  76. ; up to five words.
  77. NoConnect           "NO CARRIER" "NO ANSWER" VOICE
  78.  
  79. ; The string received from modem, when it sets up a connection.
  80. Connect             CONNECT
  81.  
  82. ; What your modem says when it receives the BUSY signal.
  83. Busy                BUSY
  84.  
  85. ; Modem response that is given when no dial tone is detected.
  86. No_DialTone         "NO DIAL TONE"
  87.  
  88. ; Some modems display a result code for every outgoing ring. Define that code
  89. ; with this variable.
  90. Ringing             RINGING
  91.  
  92. ; If during the connect procedure modem gives one of these answers,
  93. ; half-duplex file transfer is used. You may define up to eight modem answers
  94. ; here. Default value is not defined.
  95. HalfDuplex /HST /PEP /NONE
  96.  
  97. ; If your modem support caller identification, you can define the beginning of
  98. ; the string, in which the modem presents the caller's number. This string
  99. ; will be logged by mailer.
  100. ; Default value is not defined.
  101. ;Examples:
  102. ;CallerID /CID         ;CallerId is displayed in the connect string
  103. ;CallerID "CallerID: " ;CallerId is displayed in a separate string
  104.  
  105. ; With Log_ModemStrings keyword you may define 1 to 8 additional modem
  106. ; responses (in one line), which should be logged. For example, this feature
  107. ; is useful if your modem puts connect information into several lines.
  108. ; Default value is not defined.
  109. ; Examples:
  110. ;Log_ModemStrings "CARRIER" "PROTOCOL:" "COMPRESSION:"
  111. Log_ModemStrings OK  ; modem answer "OK" is written to log.
  112.  
  113. ; Modem statistics for calls may be placed into log file. The ModemStat
  114. ; keyword defines the command sent to modem to collect statistics. The
  115. ; ModemStat_End keyword defines modem response after which the statistics is
  116. ; considered collected (default value is "OK"). The ModemStat_TimeOut keyword
  117. ; defines the time (in seconds), after which the statistics is considered
  118. ; collected if no ModemStat_End response is received (default value is 3).
  119. ;Examples:
  120. ;ModemStat         ATI6|     ; for old USR modems
  121. ;ModemStat         ATI9Y16|  ; for new Couriers
  122. ;ModemStat         ATI6I11|  ; for new Sportsters
  123. ;ModemStat_End     OK
  124. ;ModemStat_TimeOut 3
  125.  
  126.