Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!hao!hplabs!sri-unix!Wegeng.Henr@XEROX.ARPA From: Wegeng.Henr@XEROX.ARPA Newsgroups: net.unix Subject: Re: News Software on the 11/23 Message-ID: <141@sri-arpa.UUCP> Date: Mon, 23-Apr-84 09:13:00 EDT Article-I.D.: sri-arpa.141 Posted: Mon Apr 23 09:13:00 1984 Date-Received: Mon, 30-Apr-84 05:47:40 EDT Lines: 20 From: Don Wegeng If your version of Unix has the capability to overlay user programs try that method. I got an earlier version of news to run on an 11/34 running Xenix with this method. When I first compiled the code I would get core dumps, which revealed (via adb) that many of the automatic variables in the routine which crashed were not being saved on the stack, which I interpreted to mean that the top was being blown off the stack. Thru several iterations I was able to make it work by declaring lots of variables (especially arrays) static. I realize that this can be dangerous if the code is recursive, but there wasn't much else to do. I guess that the authors didn't intend for this code to run on a small 11. Maybe the next version of news will be more portable. Don Wegeng Xerox, Webster NY Wegeng.Henr@Xerox.ARPA rocks34!dw