[comp.unix.i386] Patches for NEWS 2.11.19

src@eliabel.sf.ca.us (08/18/90)

Here are the patches for News 2.11.19 (Patchlevel 19). Watch for
the pathnames! They are setup for my machine and not a standard
distributiion...

Eric P. Meyer
ELIABEL Corp.
emeyer@eliabel.sf.ca.us

diff src/Makefile ../../news/src/Makefile
11c11
< OSTYPE = v7
---
> OSTYPE = usg
14c14
< HOME=	exptools
---
> HOME=	src
24,27c24,27
< SPOOLDIR = /usr/spool/news
< BATCHDIR = /usr/spool/batch
< LIBDIR = /usr/lib/news
< BINDIR = /usr/local/bin
---
> SPOOLDIR = /osql/news/news
> BATCHDIR = /osql/news/batch
> LIBDIR = /osql/news/lib
> BINDIR = /u/bin
29c29
< UUXFLAGS = -r -n -z -gd
---
> UUXFLAGS = -r 
32c32
< SPOOL_DISK = /usr/spool
---
> SPOOL_DISK = /osql/news
36c36
< LNRNEWS = ln -s
---
> LNRNEWS = ln
59d58
< INSCOMPRESS= rm -f $(DESTDIR)$(LIBDIR)/compress; ln -s /usr/ucb/compress $(DESTDIR)$(LIBDIR)/compress
61d59
< COMPRESS=
65,66d62
< #BSD4_2 VFORK=
< VFORK=
68,71c64,68
< CFLAGS = -O ${DEBUG} -DDBM ${DEFS} ${SCCSID} ${VFORK} ${NETINCLUDE}
< LFLAGS = ${DEBUG}
< LIBS = -ldbm
< LINTFLAGS = -chba -DDBM ${DEFS} ${NETINCLUDE}
---
> IBMFLAGS =
> CFLAGS = ${DEBUG} -O $(IBMFLAGS) -DUSG -Dindex=strchr -Drindex=strrchr ${DEFS} ${SCCSID} ${VFORK} ${NETINCLUDE}
> LFLAGS = ${DEBUG} -s -i $(IBMFLAGS)
> LIBS =
> LINTFLAGS = -DUSG ${DEFS} ${NETINCLUDE}
76c73
< TERMLIB = -ltermlib
---
> TERMLIB = -lcurses
81c78
< MISC = uname.o ${CLIENTLIB}
---
> MISC = ftime.o ${CLIENTLIB}
diff src/defs.h ../../news/src/defs.h
35c35
< #define ROOTID	101	/* uid of person allowed to cancel anything	*/
---
> #define ROOTID	10	/* uid of person allowed to cancel anything	*/
38,41c38,41
< #define DFLTEXP	30L*DAYS	/* default no. of seconds to expire in		*/
< #define HISTEXP	8L*WEEKS	/* default no. of seconds to forget in		*/
< #define DFLTSUB "all"	/* default subscription list	*/
< #define TMAIL	"/usr/ucb/Mail"	/* Mail program that understands -T	*/
---
> #define DFLTEXP	2*WEEKS	/* default no. of seconds to expire in		*/
> #define HISTEXP	4*WEEKS	/* default no. of seconds to forget in		*/
> #define DFLTSUB "general,all.announce"	/* default subscription list	*/
> #define TMAIL	"/usr/bin/mailx"	/* Mail program that understands -T	*/
43,44c43,44
< #define PAGE	"/usr/ucb/more"	/* Default pager			*/
< #define NOTIFY	"usenet"	/* Tell him about certain ctl messages	*/
---
> #define PAGE	"/usr/bin/more"	/* Default pager			*/
> #define NOTIFY	"news"	/* Tell him about certain ctl messages	*/
46,48c46,48
< #define DFTXMIT	"uux - -r -z -gd %s!rnews < %s" /* your uux can't do it	*/
< #define UXMIT	"uux -r -z -gd -c %s!rnews '<' %s" /* If uux -c is ok	*/
< #define DFTEDITOR "vi"		/* Default editor, see also postnews.	*/
---
> #define DFTXMIT	"uux - -r -z %s!rnews < %s" /* your uux can't do it	*/
> #define UXMIT	"uux -r -z -c %s!rnews '<' %s" /* If uux -c is ok	*/
> #define DFTEDITOR "/usr/bin/vi"		/* Default editor, see also postnews.	*/
52c52
< #define SPOOLNEWS		/* Spool incoming rnews, don't process	*/
---
> /* #define SPOOLNEWS		/* Spool incoming rnews, don't process	*/
55,56c55,56
< #define INTERNET		/* Internet mail works locally		*/
< #define MYDOMAIN ".mpk.ca.us"	/* Local domain				*/
---
> /* #define INTERNET		/* Internet mail works locally		*/
> #define MYDOMAIN ".UUCP"	/* Local domain				*/
59c59
< /* #define UNAME		/* If uname call returns your nodename  */
---
> #define UNAME		/* If uname call returns your nodename  */
68c68
< #define BSD4_2		/* If you are running 4.2  or 4.3 BSD	*/
---
> /* #define BSD4_2		/* If you are running 4.2  or 4.3 BSD	*/
70c70
< /* #define LOCKF		/* If you have the lockf() sys call */
---
> #define LOCKF		/* If you have the lockf() sys call */
76,78c76,78
< /* #define DIRENT		/* use struct dirent instead of struct direct */
< #define RENAMESUB		/* your system has rename() in libc */
< /* #define VOID_SIGNALS		/* signal returns a void * instead of int * */
---
> #define DIRENT		/* use struct dirent instead of struct direct */
> /* #define RENAMESUB		/* your system has rename() in libc */
> #define VOID_SIGNALS		/* signal returns a void * instead of int * */
84c84
< #define MYORG "Anterior Technology, Menlo Park, CA  USA"	/* My organization.  Please	*/
---
> #define MYORG "ELIABEL Corporation"	/* My organization.  Please	*/
92,94c92,94
< #define GENERICPATH "fernwood"	/* If you are using a shared USENET/UUCP node */
< #define GENERICFROM "fernwood.mpk.ca.us"	/* If you want generic From:-addresses */
< #define NICENESS	4	/* does a nice(NICENESS) in rnews */
---
> /* #define GENERICPATH "frooz"	/* If you are using a shared USENET/UUCP node */
> /* #define GENERICFROM "Frobozz.COM"	/* If you want generic From:-addresses */
> /* #define NICENESS	4	/* does a nice(NICENESS) in rnews */
98c98
< #define ORGDISTRIB	"fernwood"	/* For organization wide control message handling */
---
> /* #define ORGDISTRIB	"froozum"	/* For organization wide control message handling */
108c108
< #define LINES	1024	/* maximum no. of lines in .newsrc		*/
---
> #define LINES	2048	/* maximum no. of lines in .newsrc		*/
110c110
< #define DEADTIME 300	/* no. of seconds to wait on deadlock		*/
---
> #define DEADTIME 45	/* no. of seconds to wait on deadlock		*/
115c115
< # define BUFLEN	512	/* standard buffer size				*/
---
> # define BUFLEN	256	/* standard buffer size				*/
117c117
< #define LBUFLEN 2048	/* big buffer size				*/
---
> #define LBUFLEN 1024	/* big buffer size				*/
diff src/virtterm.c ../../news/src/virtterm.c
19a20,24
> #ifdef i386
> #include <sys/tty.h>
> #include <sys/sioctl.h>
> #include <sys/pty.h>
> #endif