; Generic All-Speed Modem Command File
; (for Notes Release 3 or later versions ONLY)

;=====================================================
; Last revision date: 04/22/94 (update this date
; each time you edit; it is also advisable to rename
; your edited file [use Save As, rather than Save 
; option] to avoid later confusion and to keep the 
; original .MDM file intact).

; NOTE: Refer to the file TEMPLATE.MDM (A Sample Modem 
; Command File) for a description of modem command 
; files and how they work. "A Sample Modem Command 
; File" is user selectable within the Lotus Notes 
; Setup dialog "Modem Type" listbox in which you found 
; this modem command file (see end of listings, 
; beginning with a period) and is a printable ASCII 
; text file (approximately 14 pages). 
;======================================================

; HOW TO USE THIS FILE: The Generic All-Speed Modem 
; Command File is intended to be used ONLY when no 
; command file currently exists for the available modem, 
; and a reliable connection cannot be obtained with 
; command files for modems which seem closest to the 
; model in question.  This file has been written for use 
; with Lotus Notes Release 3 and later.  It is possible 
; this file will work as-is, with no editing required from 
; the user.  Should initial attempts fail, turn on LOG I/O 
; and try to determine the problem's source. The paragraphs 
; below describe how to deal, in order of likelihood with 
; the three most common reasons for command file failure.

; 1. This file contains CONNECT responses which end in 
; "wildcards" (asterisks).  As the CONNECT response syntax 
; may vary significantly from modem to modem there formerly 
; was no guarantee that even a broad range of result codes 
; listed would enable Notes to properly initialize an 
; unsupported modem.  Notes Version 3 and this V3 Generic 
; command file circumvent this problem by substituting 
; wildcards for all result codes--the Notes XPC driver will 
; accept any form of response from the modem provided the 
; equal string to the left of the asterisk exactly matches 
; its first portion. 

; 2.  The next thing you'll need to do will be to determine 
; the proper commands for activating RTS/CTS ENABLED or 
; IGNORED (assuming your modem supports hardware flow 
; control).  Again a wide variety of possible commands have 
; been listed, but all have been remmed out (see the section 
; headed  "[commands]" below--the disabled lines have 
; semicolons in front of them, which will need to be removed to 
; make the commands active). The name of vendors know to 
; use various  of these commands are listed here, as well;
; however, it may  be necessary for you to consult your user's 
; manual to  determine which set (if any of those listed) are 
; correct for your modem.  

; 3.  Lastly, the main setup strings, SETUP=AT&F, 
; SETUP=ATE0V1, and SETUP=AT&C1&D2S0=0X4, allow the 
; modem to operate using factory default settings (&F), with the 
; certain necessary exceptions.  Echo is turned off, and Verbose 
; mode is turned on (English responses rather than numeric).  
; The main string instructs the modem to track carrier, hang up if
; DTR (Data Terminal Ready signal) drops, to not auto-answer, 
; and to enable the broadest variety of result codes.  The chances 
; are good that the factory defaults, combined with these required 
; settings, will permit reliable connections to be obtained.  But 
; here again, there are no guarantees, and further study of the 
; manual, or a call to the vendor, may be required for use of your 
; unsupported modem with Notes. 

; A special note concerning setup and CONNECT responses 
; (section 1, above): it is necessary that, if your modem employs 
; an Auto-Reliable mode, the command which turns this mode 
; on be included in the main setup string, unless Auto-Reliable 
; happens to be the factory default (as is the case with many 
; modern modems).  The command (and any other deemed 
; necessary) may simply be appended after the X4 command.  If 
; you are not sure whether a failure to establish dialog is due to 
; a missing Auto-Reliable command, try lowering the Maximum 
; Speed via the user interface to the maximum carrier rate the modem 
; is rated for.  If the connection now succeeds, it usually means 
; that the factory default is set to Normal or Direct mode, and that 
; you are not getting the benefit of whatever compression the 
; modem is capable of.  You should still, however be able to use 
; the modem for Notes dialup.
;-------------------------------------------------------------------

[attributes]

MODELS=Generic All-Speed Modem File (with instructions)
NULL MODEM=0
MAXIMUM SPEED=57600
DEFAULT SPEED=57600

; NOTE: MAXIMUM SPEED for your modem may be lower than 
; 57600 bps.  Consult your user documentation if a problem is
; encountered at this speed, and lower the selected speed in
; the Maximum Speed section of the appropriate Setup box
; within the Notes user interface dialog.  It is unnecessary to
; edit this file to lower your port speed.

;FIXED SPEED=1

