[comp.sys.amiga] VT100 kermit mods

acs@amdahl.UUCP (06/03/87)

I've been having snaky problems with kermit transfers from my Amiga
running VT100 R2.6 to our machine at work running C-Kermit in server
mode. My Amiga would hang after xferring the first file -- the only way
out is C-A-A.  Looking through kermit.c I found one error in calling
spack() and a mess of type mismatches (spack's last parm should be a
pointer and in these cases it was being passed an int 0).  What follows
are the diffs. It works for me.

BTW, the last diff (a change to line 838) fixes the error -- the caller
left out the last parameter.

Tony Sumrall acs@amdahl.amdahl.com <=> ...!{ihnp4,hplabs,seismo}!amdahl!acs

[ Opinions expressed herein are the author's and should not be construed
  to reflect the views of Amdahl Corp. ]

diff kermit.c kermit.new.c:
401c401
<    else  spack('N',n,0,0);
---
>    else  spack('N',n,0,"");
416c416
<          spack('N',n,0,0);
---
> 	 spack('N',n,0,"");
442c442
<             spack('Y',num,0,0);
---
> 	    spack('Y',num,0,"");
471c471
<          spack('Y',n,0,0);
---
> 	 spack('Y',n,0,"");
481c481
<          spack('Y',n,0,0);
---
> 	 spack('Y',n,0,"");
488c488
<          spack('N',n,0,0);
---
> 	 spack('N',n,0,"");
513c513
<          spack('Y',n,0,0);
---
> 	 spack('Y',n,0,"");
521c521
<          spack('Y',n,0,0);
---
> 	 spack('Y',n,0,"");
530c530
< 	     spack('Y',num,0,0);
---
> 	     spack('Y',num,0,"");
538c538
<          spack('N',n,0,0);
---
> 	 spack('N',n,0,"");
838c838
<     spack('E',n,strlen(msgpkt));
---
>     spack('E',n,strlen(msgpkt),msgpkt);
End of: diff kermit.c kermit.new.c
-- 
Tony Sumrall acs@amdahl.amdahl.com <=> ...!{ihnp4,hplabs,seismo}!amdahl!acs

[ Opinions expressed herein are the author's and should not be construed
  to reflect the views of Amdahl Corp. ]