home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
OFFLINE
/
VALEN130.ZIP
/
INTPROT.CFG
< prev
next >
Wrap
Text File
|
1993-08-17
|
5KB
|
118 lines
; :::: INTPROT.CFG ::::
; By default, this file does nothing.
; Valence reads the protocol definitions for external protocols from
; CONFIG.SL2. To run Searchlight's "internal" protocols, it still needs to
; call an external program; INTPROT.CFG allows you to redefine the command
; lines used for internal protocols.
; Valence scans automatically for ZMODEM.EXE, GSZ.EXE, DSZ.COM and DSZ.EXE,
; in that order. The two definition sets here are the same as Valence's
; internal defaults. Valence will use set 2 if it finds ZMODEM.EXE, and set
; 1 otherwise (with appropriate modifications for the name of the driver it
; does find).
; If you're happy with the defaults, and they work for you, you can just
; delete this file. But if you want to force Valence to use a different
; driver, or you need to modify the setup in some way, you can uncomment one
; of the definition sets below and edit it as appropriate. (Only one set at
; a time may be uncommented. Only the lines from "IntProt" through "End
; IntProt" should be uncommented. The rest may be deleted.)
; Even if you don't want to use a different driver, you may get a slight
; reduction in the amount of disk access by Valence by defining the driver
; here, with its full pathname.
; If, for some reason, you want separate definitions for different nodes,
; you can copy this file to files named INTPR%o.CFG, where "%o" is the node
; number for each node. INTPR%o.CFG will be checked first; if not found,
; Valence defaults to INTPROT.CFG. If INTPROT.CFG is not found, internal
; definitions are used.
; Defining the protocols is very simple; they work just like Searchlight's
; external protocols, with metachars, @files, and so on. They are always run
; from Valence's work directory.
; In Searchlight versions under 3.0, Xmodem, Xmodem/CRC, and Xmodem/1k are
; hardwired and are always the first three protocols on the list. In version
; 3.0 and higher, they may appear anywhere in the list, or not at all, as
; you choose. In this file, "IntProt 1" corresponds to "Xmodem", whether
; you're using Searchlight 2.x or 3.0+; in both, 2 and 3 are Xmodem/CRC and
; Xmodem/1k, respectively. Internal protocol number 4, Zmodem, is only used
; in Searchlight 3.0 and up.
; The "End IntProt" lines are completely ignored by Valence, and are
; included only for (I hope) added clarity, and symmetry with COMPRESS.CFG.
; For more info on the format of this file and Valence's handling of EXEC
; shelling, please see VALENCE.ORG and my included COMPRESS.CFG.
; *** Definition Set 1 ***
; My default DSZ definitions work where I've tested them, but they're not
; optimized.
;IntProt 1 ;Internal protocol number 1 (Xmodem)
; Name Xmodem
; SendCmd dsz.com port %p sx %f
; RcvCmd dsz.com port %p rx %f
;End IntProt
;IntProt 2 ;Internal protocol number 2 (Xmodem/CRC)
; Name Xmodem/CRC
; SendCmd dsz.com port %p sx %f
; RcvCmd dsz.com port %p rc %f
;End IntProt
;IntProt 3 ;Internal protocol number 3 (Xmodem/1k)
; Name Xmodem/1k
; SendCmd dsz.com port %p sx -k %f
; RcvCmd dsz.com port %p rc %f
;End IntProt
;IntProt 4 ;Internal protocol number 4 (Zmodem)
; Name Zmodem
; SendCmd dsz.com port %p sz -r %f
; RcvCmd dsz.com port %p rz -ry
;End IntProt
; *** Definition Set 2 ***
; The second set uses the ZMODEM.EXE driver, which is designed to duplicate
; Searchlight's internal protocols. You must use a version dated February
; 23, 1993 or later. You can obtain this program from Searchlight BBS under
; the name SLZMODEM.ZIP.
; The simplest way to set up Valence's internal protocols is to copy
; ZMODEM.EXE to the same directory as VALENCE.EXE, if you don't already have
; it on the path. You may then delete INTPROT.CFG.
; Notice the use of "%e" in the definitions below; this is a metacharacter I
; invented just for ZMODEM.EXE, which translates into the directory of the
; current node's CONFIG.SL2 (the same value as in the "SLBBS" environment
; variable, if you're using one).
;IntProt 1
; Name Xmodem
; SendCmd zmodem.exe -c -sx -p%e %f
; RcvCmd zmodem.exe -c -rx -p%e %f
;End IntProt
;IntProt 2
; Name Xmodem/CRC
; SendCmd zmodem.exe -c -sc -p%e %f
; RcvCmd zmodem.exe -c -rc -p%e %f
;End IntProt
;IntProt 3
; Name Xmodem/1k
; SendCmd zmodem.exe -c -sk -p%e %f
; RcvCmd zmodem.exe -c -rk -p%e %f
;End IntProt
;IntProt 4
; Name Zmodem
; SendCmd zmodem.exe -c -s -p%e %f
; RcvCmd zmodem.exe -c -r -p%e
;End IntProt