Newsgroups: comp.os.minix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!flatlin!ptavv!ralf From: ralf@ptavv.ka.sub.org (Ralf Wenk) Subject: Re: MacMinix / UUCP Help Please Message-ID: <1991Jun1.233626.02516@ptavv.ka.sub.org> Date: Sat, 1 Jun 1991 23:36:26 GMT References: <1991May21.120721.19016@ukpoit.co.uk> <1991May22.200116.00948@ptavv.ka.sub.org> Lines: 34 In article <1991May21.120721.19016@ukpoit.co.uk> paul@ukpoit.co.uk (Paul Wood) writes: > My main problems are with uucico. The protocol gets hung while retrying > after a failure ("RJ out of window" message). I can transfer very small > files, but anything above half-a-dozen lines of text invariably causes > a problem. > > I desperately need to contact other MacMinix/UUCP users who are trying > to do the same as me. Has anybody succeeded? It looks like I have a fix for this problem. The 'g' protocol description says that the packet number in the reject message is the number of the last correctly received packet. The MINIX uucico thinks it is the number of the rejected packet. So the between()-test looks right but fails in reality. E.g. uucico gets an ACK for packet 3, increments the "1st packet in output window" counter to 4 and now gets a reject with contains the number 3. With a window size of 3 between(4,3,7) will fail. The fix is simple because the MINIX uucico uses the "number of the rejected package" for retransmission. *** uucico.c.old Sun Jun 1 22:57:10 1991 --- uucico.c Sat Jun 2 00:05:40 1991 *************** *** 1968,1969 **** --- 1968,1970 ---- printmsg(M_MEDPROTO, "got RJ yyy=%d", yyy); + yyy = ( yyy + 1 ) & 7; /* resend packet # */ if (between(send,yyy,next)) { -- -- Ralf Wenk -- ralf@ptavv.ka.sub.org