*BSD News Article 8939


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!sun-barr!cs.utexas.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: rzsz-3.17 (zmodem) stdio patches
Message-ID: <1992Dec15.154702.3025@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Tue, 15 Dec 1992 15:47:02 GMT
Lines: 95

For any OS.

The following patches allow zmodem 3.17 to be invoked with the  ~C
command from cu or tip.  For some reason, SunOS wants setvbuf to be
called explicitly, rather than via setbuf.  Other than that, most of
the changes are cosmetic.  rzsz-3.17 should be available on any
alt.sources archive.  It was posted about Nov 1991.  
-Andrew Moore <alm@netcom.com>

To unpack:

# uudecode <saved.mail
# zcat rzsz-diff.cpio.Z | cpio -idum

---- Cut Here ----
begin 644 rzsz-diff.cpio.Z
M'YV0Q^(8($#L'*U #P H# #@$KD6*\*L2ZA0D0 Y>N;H>2%'S!PQ+LBD,6-&
MH8J3(%[0:0/G!0LI0Z;0B0&CY@P9-A)0J5,&!)$R8T#$J $"A@T=,F[HH$$T
M1HX<,A2TF JBXT<78W3R] E4*%&C2(_6L"'T:=23:-.J5:$ +8@9,VRPF$'C
M!HBT"D"D5 $BB9LT=-*$89-&3T\Z=/* (%/&3IHQ/<V\D0-B3ADY@MF ,).&
M34\\9B[??9$71)J_B!.C2%%ZCX(0('0F!M$#Q!LX9=R@$/&"L1V5B46P "$C
MQ8[2"4:"0$%E-H^B*4"XUIL@ 6XY<B;O[MT8>!X1QO66P0,81?'CU/L@;YYG
M#ATY9<*TH;V9S.W<S!,/%W$'_''8"5A&AQAUF)%?>^_%U\9P>&!!H!G&55>:
M>GJ59@8;=<R!1AMOC+&:5%3!)1==.8 PU52EO<"77X!E5MAAL_GV6&235799
M9IMU]EEHE*E FEZG 898'A_JY1IL*LJF6&WWZ<:;;]X)1YQQKXU6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