Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!hp-pcd!orstcs!hakanson From: hakanson@orstcs.UUCP (hakanson) Newsgroups: comp.unix.questions Subject: Re: Help with UUCP Message-ID: <217000003@orstcs.UUCP> Date: Fri, 9-Jan-87 15:51:00 EST Article-I.D.: orstcs.217000003 Posted: Fri Jan 9 15:51:00 1987 Date-Received: Sun, 11-Jan-87 23:08:48 EST References: <2051@brl-adm.UUCP> Organization: Oregon State University - Corvallis, OR Lines: 47 Nf-ID: #R:brl-adm:-205100:orstcs:217000003:000:1883 Nf-From: orstcs!hakanson Jan 9 12:51:00 1987 Oh boy, a controversy! Well, a disagreement, anyway. >/* Written 4:16 pm Jan 5, 1987 by jim@otto in orstcs:comp.unix.ques */ >In article <217000001@orstcs.UUCP> hakanson@orstcs.UUCP (hakanson) writes: >. . . >> >>From looking at the sources in 4.2bsd (and 4.3bsd, I presume), I found >>that the minimum retry time is 5 minutes, even if you set it smaller. >>I think the default was about 60 minutes, but I may have misremembered. >>At any rate, this will probably be different on non-BSD uucp's.... >> >(Opps.) > >Well, under 4.2 bsd and Sun3.0 Setting Any,1 or even Any,0 >will work as expected. The DEFAULT retry time is 5 min. >Read the source a little closer. >. . . >/* End of text from orstcs:comp.unix.ques */ Well, I did read the source a little closer, and it turns out I was right in the first place (at least, with respect to the fairly vanilla 4.2bsd source on our VAX (now running 4.3bsd)). From conn.c: /* global variable Retrytime is set here */ if ((p = index(s, ',')) == NULL) { Retrytime = RETRYTIME; } else { i = sscanf(p+1, "%d", &rtime); if (i < 1 || rtime < 5) rtime = 5; Retrytime = rtime * 60; } The DEFAULT is RETRYTIME (55 minutes). If the value given after the "," is invalid or if it is less than 5, then 5 will be used. Note that the code for 4.3bsd is almost identical, except that the check for "rtime < 5" is changed to "rtime < 0", and this change may have made it into later releases of 4.2bsd (so it seems likely that we are both right). Interestingly, it behaves differently if there is no "," than if there is a "," with nothing following it (";" for 4.3bsd) -- I suppose this might be considered a feature by some. Well, at least the memory (mine) hasn't flaked out this time.... Marion Hakanson CSnet: hakanson%oregon-state@csnet-relay UUCP : {hp-pcd,tektronix}!orstcs!hakanson