home *** CD-ROM | disk | FTP | other *** search
- ; =============================================================================
- ; XENMODEM.CFG Xenia TE/modem config Xenia Version 1.98 - January 1995
- ; =============================================================================
- ; This is the file with info about ALL possible settings for TE/modems
- ; Usually you'll have a config file for a specific TE/modem (like ZYXEL.CFG)
- ; which is included from LINE*.CFG
-
-
- ; -----------------------------------------------------------------------------
- ; Special characters in modem command strings:
- ; ` Wait 1/20th sec before sending next char
- ; ~ Wait 1 second before sending next char
- ; | Send return and wait for response
- ; ! Send return but don't wait
- ; - Ignored (not sent)
- ; v Lower DTR
- ; ^ Raise DTR
- ; <space> Is the end of the command string in case of ANSWER and PREFIXSUFFIX
- ; In other strings, it's just ignored.
- ; To prevent confusion, better not use them, or escape them.
- ; \ Quote character: don't send \, but send next character WITHOUT
- ; translation as above use this to send e.g. a ; in a modem string,
- ; \; to send a ; and \<space> to send a space.
- ; "a text" Anything between doublequotes is sent as is (including any special
- ; chars like the above that would normally have another function),
- ; and the doublequotes themselves are ALSO sent.
- ; Nice for FAX ID strings, and Internet dialling via VMODEM.
-
-
- ; -----------------------------------------------------------------------------
- ; Use this comport to talk to the modem (FOSSIL port 1-64, internal 1-16)
- ; In the OS/2 version, device names are also allowed (ie. COM1, etc)
- ; OS/2 only: device name ISDN select's COMCAPI.DLL's ISDN CAPI handler.
-
- ;PORT 2 ; DOS and OS/2: COM port number
- ;PORT COM1 ; OS/2 only: device names
-
- ;PORT CAPI ; OS/2 only: direct ISDN CAPI support (no BBS access possible!)
- ; see the modem config file COMCAPI.CFG for details.
-
- ;PORT 0 ; DOS only: single line only, using internal async routines
- ; Xenia tries to autodetect which comport for TE/modem....
-
-
- ; -----------------------------------------------------------------------------
- ; SHAREPORT
- ; Makes Xenia leave the comport active/open when calling external applications.
- ; Under OS/2, this is required for BBS access, or you'll lose the carrier.
- ; Under DOS, it means leaving the FOSSIL 'hot'. Not usually needed or wanted.
- ;
- ; Because it affects both DOS and OS/2 operations, it's smarter to use the
- ; Xenia command line option 'SHARE' just in the appropriate batchfiles instead
- ; of fixing this setting here....
-
- ;SHAREPORT
-
-
- ; -----------------------------------------------------------------------------
- ; SPEED [LOCK] initspeed
-
- ;SPEED 1200 ; A simple 1200 bps modem
- ;SPEED 2400 ; ditto, 2400
- ;SPEED LOCK 19200 ; highspeed modem locked at 19200 bps
- ;SPEED LOCK 38400
- ;SPEED LOCK 57600
- ;SPEED LOCK 115200 ; Real heavy stuff ;-)
- ;SPEED LOCK 64000 ; Nice for 'fake' comports (ISDN cFos/COMCAPI)
-
-
- ; -----------------------------------------------------------------------------
- ; SLOWMODEM
- ; Send the modem its commands slowly, waiting for 1/20th sec before next char.
- ; Most modern modems won't need this. But some.... ;-)
-
- ;SLOWMODEM
-
-
- ; -----------------------------------------------------------------------------
- ; Special options
-
- ;MAILER NO-INIT ; Don't (re)init modem every 10 minutes
-
- ;MAILER COLLIDE ; Do call collision (answer after NO DIALTONE)
-
-
- ; -----------------------------------------------------------------------------
- ; The basic init/reset stuff
-
- ;INIT ATZ|ATS2=255| ; Initialization command(s)
- ;TERMINIT ATZ|ATS2=255| ; Command sent when entering terminal
- ;RESET ATZ| ; Reset, when exiting Xenia via Alt-X
- ;BUSY ATM0H1| ; Other exits, like for an event.
- ;HANGUP !`v~~^`!!`` ; Normal DTR toggle to hangup (default)
- ;HANGUP ^~~+++~~~ATH!~~ ; Stupid modems that need +++ treatment
-
-
- ; -----------------------------------------------------------------------------
- ; DATA <commandstring>
- ; USR V.32Terbo modems report 'DATA' in adaptive mode and then return to
- ; command mode; then the application has to send ATO before getting 'CONNECT n'
- ; If you have a USR V.32Terbo, you'll need to use this option.
- ; If you have a different type modem, never mind this stuff at all.
- ; If you have a USR V.Everything (V.FC/V.34) etc, do NOT use this option!
-
- ;DATA ATO|
-
-
- ; -----------------------------------------------------------------------------
- ; MDMTIMEOUT <seconds>
- ; Change the number of seconds that Xenia should wait for a CONNECT response
- ; when dialling or answering. The default is 60 seconds (1 minute)
- ; Some people in the xUSSR and Baltic countries will find this option useful.
-
- ;MDMTIMEOUT 60
-
-
- ; -----------------------------------------------------------------------------
- ; ANSWER <commandstring>|IGNORE [<pattern> ...]
- ; You can have multiple answer strings, where Xenia selects the appropriate one
- ; by checking the complete RING response string (as sent by the TE/modem)
- ; against the patterns specified here. The first one matching gets the job.
- ; This can be useful with ISDN, where you could use another answer setting
- ; based on the called MSN/EAZ, or the calling party's number (CLIP).
- ; There is one special commandstring, IGNORE, meaning: don't answer the call.
- ; An ANSWER line with no pattern is sorted last by Xenia, and selected as the
- ; default if nothing else matches.
-
- ;ANSWER ATS15=x0740|ATA| EAZ=9 ; This one if 'EAZ=9' in ring string.
- ;ANSWER IGNORE 12345678 ; Don't answer calls from this phone#
- ;ANSWER ATM0+FAA=1A|
- ;ANSWER ATA|
-
-
- ; -----------------------------------------------------------------------------
- ; FIRSTRING
- ; Normally Xenia waits for the second RING signal before answering the phone..
- ; ISDN in some countries (like Denmark?) declares 'no answer' after the second
- ; ring, so use 'FIRSTRING' when using Xenia on such ISDN lines.
- ; Thank Thomas Hedberg for this one (2:234/73)
-
- ;FIRSTRING
-
-
- ; -----------------------------------------------------------------------------
- ; AFTERCALL <commandstring>
- ; Useful if you have ISDN with the cost indication service, or want to view
- ; your modem's link status screen after each outbound or incoming mailsession.
- ; The command is not sent after BBS callers (that would fill up your log ;-)
-
- ;AFTERCALL ATI2| ; Get link status from ZyXEL modems
- ;AFTERCALL ATI6| ; Get link status from USR V.32BIS
- ;AFTERCALL ATI11I6| ; Get link status from USR V.Everything
- ;AFTERCALL AT%L%QS86?| ; Supra's aftercall info.
-
-
- ; -----------------------------------------------------------------------------
- ; OKDIAL [-]pattern [[-]pattern ...]
- ;
- ; Tells Xenia which systems this line is allowed to call, and which not.
- ; You may use address patterns, phone# patterns, or (parts of) nodelist flags.
- ; A pattern prefixed by - means 'not allowed to call this one'.
- ;
- ; Xenia scans all patterns in order, and the first one that matches is used to
- ; determine whether calling is allowed.
- ; If no pattern matches, the last pattern listed indirectly decides whether the
- ; call is made: if prefixed with a -<whatever>, all the rest is okay (like *);
- ; otherwise all the rest is not allowed (like -*).
- ;
- ; Especially on multiline systems with different modems/ISDN adapters, this is
- ; an absolutely fabulous feature!
-
- ;OKDIAL -V21 -V23 V32 ZYX V22 V34 VFC ; Using some nodelist flags
- ;OKDIAL -2:283/512 2:283/512.2 -+1-* ; Address / phone# patterns
- ;OKDIAL ISDNA ISDNB ISDNC -* ; An ISDN cFos/COMCAPI task....
- ;OKDIAL ISDNA ISDNB ISDNC ISDN -* ; US ISDN flag: any V.120 adapter
-
-
- ; -----------------------------------------------------------------------------
- ; PREFIXSUFFIX [prefix]/[suffix] [address/telnr-pattern/nodelistflags ...]
- ; Prefix/suffix for modem dial command string
- ; The prefix is sent to the modem first, then the translated telephone number,
- ; and then the suffix (usually just a | for return and wait for response).
- ;
- ; You can specify patterns to select a different command string.
- ; This pattern can be a nodenumber, (part of) a phone#, or a nodelist flag!
- ; Below are just a few (totally bogus) examples of things you can do....
-
- ;PREFIXSUFFIX ATSnn=xxxDT/| HST +44-* 2:283/512
- ;PREFIXSUFFIX ATSnn=nnnDT/| ZYX Z16 Z19 2:28/900
- ;PREFIXSUFFIX ATDT/| ; Xenia's default prefixsuffix
-
- ;PREFIXSUFFIX ATB0D/| ISDNC ; If you use cFos or COMCAPI....
- ;PREFIXSUFFIX ATB1D/| ISDNB
- ;PREFIXSUFFIX ATB2D/| ISDNA
- ;PREFIXSUFFIX ATB0D/|
-
-
- ; -----------------------------------------------------------------------------
- ; MAXRINGS <count>
- ; Maximum number of rings to wait when dialling; some modems recognize the
- ; other side's ringing with a response code RING, RRING or RINGING. If you want
- ; Xenia to quit waiting for the other side to pick up, specify # of rings here.
-
- ;MAXRINGS 4
-
-
- ; -----------------------------------------------------------------------------
- ; MDMRSP <code> <modem response>
- ;
- ; You can now configure Xenia for special modem response codes, to deal with
- ; V.25BIS stuff for instance (send me info!)
- ; The original stuff is still in Xenia, and can deal with any standard HAYES
- ; *verbal* response and connect strings of any speed. So unless you're trying
- ; do do something special, you will have no need to specify anything here...
- ; Anything specified HERE is checked FIRST, so you can override the internals.
- ; Modem responses may contain spaces!
-
- ;MDMRSP CONNECT CONNECT ; Standard CONNECT, followed by speed
- ;MDMRSP SET SET TO ; Standard SET TO, followed by speed
-
- ;MDMRSP FAX +FCO ; +FCO or +FCON class 2/2.0 FAX connect
- ; This code (FAX) is only used if internal FAX is not disabled.
- ; Also, any response containing the word 'FAX' is ignored if FAX enabled.
- ; That's why you have to use 'FAX OFF' if you want an external FAX handler....
-
- ;MDMRSP DATA DATA ; USR V.32Terbo adapt. DATA/FAX connect
- ; Xenia sends the 'DATA' modem commandstring and waits for real connect string.
- ; This code is only enabled if a DATA command has been configured, otherwise
- ; this code is just ignored. This because some OTHER modems do give a DATA
- ; response, but then (by themselves) immediately follow that with CONNECT ....
-
- ;MDMRSP NOCONN NO CARRIER ; NOCONN = NO CONNECT
- ;MDMRSP NOCONN BUSY
- ;MDMRSP NOCONN VOICE
- ;MDMRSP NOCONN NO ANSWER
-
- ;MDMRSP NODIAL NO TONE ; NODIAL = NO DIALTONE / NO DIAL TONE
- ;MDMRSP NODIAL NO DIAL ; possible call collision
-
- ;MDMRSP ERROR ERROR
-
- ;MDMRSP RING RING ; RING, RRING, RINGING, etc
- ;MDMRSP RING RRING
-
- ;MDMRSP OK OK ; Command processed okidoki
-
- ; The following is very special: Xenia can decode a lot of connect strings but
- ; if you have something extremely weird, you can specify the complete response
- ; string here, and the connect speed Xenia should then assume for the connect.
- ; Note: speed should be something above 256, and also below 4147483647 ;-)
- ;MDMRSP 99999 CONNECT VERYFAST ; Weird string 'CONNECT VERYFAST'
-
- ; Xenia can decode any 'CONNECT <number>' by itself, and additionally:
-
- ; CONNECT FAX (Xenia assumes 9600 or 19200, depending on speed of comport)
- ; This line contains the word 'FAX' so is only used if internal FAX disabled!
-
- ; CONNECT 103 (Xenia assumes 300 bps)
- ; CONNECT 12/75, 75/12, 212, 75, 12, 1275, and 7512 (Xenia assumes 1200 here)
-
- ; Xenia used to regard 'CONNECT FAST' as 9600, but I removed that because some
- ; modems may nowadays mean something else with 'FAST'.
-
-
- ; -----------------------------------------------------------------------------
- ; MDMCAUSE <xxxx> <descriptive text>
- ;
- ; Used to decode ISDN CAPI FOSSIL (cFos by Chris Lueders and Martin Winkler)
- ; codes, as passed back from the ISDN CAPI in 'modem' response strings.
- ; Also Xenia's own ISDN OS/2 CAPI support (using Michael Buenter's COMCAPI.DLL)
- ;
- ; What it comes down to is that 'NO CONNECT/CAUSE=34bb' would be translated to
- ; 'NO CONNECT/CAUSE=User busy' which of course is a bit more descriptive ;-)
- ; A fairly complete list of causes is in the following include file....
- ;INCLUDE C:\XENIA\MODEMS\XENCAUSE.CFG
-
- ; One more thing for ISDN cFos users....
- ; If you want to enable call collision detection ('mailer collide' option), we
- ; have to adjust something so Xenia can distinguish between a NO DIALTONE
- ; caused by a collision, and a NO DIALTONE created by an ISDN call setup error.
- ; I *think* (haven't tested this yet) this can be done by putting the following
- ; line above any other mdmrsp lines in the config.
- ; Note the slash. So any response with a /CAUSE= will be regarded as a normal
- ; unsuccessful call attempt, while a plain 'NO DIALTONE' without /CAUSE= will
- ; be picked up by the default line and regarded as a call collision indication.
- ;MDMRSP NOCONN NO DIALTONE/
-
-
- ; -----------------------------------------------------------------------------
- ; FAX [OFF] [LOCK] [CARRIER] [NOSWAP]
- ;
- ; Internal FAX receive for *ALL* class 2 / 2.0 (Fax group III) faxmodems!
- ; Xenia stores the fax in the specified directory, using the ZyXEL file format
- ; (no matter what brand faxmodem you use).
- ; This format is not definite and I may change it in the future, but it's nice
- ; because it uses 1 file per FAX instead of 1 file per page...
- ; XenEdit and FrontDoor's FM have internal support for the notification message
- ; and calling an external utility like ZFAX for viewing/printing a FAX message.
- ;
- ; You will note that Xenia has no 'userinterface' for FAX receiving yet, so no
- ; nice screen will pop up during a FAX transfer. Everything works fine though!
- ; Also, FAX sending (and polling!) capabilities will be added later.
- ;
- ; OFF Switches off the internal FAX support and allows for special connect
- ; strings like 'CONNECT FAX' to start up special programs with EXTAPP.
- ; Normally Xenia Mailer would 'eat' and use the strings internally....
- ; CARRIER If your faxmodem also uses carrier detect during FAX calls; many
- ; don't, so you may need to remove this for your particular brand.
- ; LOCK If your faxmodem also keeps the comspeed locked during FAX calls.
- ; Class 2 faxmodems: ZyXEL and SmartLink locks, Supra 14k4 does not.
- ; Class 2.0 faxmodems: USR V.Everything locks.
- ; If you run DOS, use and lock a FOSSIL, and have a faxmodem that
- ; cannot use LOCK (like Supra 14k4) you will have to tell Xenia not to
- ; use FOSSIL (see NOFOSSIL statement below), otherwise it cannot adapt
- ; the speed of the comport during a FAX call!
- ; NOSWAP This affects the bitorder of received FAX data.
- ; Class 2 faxmodems pass their data in swapped form, so Xenia swaps
- ; again before writing to disk.
- ; HOWEVER, Class 2.0 modems like the USR V.Everything do NOT swap,
- ; so this option tells Xenia to keep off and write straight to disk.
- ;
- ; NOTE: Changes are some of you will get the NOSWAP thing wrong with
- ; certain modems/settings. If you try to view a FAX and just see big
- ; black bars (usually vertical), you've got the wrong setting.
- ; What use is that, you ask? Well, there's a little utility in the
- ; Xenia distribution package (FAXSWAP.COM/FAXSWAP2.EXE) that will read
- ; any raw or ZFAX format FAX file, and swap all those bytes around.
- ; So you'll never really lose a FAX message.... nice eh? ;-)
-
- ;FAX OFF
- ;FAX CARRIER
- ;FAX CARRIER LOCK
- ;FAX CARRIER LOCK NOSWAP ; A USR V.Everything
-
-
- ; -----------------------------------------------------------------------------
- ; The settings below are all DOS ONLY, harmless but ignored under OS/2
-
- ;NOFOSSIL ; Force using Xenia's internal async routines!
- ;DCDMASK 128 ; Carrier detect status bit (default=128)
- ;HANDSHAKE HARD ; HANDSHAKE NONE, SOFT (XON/XOFF), HARD, BOTH
- ; HARD is automatically enabled if PORT LOCK ..
- ; Don't use SOFT or BOTH unless really needed,
- ; it will slow down Hydra filetransfers.
-
- ; The following options (FIFO/COMINFO) only do anything if FOSSIL not used...
- ;FIFO OFF ; Disable 16550A UART use
- ;FIFO 4 ; Set 16550A FIFO to 1,4,8 or 14 (default=8)
- ;COMINFO 1=3F8,4 ; Change port address/interrupt
- ;COMINFO 4=2E8,3 ; Port 1-64, address in hex, interrupt 0-15
-
- ; Suspend async I/O during disk access
- ; Needed on some systems, also sometimes with (staged/lazy-write) disk caches.
- ; If you have a decent modem, this shouldn't even slow down a transfer....
- ; This option only works with extended FOSSIL (X00 1.50+) or internal async.
- ;SLOWDISK
-
-
- ; -----------------------------------------------------------------------------
- ; Advanced PTT cost-pulse feature, contact AGL for info about required hardware
- ; Data lines 0-7 high enables hardware, ACK line generates interrupt signal
- ; Also makes Xenia able to detect no-connects that DID cost money! DOS ONLY.
- ;PTT_PULSE 3BC 7 15 Fl. ; Hardware located on LPT port 3BC/IRQ7,
- ; 15 cents a pulse, currency string 'Fl.'
-
-
- ; =============================================================================