; NOTE: Remove the semicolon from the FIXED SPEED=x
; attribute line ONLY when working with Notes Release 3.0,
; NOT when using earlier or later point releases.  Fixed
; Speed, as a Notes command file setting, is intended only
; for Null modems, or as a workaround to a problem appearing
; in Rel. 3.0 only (the problem was resolved in 3.0a).

[commands]

ESCAPE=+++
ATTENTION=ATE0V1
HANGUP=ATH0

;--------------------SETUP STRINGS (max. lines=15)---------------

SETUP=AT&F
SETUP=ATE0V1
SETUP=AT&C1&D2S0=0X4

;------RTS/CTS ENABLED or IGNORED (max. lines=2, min.=0)--------

; NOTE: If the computer and modem refuse to communicate with 
; no flow control specified in the command file, either refer to 
; the manual to determine if one of the following sets of commands 
; is correct for your modem (or if yet another set is needed), or 
; select one set at a time till you activate one which works.  The 
; semicolons at the start of each line cause Notes to ignore the 
; line, removing them causes Notes to utilize them in initializing 
; the modem.  Be careful not to remove semicolons from lines which
; are not command lines, and from more than one set of Enabled/Ignored
; lines at a time.

;-----------------------------------------------------------------
; Used by Compaq internals, some Hayes, Practical Peripherals,
; Telebit T2500, Twincom, Zoom, Zypcom:

;RTS/CTS ENABLED=AT&K3
;RTS/CTS IGNORED=AT&K0

;-----------------------------------------------------------------
; Used by Hayes Ultra and Optima, Practical Peripherals 144:

;RTS/CTS ENABLED=AT&K3&R0
;RTS/CTS IGNORED=AT&K3&R1

;-----------------------------------------------------------------
; Used by Octocom:

;RTS/CTS ENABLED=AT&K2&U3
;RTS/CTS IGNORED=AT&K0&U0

;-----------------------------------------------------------------
; Used by ZyXEL:

;RTS/CTS ENABLED=AT&H3
;RTS/CTS IGNORED=AT&H0

;-----------------------------------------------------------------
; Used by USRobotics:
;
;RTS/CTS ENABLED=AT&H1&R2&K2
;RTS/CTS IGNORED=AT&H0&R1&K0

;-----------------------------------------------------------------
; Used by MultTech:

;RTS/CTS ENABLED=AT&E13
;RTS/CTS IGNORED=AT&E12

;-----------------------------------------------------------------
; Used by Telebit QBlazer:

;RTS/CTS ENABLED=AT&R0S58=2S68=255
;RTS/CTS IGNORED=AT&R3S58=0S68=255

;-----------------------------------------------------------------
; Used by Telebit Trailblazer, T1600, and T3000:

;RTS/CTS ENABLED=ATS58=2S66=1
;RTS/CTS IGNORED=ATS58=0S66=0

;-----------------------------------------------------------------
; Used by DSI:

;RTS/CTS ENABLED=AT*F3
;RTS/CTS IGNORED=AT*F0

;-----------------------------------------------------------------
; Used by Motorola Codex:

;RTS/CTS ENABLED=AT*FL3
;RTS/CTS IGNORED=AT*FL0

;-----------------------------------------------------------------
; Used by Ventel:

;RTS/CTS ENABLED=AT%F1
;RTS/CTS IGNORED=AT%F0

;-----------------------------------------------------------------
; Used by Racal-Milgo:

;RTS/CTS ENABLED=AT\\Q1
;RTS/CTS IGNORED=AT\\Q0

;-----------------------------------------------------------------
; Used by AT&T Safari, Microcom, Texas Instruments:

;RTS/CTS ENABLED=AT\\Q2
;RTS/CTS IGNORED=AT\\Q0

;-----------------------------------------------------------------
; Used by Data Race, DataStar, GVC, IBM, Microcom, Intel,
; Megahertz, NEC, PIICEON, UDS, Worldport, Zeos:

;RTS/CTS ENABLED=AT\\Q3
;RTS/CTS IGNORED=AT\\Q0

;-----------------------------------------------------------------
; Used by: AT&T Comsphere:

;RTS/CTS ENABLED=AT\\Q3&R0
;RTS/CTS IGNORED=AT\\Q0&R1

;------------------------------------------------------------------
VOLUME OFF=ATM0
VOLUME LOW=ATM1L1
VOLUME MEDIUM=ATM1L2
VOLUME HIGH=ATM1L3
ANSWER=ATA
MANUAL DIAL=ATX3D
AUTO PULSE DIAL=ATDP
AUTO TONE DIAL=ATDT
AUTO DIAL SUFFIX=,

[responses]

OK=OK

BUSY=BUSY

NO ANSWER=NO ANSWER

NO CARRIER=NO CARRIER

NO DIALTONE=NO DIALTONE
NO DIALTONE=NO DIAL TONE

