Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.news.b Subject: Re: suggested enhancement to rn Message-ID: <1527@sdcrdcf.UUCP> Date: Mon, 3-Dec-84 20:07:17 EST Article-I.D.: sdcrdcf.1527 Posted: Mon Dec 3 20:07:17 1984 Date-Received: Thu, 6-Dec-84 03:22:20 EST References: <319@qantel.UUCP> <609@umn-cs.UUCP> <1502@sdcrdcf.UUCP> <504@uwmacc.UUCP> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Distribution: net Organization: System Development Corp. R+D, Santa Monica Lines: 26 Summary: In article <504@uwmacc.UUCP> bllklly@uwmacc.UUCP (Bill Kelly) writes: >In article <1502@sdcrdcf.UUCP> lwall@sdcrdcf.UUCP (Larry Wall) writes: >>If your site name is missing from the Xref line, or does not agree with >>the site name known by rn, rn will ignore the line. To discover rn's idea >>of the sitename, type /H. > >If you're doing funny things with site names, as we are, be sure to check >this out. For various reasons our site name (as printed by hostname and >returned by gethostname() on 4.2BSD) is different from our uucp site name. >If yours is too, and you are seeing the same articles in different newsgroups, >check rn's config.h file to see if GETHOSTNAME is #define'd. It normally >*is* defined by Configure if you're using 4.2BSD. Remove that line and rn >will then use the name #defined'd as SITENAME. (Also look at DOUNAME, >WHOAMI, and PHOSTNAME, which define alternate ways to get the host name. >They are used in intrp.c) Patch #29 makes rn check the Xref system name against the site name mentioned on the Relay-Version line, rather than against the site name that rn knows. This fixes the bug once and for all. It even lets you run rn on articles installed by inews on a different machine, as in a local-area network with news on a remote file system, without lying to rn as to what system you are really on. See net.sources.bugs. Kudos to seismo!rick and sdcrdcf!jonab for suggesting this approach. Larry Wall {allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall