[net.lang.c] helpwith KERMIT

cgw@mruxe.UUCP (C Waldman) (07/31/86)

Is there anybody out there who can help me? I am working on a project with
a pretty tight deadline, which involves using a PC to monitor equipment in
a remote building, and having our UNIX system dial it up to retrieve the
data. Right now the file dumps are straight ASCII, but since there have
been a lot of errors on the line, and I want to split the data into 
separate files (one for weather, one for power consumption, etc) I want
to implement the KERMIT protocol-
I have a KERMIT for our UNIX machine, but need one to run on the PC (it's
an IBM, all code is in C compiled with LATTICE V3.10).  I have terminal
emulators for the PC that do KERMIT, but they don't help- I don't have
the source, and I cannot chain in the whole terminal emulator- I need 
a stand-alone KERMIT which can run without intervention from the
keyboard, etc. 

I've started trying to write my own, using the source I have for UNIX,
getting rid of all the signals, etc, that make it unusable on the PC-
but this may take longer than I have. If anyone out there has any
code, or fragments of code, that would be applicable, I would appreciate
it.

  Charles G. Waldman
  Bell Communications Research

  {ihnp4}!mruxe!cgw

Howard_Chu%UMich-MTS.Mailnet@MIT-MULTICS.ARPA (08/02/86)

The MSDOS implementation supports what is known as "server mode,"
(which the unix implementation also supports) and can simply be
left in server mode indefinitely. Then you can issue commands to
the PC Kermit from the unix Kermit. This is precisely what you seem
to be requesting by "stand-alone KERMIT which can run without
intervention from the keyboard, etc." If you send it a file, it
receives it. Automatically. If you want a file, just say "Get
 <filename>."

I'm pretty sure an executable copy is available from Columbia
University, but if not, there complete source code is online there.
I'm surprised you've gotten along with 3rd party Kermits on the PC
for so long and never actually played with the actual PC implementation
yet. In any case, it's obviously exactly what you need.

              Howard Chu
              Howard_Chu%UMich-MTS.Mailnet@MIT-Multics.ARPA
              hyc@umix.cc.umich.edu

              Every rule has an exception - except this one.

fac@burdvax.UUCP (Frank Cooley) (08/05/86)

> Xref: burdvax net.micro.pc:8954 net.sources:4803 net.wanted.sources:2567 net.lang.c:9301 net.wanted:8550
> 
> Is there anybody out there who can help me? I am working on a project with
> a pretty tight deadline, which involves using a PC to monitor equipment in
> a remote building, and having our UNIX system dial it up to retrieve the
> data. Right now the file dumps are straight ASCII, but since there have
> been a lot of errors on the line, and I want to split the data into 
> separate files (one for weather, one for power consumption, etc) I want
> to implement the KERMIT protocol-
> 
>   Charles G. Waldman
>   Bell Communications Research
> 
>   {ihnp4}!mruxe!cgw
There is a public domain kermit for the PC. I believe I pulled it off
of compuserv and it runs fine. If you can't get to compuserv or its
not there, send me a diskette and I'll put kermit on it and send it
back.

Frank Cooley
SDC
p.o. box 517
Paoli,Pa. 19301
hplabs!sdcrdcf!burdvax!fac