Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!psuvax1!vu-vlsi!devon!paul From: paul@devon.UUCP (Paul Sutcliffe Jr.) Newsgroups: comp.unix.xenix Subject: Re: How to get readnews working... Message-ID: <391@devon.UUCP> Date: Sat, 5-Sep-87 12:16:47 EDT Article-I.D.: devon.391 Posted: Sat Sep 5 12:16:47 1987 Date-Received: Sun, 6-Sep-87 09:37:46 EDT References: <427@polyslo.UUCP> <149@uvrs.littlei.UUCP> Reply-To: paul@devon.UUCP (Paul Sutcliffe Jr.) Organization: Devon Computer Services, Allentown, PA Lines: 60 Keywords: news xenix rn Summary: you'se guys (sic) are missing something In article <149@uvrs.littlei.UUCP> vrs@.UUCP (Vincent R. Slyngstad) writes: > In article <427@polyslo.UUCP>, mdella@polyslo.UUCP (Marcos R. Della) writes: > > I am running an Intel 286 box (310/311 if anyone knows the peticulars) and > > have Xenix R3.4 running currently on it. I just got copies of the news > > programs (2.10.3) but cannot get them to compile correctly at all. Has > > anyone created a localize.sh for this peticular configuration (or any > > configuration close to it)? If so, could you please drop me a line at > > the bottom address (not the same as the above address)... > > Here is the localize.sh that we use on the sources for our > XENIX box. The news sources are as they were distributed > over the net with patches 1 thru 5 applied. > ---------- cut here ----------- > rm -f Makefile > cp Makefile.dst Makefile > chmod u+w Makefile > ed - Makefile <<'EOF' > g/^#USG /s/// > g/ #NOTVMS/s/// > g/^#V7/d > g/^#BSD/d > g/^#VMS/d [ rest of localize.sh deleted to save space ] Hmm. I seen several messages passed back and forth on the net lately on the subject of getting news working on various version of XENIX. [ By the way: I wish people would remember that there are many different Xenix's out there. IE: sizeof(xenix_universe) != sizeof(xenix_v_286). Xenix runs on (gasp!) MC68000's too (and doesn't have those segmentation problems there, either)!! But I digress... ] Almost everyones Makefile defines USG and undefines V7. I created the news software here (Tandy Xenix 3.1.2) by defining V7. I have my reasons. For one thing, there is code used by readnews and vnews that looks at your mailbox, and tells you when you have mail. This applys to RN, too. Defining USG tells the code that the system mailbox directory is /usr/mail. Xenix uses the older (V7) /usr/spool/mail. So by defining USG, you are effectively disabling the tell-the-user-(s)he-has-new-mail feature, since the code will not find your mailbox. There are other examples, but you should get the picture. The point is that even though Xenix is supposed to be SYS3 compatable (versions 3.x) or SYSV compatable (V/286, V/386), there are many V7 things still there, so take heed! - paul By the way (again): Marcos said he was trying to get news 2.10.3 running on his Intel box, and Vincent sent his localize.sh for news "as distributed over the net". Since the only news software ever posted was version 2.11, I am assumming that Vincent is running ver 2.11 (patchlevel 5, as he stated), so the localize.sh he sent to Marcos my not work as advertised (for Marcos, at least!). -- Paul Sutcliffe, Jr. UUCP (smart): paul@devon.UUCP UUCP (dumb): ...{seismo,ihnp4,cbosgd}!bpa!vu-vlsi!devon!paul