[comp.sys.apple] Running Kermit 3.82 from PROSEL

JDA@NIHCU.BITNET (Doug Ashbrook) (04/20/88)

Help!! I have been going crazy trying to setup Kermit 3.82 so that I
can easily run it from PROSEL.  I already had Kermit 3.78 running in
this manner but life seems to be much more difficult in the newer
versions of Kermit.  I do recall reading that Ted Medin had made some
changes related to the "prefix" in Kermit and I suppose that these
changes could be the cause of my problems.  Maybe someone can offer a
better solution (mousetrap?) than the klude that I finally adopted.

My disk is setup as follows (for simplicity, some files have been
omitted):

      /MYVOL/
          PRODOS
          PROSEL.SYSTEM
          PROSEL
          BASIC.SYSTEM
          /KERMIT/
               KERMIT.INIT
               KERMIT.MODEM
               KERMIT              (Kermit 3.78)
          /KERMIT.3.82/
               KERMIT.MODEM
               KERMIT382           (Kermit 3.82)
               KERMIT.INIT
               RUN.KERMIT          (BASIC program)

With the PROSEL editor, I specified the following information for
Kermit 3.78 (which works fine):

     Prefix:        ?
     Pathname:      ]
     Startup:       KERMIT/KERMIT

Both the KERMIT.INIT and the KERMIT.MODEM files can be read by
Kermit.  Moreover, if you issue the SHOW PREFIX command, Kermit 3.78
responds with /MYVOL/KERMIT/.  So the logical setup for Kermit 3.82
would seem to be:

     Prefix:        ?
     Pathname:      ]
     Startup:       KERMIT.3.82/KERMIT382

This executes version 3.82, but Kermit reports an error when it
attempts to read the KERMIT.INIT file.  If you issue the SHOW PREFIX
command, Kermit responds with only /MYVOL/.

After trying everything I could think of to run Kermit directly, I
finally resorted to writing a 2 line BASIC program:

     10  PRINT CHR$(4) "PREFIX KERMIT.3.82"
     20  PRINT CHR$(4) "BRUN KERMIT382"

I saved this program as RUN.KERMIT in the /KERMIT.3.82/ subdirectory
and changed the PROSEL information to be:

     Prefix:        ?
     Pathname:      ]
     Startup:       KERMIT.3.82/RUN.KERMIT

Now Kermit 3.82 works fine, but I will have to edit the BASIC program
each time I install a new version of Kermit.  Does anyone have a
explanation of why the two different versions of Kermit behave
differently?

-------------------------------------------------------------------
J. Douglas Ashbrook                                  (301) 496-5181
BITNET: JDA@NIHCU            ARPA: jda%nihcu.bitnet@cunyvm.cuny.edu
National Institutes of Health, Computer Center,  Bethesda, MD 20892

JDA@NIHCU.BITNET (Doug Ashbrook) (04/21/88)

Joe (craparotta%kyoa.DEC@decwrl.dec.com) suggested a technique which
provided me with the result that I was looking for.  His suggestion
was to BRUN KERMIT382, then issue the Kermit command SET PREFIX
/MYVOL/KERMIT.3.82.  Next issue the Kermit command EXIT to get back
to the APPLESOFT prompt and then do a BSAVE KERMIT382,A$1000,L$6F00.
I tried this and it works great!  Now each time I execute Kermit, the
prefix is set to point to the subdirectory that contains the
KERMIT.INIT and KERMIT.MODEM files.

Ted Medin was also kind enough to respond.  He suggested that I move
the KERMIT.INIT and KERMIT.MODEM files to the root directory.  This
would also have worked, but I prefer the other solution.

I thank both gentlemen for their prompt and helpful responses.

-------------------------------------------------------------------
J. Douglas Ashbrook                                  (301) 496-5181
BITNET: JDA@NIHCU            ARPA: jda%nihcu.bitnet@cunyvm.cuny.edu
National Institutes of Health, Computer Center,  Bethesda, MD 20892