ERROR=ERROR

RING=RING

;------------CONNECT RESPONSES (max. lines=300)----------

CONNECT, 115200, 115200=CONNECT 115200
CONNECT, 115200, 115200=CONNECT 115200*
CONNECT, 115200, 115200=CONNECT 115.2*
CONNECT, 115200, 115200=CONNECT 115*

; NOTE: For port speeds of 115.2 Kbps to be used, the Maximum and
; Default speed settings in Attributes will also have to be raised to
; 115200, and the modem must support this port rate.

CONNECT, 57600, 57600=CONNECT 57600
CONNECT, 57600, 57600=CONNECT 57600*
CONNECT, 57600, 57600=CONNECT 57.6*
CONNECT, 57600, 57600=CONNECT 57*

CONNECT, 57600, 38400=CONNECT 38400
CONNECT, 57600, 38400=CONNECT 38400*
CONNECT, 57600, 38400=CONNECT 38.4*
CONNECT, 57600, 38400=CONNECT 38*

CONNECT, 57600, 28800=CONNECT 28800
CONNECT, 57600, 28800=CONNECT 28800*
CONNECT, 57600, 28800=CONNECT 28.8*
CONNECT, 57600, 28800=CONNECT 28*

CONNECT, 57600, 26400=CONNECT 26400
CONNECT, 57600, 26400=CONNECT 26400*
CONNECT, 57600, 26400=CONNECT 26.4*
CONNECT, 57600, 26400=CONNECT 26*

CONNECT, 57600, 24000=CONNECT 24000
CONNECT, 57600, 24000=CONNECT 24000*
CONNECT, 57600, 24000=CONNECT 24.0*
CONNECT, 57600, 24000=CONNECT 24*

CONNECT, 57600, 21600=CONNECT 21600
CONNECT, 57600, 21600=CONNECT 21600*
CONNECT, 57600, 21600=CONNECT 21.6*
CONNECT, 57600, 21600=CONNECT 21*

CONNECT, 57600, 19200=CONNECT 19200
CONNECT, 57600, 19200=CONNECT 19200*
CONNECT, 57600, 19200=CONNECT 19.2*
CONNECT, 57600, 19200=CONNECT 19*

CONNECT, 57600, 16800=CONNECT 16800
CONNECT, 57600, 16800=CONNECT 16800*
CONNECT, 57600, 16800=CONNECT 16.8*
CONNECT, 57600, 16800=CONNECT 16*

CONNECT, 57600, 14400=CONNECT 14400
CONNECT, 57600, 14400=CONNECT 14400*
CONNECT, 57600, 14400=CONNECT 14.4*
CONNECT, 57600, 14400=CONNECT 14*

CONNECT, 57600, 12000=CONNECT 12000
CONNECT, 57600, 12000=CONNECT 12000*
CONNECT, 57600, 12000=CONNECT 12.0*
CONNECT, 57600, 12000=CONNECT 12*

CONNECT,  9600, 9600=CONNECT 9600
CONNECT, 57600, 9600=CONNECT 9600*
CONNECT, 57600, 9600=CONNECT 9.6*
CONNECT, 57600, 9600=CONNECT 96*

CONNECT,  7200, 7200=CONNECT 7200
CONNECT, 57600, 7200=CONNECT 7200*
CONNECT, 57600, 7200=CONNECT 7.2*
CONNECT, 57600, 7200=CONNECT 72*

CONNECT,  4800, 4800=CONNECT 4800
CONNECT, 57600, 4800=CONNECT 4800*
CONNECT, 57600, 4800=CONNECT 4.8*
CONNECT, 57600, 4800=CONNECT 48*

CONNECT,  2400, 2400=CONNECT 2400
CONNECT, 57600, 2400=CONNECT 2400*
CONNECT, 57600, 2400=CONNECT 2.4*
CONNECT, 57600, 2400=CONNECT 24*

CONNECT,  1200, 1200=CONNECT 1200
CONNECT, 57600, 1200=CONNECT 1200*
CONNECT, 57600, 1200=CONNECT 1.2*

CONNECT, 57600=CONNECT

CARRIER,,28800=CARRIER 28800

CARRIER,,26400=CARRIER 26400

CARRIER,,24000=CARRIER 24000

CARRIER,,21600=CARRIER 21600

CARRIER,,19200=CARRIER 19200

CARRIER,,16800=CARRIER 16800

CARRIER,,14400=CARRIER 14400

CARRIER,,12000=CARRIER 12000

CARRIER,, 9600=CARRIER 9600

CARRIER,, 7200=CARRIER 7200

CARRIER,, 4800=CARRIER 4800

CARRIER,, 2400=CARRIER 2400

CARRIER,, 1200=CARRIER 1200
