Starlan and RN: together at last
Kenneth Herron
kherron at ms.uky.edu
Tue Feb 19 10:36:18 AEST 1991
Thanks to all of you who replied. The problem, just as Les Mikesell
stated, was that read() from a stream device could return -1 where a
similar read from a real tty would return 0. Rn was blindly using the
returned value, resulting in an apparent read() of 2^31-1 (or so)
characters which it tried to process as commands. A fixed version
of rn has been sent to the site; they report that it works great.
Along the way I also got them a later version of kermit, which they
say also works great (but didn't fix the problem, of course).
Posting a patch to rn would be rather pointless since I wasn't even
working with the latest version, but if anyone needs more detail,
feel free to ask.
And a special thanks to Les Mikesell who, I gather, figured this out
the hard way some time back.
--
Kenneth Herron kherron at ms.uky.edu
University of Kentucky (606) 257-2975
Department of Mathematics
"Never trust gimmicky gadgets" -- the Doctor
More information about the Comp.unix.sysv386
mailing list