dcj@sun.UUCP (08/14/86)
I friend of mine wants to get netnews up and running on an IBM-AT running Xenix. Is this possible? If so, where can I get the netnews software? Please respond by email. Thanks in advance for any info. Don Jackson djackson@sun.com {decwrl, ihnp4, ucbvax}!sun!djackson
glenn@c3pe.UUCP (D. Glenn Arthur Jr.) (09/13/86)
In article <6158@sun.uucp>, dcj@sun.uucp (Don Jackson) writes: > I friend of mine wants to get netnews up and running > on an IBM-AT running Xenix. Is this possible? I have a similar question. I have been trying to get news to compile on an Intel 310 running Xenix 286 3.0, without success. Any clues? D. Glenn Arthur Jr. ..!seismo!dolqci!hqhomes!glenn
plocher@puff.wisc.edu (John Plocher) (09/21/86)
In article <255@c3pe.UUCP> lenn@c3pe.UUCP (D. Glenn Arthur Jr.) writes: >In article <6158@sun.uucp>, (Don Jackson) writes: >> ... get netnews up and running on an IBM-AT running Xenix... >I have a similar question. I have been trying to get news to compile >on an Intel 310 running Xenix 286 3.0, without success. Any clues? I have Xenix 2.00 (Microsoft) on an AT, and B-news 2.10.{2,3}... Microsoft does not provide (doccument?) a way for the user to fill in the fields returned by uname(). If you define XENIX, the news sw assumes a working uname(), not their replacement code. The code in pathinit.c(AllocCpy()) does not seem to work - I get segmentation faults when it is called - use strdup() instead of AllocCpy() The C compiler (Microsoft) only allows 10 -DDEFINE items on the cc command line. Put as many -Dindex= like defines as you can into a .h file and #include it in all the .c files. The compress program won't work as is on the 286 processor and Xenix cuz of 64K segment limits... There is a hacked version which runs with MicroPort's SYS-V product, though. With the above, news compiles, but inews STILL core dumps. I'm stuck at this point, too I am considering upgrading from Xenix to MicroPort's SYS-V for the AT - I know someone who uses netnews on it who said it 'made' with no modifications to anything other than compress. Flames to ~yourname/.logout John Plocher
james@osi3b2.UUCP (James R. Van Artsdalen) (09/21/86)
In article <255@c3pe.UUCP>, glenn@c3pe.UUCP (D. Glenn Arthur Jr.) writes: > In article <6158@sun.uucp>, dcj@sun.uucp (Don Jackson) writes: > > I friend of mine wants to get netnews up and running > > on an IBM-AT running Xenix. Is this possible? > > I have a similar question. I have been trying to get news to compile > on an Intel 310 running Xenix 286 3.0, without success. Any clues? I have implemented the 2.10.3 B version of the usenet software on an IBM XT. If it can be done on an XT it can be done on anything. There were a lot of minor changes to be made to get it to work. I do not have the machine this was done on nor do I have direct access to the source right now since the machine in mind is down with a failed hard disk. Anyone wanting the changed files from the standard release can send me mail and I will put the stuff together once ahxenix is back up and get it to you somehow... In the meantime you can ask questions of me or Bob Leffler who owns ahxenix, temporarily at ...!ihnp4!mb2c!fmsrl7!cideq3!bob. -- James R. Van Artsdalen ...!ut-ngp!utastro!osi3b2!james Live Free or Die
ben@catnip.UUCP (Bennett Broder) (09/24/86)
In article <193@puff.wisc.edu> plocher@puff.WISC.EDU (John Plocher) writes: >In article <255@c3pe.UUCP> lenn@c3pe.UUCP (D. Glenn Arthur Jr.) writes: >>In article <6158@sun.uucp>, (Don Jackson) writes: >>> ... get netnews up and running on an IBM-AT running Xenix... >>I have a similar question. I have been trying to get news to compile >>on an Intel 310 running Xenix 286 3.0, without success. Any clues? > >I have Xenix 2.00 (Microsoft) on an AT, and B-news 2.10.{2,3}... > Microsoft does not provide (doccument?) a way for the user to fill >in the fields returned by uname(). If you define XENIX, the news sw >assumes a working uname(), not their replacement code. I have SCO Xenix, but will try to answer your questions. I believe that SCO Xenix is very similar to your IBM Xenix. First of all, it is pretty easy to get uname to return the correct node name. In the directory /usr/sys/conf there is a file called 'master'. Towards the end of the file, you will see a line that says: node NODE "Xenix286". Just edit your sitename in, save the file and type make to make a new kernel. Install it as /xenix, reboot and you have a working uname call. > The code in pathinit.c(AllocCpy()) does not seem to work - I get >segmentation faults when it is called - use strdup() instead of AllocCpy() I have heard a number of people complain that the uname call in pathinit messes up the stack. I believe that these people were using the medium model of the compiler. I used the small model, and my inews work just fine. If worse comes to worse, you can always use /usr/include/whoami.h code included for v7 compatibility. > The compress program won't work as is on the 286 processor and Xenix >cuz of 64K segment limits... There is a hacked version which runs >with MicroPort's SYS-V product, though. The distributed version of compress works perfectly, just define pcxt when you compile it. It only does the 12-bit compress, but that is an unfortunate side effect of the 80286 architecture. In short, don't give up. I know an awful lot of sites successfully running news under various flavours of Xenix. -- Ben Broder {ihnp4,decvax} !hjuxa!catnip!ben {houxm,topaz}/