[comp.sys.zenith.z100] simtel20 to vax ftping revisited

LUKEN@LEHIIBM1.BITNET ("Kenneth R. van Wyk") (01/05/88)

Recently, there was some discussion on this list about ftping binary
files from simtel20.arpa to a VAX VMS host.  Well, there's now a solution,
and a good one.  In the latest INFO-IBMPC digest, there's an announcement
of a program which converts twenex image files (36 bit) into vms image
files (32 bit).  The file, if I'm not mistaken is:

PD1:<MISC.VAXVMS>BINTNXVMS.C

There's also a BINTNXVMS.README which is rather inconsequential.

The way you use this program is to (of course) first compile the C file
into an EXE file.  (I renamed mine to SIMTEL.EXE for simplicity.)  Then,
install the EXE command as an image (or whatever the correct terminology
is).  This is simpler than it sounds, just type:

BINTNXVMS :== $[yourdir]BINTNXVMS.EXE

I put this in my LOGIN.COM file.  Finally, you're ready to FTP the file(s)
you want.  Here's an example (using CMU TCP/IP package):

FTP SIMTEL20.ARPA
LOGIN ANONYMOUS
your name
GET PD1:<MSDOS.EGA>EGAROIDS.ARC /TYPE=IMAGE
EXIT

You will now have, in this case, a file called EGAROIDS.ARC in your VAX
account.  Previously, this file was useless because it was actually
transferred as a 36 bit image onto your 32 bit VAX.  Now, however, you
can type:

BINTNXVMS EGAROIDS.ARC

...and the program will convert it into a VMS binary file which you can then
Kermit or FTP to your micro (in binary mode) and unarc.

WARNING:  The program, as distributed, assumes a filename of *.* if you don't
specify a filename.  Being overly anxious, I tried to run the program before
reading the docs contained in the source code, and neutered a whole bunch of
my files.  It does nasty nasty things to text files!  I changed to source
code to assume a file of FOO.BAR if no filename was specified.  Just search
for the "*.*" in the source and change it to whatever...

That's it.  This message has gotten a lot longer than I intended.  I apologize
for that.  Hope it's of some use to HZ-100 users who want to access Simtel20
from a VAX host!

Ken

------------------------------------------------------------------------
= Kenneth R. van Wyk                   = If found wandering aimlessly, =
= User Services Senior Consultant      =   please feed and return...   =
= Lehigh University Computing Center   =-------------------------------=
= Internet: <LUKEN@VAX1.CC.LEHIGH.EDU> =        That's the news,       =
= BITNET:   <LUKEN@LEHIIBM1>           =      And I'm out of here!     =
------------------------------------------------------------------------