[comp.sys.amiga] NEED HELP WITH VT100 V2.9 AND KERMIT

rthorstr@sleepy.bmd.trw.com (01/26/91)

  I am trying to figure out how to use VT100 V2.9 for transferring files
  from my A2000 to a VAX running under VMS.  
  The steps I tried to accomplish are as follows:
    1. I set the Protocol to KERMIT.
    2. I selected the "change directory" option and set the
       directory to workdisk:TRW
                       ^      ^
                       |      |
                     DF1:   (directory where file resides)
  
    3. On the VAX I called kermit and issued the "RECEIVE" command.
    4. On my 2000 I Selected "SEND" and at the prompt typed the name
       of the file.  I then received an error message stating "kermit: unable
       to find file" (or something like that).
  
  Can anyone who is familiar with VT100 V2.9 and transfering files via KERMIT
  tell me what I'm doing wrong?
  
  Any help will greatly be apprciated.  Thanks in advance to any help I receive!
  
                                           Rod T.
  
                                    EMAIL -->  Rod_Thorstrom@oz.bmd.trw.com

rick@tmiuv0.uucp (01/28/91)

In article <1115.27a061e9@sleepy.bmd.trw.com>, rthorstr@sleepy.bmd.trw.com writes:
>   I am trying to figure out how to use VT100 V2.9 for transferring files
>   from my A2000 to a VAX running under VMS.  
>   The steps I tried to accomplish are as follows:
>     1. I set the Protocol to KERMIT.
>     2. I selected the "change directory" option and set the
>        directory to workdisk:TRW
>                        ^      ^
>                        |      |
>                      DF1:   (directory where file resides)
>   
>     3. On the VAX I called kermit and issued the "RECEIVE" command.
>     4. On my 2000 I Selected "SEND" and at the prompt typed the name
>        of the file.  I then received an error message stating "kermit: unable
>        to find file" (or something like that).
>   
>   Can anyone who is familiar with VT100 V2.9 and transfering files via KERMIT
>   tell me what I'm doing wrong?
>   
>   Any help will greatly be apprciated.  Thanks in advance to any help I receive!
>
>                                            Rod T.
>   
>                                     EMAIL -->  Rod_Thorstrom@oz.bmd.trw.com
I manage two Vaxen and run Amiga stuff to them all the time.  There's a
couple of things you gotta watch:

On the Vax, there's a lot of different file formats, so it depends on what
kind of file you're transferring.  If they're binary files (like .ARCs or
something, you have to send/receive the files in either FIXED (preferable)
or BINARY mode.  If they're ASCII text, then ASCII transfers are used.
Here's a step-by-step procedure:

1.  Log into the Vax using VT100.

2.  SET DEFAULT on the Vax to your desired directory.

3.  Determine whether binary or ASCII text files are to be transferred.

4.  Run Kermit on the Vax.

5.  At the "Kermit-32>" prompt on the Vax, select the file transfer mode by
    entering one of the following commands:
        Kermit-32> set file type fixed              (for binary data)
        Kermit-32> set file type ascii              (for ASCII data)

6.  Kick the Vax KERMIT into server mode by entering the following command:
        Kermit-32> server

7.  Now, using the VT-100 menus, etc., use the SEND command to send the
    file to the Vax.  Conversely, to receive a file FROM the Vax, use the
    GET command.

8.  When all of the file transfers are finished, use the VT100 "BYE" command
    to stop the Vax's Kermit server.  This will do one of three things,
    depending on the Vax's implementation of Kermit.  It will either simply
    stop the Kermit server (you'll get a new "Kermit-32>" prompt), it may
    stop the Vax's Kermit altogether (you'll get a new DCL "$" prompt), or
    it may log you off the VAX (you'll get the standard VMS logout data).

9.  Voila!  You're done.

Note that using the "fixed" type of file transfer will result in VMS files
of "fixed record length, record length 512 byte" files.  Using a "binary"
file type will end up with "variable length records, maximum length 510
bytes" files.  Using "ascii" will result in standard VMS "variable length
records with carriage return carriage control" files.  The confusing one is
"binary".  Although the records will be 512 bytes long, the first two bytes
in each record will be a 16-bit number denoting the number of bytes in the
record LESS these two bytes.  In other words, the first two bytes will be
"0xFE, 0x01".

Good luck!!
-- 
.--------------------------------------------------------------------------.
|[- O] Rick Stevens                                                        |
|  ?   EMail: uunet!zardoz!tmiuv0!rick -or- uunet!zardoz!xyclone!sysop     |
|  V   CIS: 75006,1355 (75006.1355@compuserve.com from Internet)           |
|                                                                          |
|   "Everybody has to deviate from the norm...."                           |
|                                  - Rush                                  |
|   "I guess that makes me a deviant!"                                     |
|                                  - Me!                                   |
'--------------------------------------------------------------------------`