[comp.archives] [comp.sources.bugs...] RN Patch #48

rrn@lib.tmc.edu (Stan Barber) (11/19/90)

Archive-name: rn/10-Nov-90
Original-posting-by: rrn@lib.tmc.edu (Stan Barber)
Original-subject: RN Patch #48
Archive-site: gazette.bcm.tmc.edu [128.249.2.2]
Archive-directory: /public/rn
Reposted-by: emv@ox.com (Edward Vielmetti)

Description:
	This is an official patch for rn 4.3. This is patch 48.

	If you need the other patches, you can get them via the Archive Server
	by sending mail to "archive-server@bcm.tmc.edu" with the subject line
	of the form "send public rn.XX.patch". Note that only patches 41 and
	later are available from this resource at this time.

	The fully patched rn kit is also available via anonymous ftp from
	lib.tmc.edu and gazette.bcm.tmc.edu. Look in public/rn.

	This patch fixes the following problems or adds the following new
	features:

	Modified Configure to detect the presence of /usr/include/sys/ptem.h
	and modfied common.h to include it if present. This fixes problems
	with late versions of System V.3 that have support for pseudo-terminals
	with windows that might change size. (/usr/include/sys/stream.h is
	included as well.)

	Altered Configure to be smarter about determining if a system was USG
	or not. This is very helpful with the large number of USG machines
	that have certain features of BSD in them, but not quite enough to
	make the purely BSD version of rn/rrn work.

	Added another response when rn asks to add newsgroups. Answering the
	question with a capital Y will add all new newsgroups to the end of
	the .newsrc. Actually, this worked for regular rn users before patch
	48, but now it works for NNTP users and is in the manual page.

	Altered the logic for how rrn determined if a new group came into
	being. It is now much more reliable about making this determination.

	Added logic to make rn/rrn abort rewriting the .newsrc if there is no
	disk space in which to write it. It will now just restore the old
	.newsrc and exit.

	Altered Configure and util.c to hopefully get the usage of getwd()
	and getcwd() straight.

	Fixed Pnews.header to search a USG style password file correctly.

	Increased the size of LBUFLEN from 512 to 1024.

	

This version has been sucessfully compiled and used as rrn on the following
systems:
	IRIS 4D running IRIX 3.3
	Unisys 5000/50 running System V.2
	Wyse 386 running SCO Xenix 2.3 (with TCP 1.0)
	Sun 3/4 running SunOS 4.1
	Solboune 5/600 running OS/SMP 4.0D
	Generic 386 with Interactive System V/386 Release 3.2

This version has been run as rn on a VAX running Ultrix 3.1.
Fix:
	cd to your rn source directory and patch away

Index: Configure
[Actual patch follows in original article.  --Ed.]