From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 28-JUL-1994 15:39:32.80 To: EVERHART CC: Subj: Re: zmodem for VMS ? From: rsimms@hubcap.clemson.edu (Robert Simms) X-Newsgroups: comp.os.vms Subject: Re: zmodem for VMS ? Date: 27 Jul 94 19:22:24 GMT Organization: Clemson University Lines: 81 Message-Id: Nntp-Posting-Host: hubcap.clemson.edu To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET jwitt@orion.it.luc.edu (Jonathan L. Witt) writes: >I found zmodem at: ftp.rz.uni-ulm.de in /pub/VMS/communication/zmodem.zip. >This includes already compiled executable files that ran fine (so far) >on my system. >jon. This is version 3.03 -- not the best. Various Zmodem source code can be found at the following locations: SZ version Location ---------------- ---------------------------------------------- 1.23 and 1.36 apocalypse.engr.ucf.edu:usr/ssd/oldzmodem.tar.Z 1.36 08-31-87 emx.cc.utexas.edu:pub/mnt/source/comm/zmodem 1.36 08-31-87 ccadfa.cc.adfa.oz.au:pub/net/zmodem.tar.Z 1.36 08-31-87 reseq.regent.e-technik.tu-muenchen.de 1.36 08-31-87 morticia.cnns.unt.edu:pub/src/zmodem.tar.Z 1.36 08-31-87 theory.tc.cornell.edu:pub/zmodem.tar.Z 1.36 08-31-87 qiclab.scn.rain.com:pub/network/zmodem.tar.Z 1.36 08-31-87 einstein.mse.lehigh.edu:tars/zmodem.tar.Z 3.03 05-09-89 chalmers.se:.gopher/pub/unix/telecomm/zmodem.tar.Z 3.03 05-09-89 ee.utah.edu:Comm/Rzsz/ 3.03 05-09-89 faui80.informatik.uni-erlangen.de:pub/misc/zmodem.tar.Z 3.03 05-09-89 ftp.rz.uni-ulm.de:pub/VMS/communication/zmodem.zip 3.07 02-02-90 hsdndev.harvard.edu:pub/stuff/zmodem.tar.Z or zmodem.tar 3.07 02-02-90 tolsun.oulu.fi:pub/unix/rzsz-3.07.tar.Z 3.07 02-02-90 plains.nodak.edu:pub/unix/rzsz3-07.lzh 3.11 02-26-91 qiclab.scn.rain.com:pub/network/rzsz.tar.Z The last version that worked with Procomm Plus was 3.07. Version 3.07 of SZ doesn't do wildcards on VMS, so a command procedure workaround is called for there. Instructions for compiling on VMS are in the headers of sz.c and rz.c (3.07). The version at plains.nodak.edu has what appears to be Amiga executables included in the archive. The version at hsdndev.harvard.edu has readable man pages included for VMS users. - Rob P.S. We need to include the copyright notice (found in zmr.c) with any executable file distributions in order to stay out of trouble. -------------------------------the command procedure----------------------- ! ZMOD.COM -- assumes that you have a symbol defined that runs ! sz.exe, i.e. "SZ" == "$disk:[mydir.prog]sz.exe" ! $ p1 = F$PARSE(p1,"*.*") ! This line supplies * for missing fields. ! so you can use either .txt or myprog ! and asterisks will be provided to make *.txt ! and myprog.* Or if no parameter is given ! then "" becomes "*.*" $ file = F$SEARCH(p1) ! this command returns (in turn) files matching ! the filespec in the symbol P1 (command line ! parameter 1) The set of such filenames is ! referred to as a stream. $loop: $ IF file .EQS. "" THEN GOTO done ! if no files matching, or at end ! of stream, then exit the loop $ oldfile = file $ sendfile = F$PARSE(file,,,"NAME") +F$PARSE(file,,,"TYPE") $ WRITE sys$output "Sending ", sendfile $ sz 'sendfile' $ ! above takes only filename and extension ! PCPLUS for instance croaks on directories ! and version numbers $ file = F$SEARCH(p1) ! Get next filename in the stream $ IF file .NES. oldfile THEN GOTO loop ! avoid special case when ! there's only one file matching ! the spec, and you get into ! and endless loop with F$SEARCH $done: $ EXIT ------------------------------the end of this message--------cut here---------