Rexx VBBS/2 - M2Zmodem Interface Written By Cunnus ShaktI 1@509509 Vnet - Pete Link @ 1:346/35 Fidonet The Moonflower/2 OS/2 & VBBS Support BBS 3-Lines: 509-891-6148 509-891-6789 Introduction: This is a set of rexx command files that will allow the VBBS SysOp to install M2Zmodem.exe under a VBBS/2 system. M2Zmodem is an OS/2 native Z, X, & Ymodem transfer protocol driver that rivals the quality of DSZ for dos. One problem with M2Z however, is the fact that it does not write a DSZ style log file. VBBS uses this log file to figure credit deductions, ratio calculations, CPS rates, & filenames for logging purposes. What the enclosed M2zvbbs.cmd file does is convert the log file that M2Zmodem produces into a dsz style log file. (Don't expect to find the log file though, as it is deleted after each transfer.) Limitations: X & Y Modem is not implemented yet. Zmodem only. Changes from previous version: Split the file into an upload module & a download module due to conflicts with the arguments passed to the routine. M2up.cmd for uploads & m2down.cmd for downloads. Added CD-rom awareness. the m2down.cmd file can now be configured to copy files from your CD-Rom to your hard drive or a ram drive prior to download. This allows multiple nodes to access the cd-rom. this capability can also be used to significantly increase the speed of a lan-based multi-node VBBS system. Also included is vxydown.cmd, which is a rexx interface to add copy to local capability to VXY.exe downloads. configuration for this file is similar to the procedure to configure m2down.cmd. VXYDOWN.cmd is called with the exact commandline as vxy.exe Installation: 1.Copy the enclosed .cmd files to your main vbbs directory, 2.Edit the config lines near the top of the m2up.cmd & m2down.cmd files to reflect your main VBBS directory structure. The Comment lines at the top of the files MUST remain as they are in order for it to work... Also, you may also choose to edit the cdlist = & temppath = parameters. in the cdlist param you should put the drive letter, seperated by a ':' of each drive you want copied to the local drive or ramdrive for download. The temppath parameter is the partial directory name you want the files copied to. You MUST create a hold directory for each node that you run. The way to do this is like so: MD C:\VBBS\HOLD1 MD C:\VBBS\HOLD2 etc... When you edit the temppath param in the m2down.cmd file, just supply the directory name without the number. the .cmd file will append the node number to the end of the path that you specify. if you do not wish to utilize the cd-lan awareness, make these two fields blank with only the quote marks remaining. 3.Get a copy of m2zmodem - I have it available at the Moonflower/2 as "M2Z213.ZIP". Phone # 509-891-6148. 4.Unzip M2Z213.ZIP & copy the following files to your VBBS directory: M2Zmodem.exe & M2Zmodem.msg. 5.Make sure you always load VBBS/2 via the enclosed BBS.CMD file like so: bbs 1 (for node 1) bbs 2 (for node 2) etc... The bbs.cmd file (Written By David Bell) sets the DSZ environment variable that will make the whole thing work. 6.Call up Vconfig, Download config, & add the following protocol line: Batch: Key: Name: Command Line: Yes Z (Or your choice) Zmodem m2down.CMD %8 -ZS %3 7.Call up Vconfig, upload config, & add the following protocol line: Batch: Key: Name: Command Line: Yes Z (Or your choice) Zmodem m2up.CMD %8 -ZR %3 %9 The above upload commandline is changed from previous versions. Be sure you have the correct commandline! That's it! It should now work. If not email me & I will try to help. All feedback is welcome! See Ya/2! Cunnus ShaktI 1@509509 Vnet.