[comp.os.msdos.misc] MS-Kermit problem solved

acarlson@laurel.math.umass.edu (Adam Carlson) (06/14/91)

Some time ago, I posted a question to this newsgroup regarding two
things I wanted to do in kermit.  One was set kermit to use com3: and
IRQ 5 and the other was how to automatically do something upon exit
from kermit (but not when pushing to a dos shell).  I would like to
thank all who answered (Mark Granoff, Joe Doupnik, Bo Kullmar,
Margaret Wilson, Dave Mausner and Frank da Cruz) and also to apologize
for taking so long to summarize.  Anyway, for those who are still
interested: 

To set a particular port/irq/address, you do:
SET COMx <address> <irq>  (in my case, SET COM3 \x3e8 \5) and then
SET PORT COM3
(note: irq selection is only supported in 3.10)
another way to do this is to define a DOS variable called kermit with
all the set commands you want (except leave out the "set").  I.E. at
DOS say

SET KERMIT=BAUD 38400;COM3 \x3e8 \5; etc
or if you don't have room for all your defines, you can define
KERMIT1, KERMIT2 etc.

to get an exit command, define the macro ON_EXIT to whatever you want
and it will be called when kermit is quited, byed or exited.
-- 
Adam Carlson                  | It's good to know that if I behave
acarlson@math.umass.edu       | strangely enough, society will take
Statistical Consulting Center | full responsibility for me.
UMass @ Amherst               | - Ashleigh Brilliant