Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!umich!ox.com!mudos!mju From: mju@mudos.ann-arbor.mi.us (Marc Unangst) Newsgroups: mi.misc,comp.unix.xenix Subject: Re: Problems with Patch and C News Message-ID: <8wokN5w162w@mudos.ann-arbor.mi.us> Date: 8 Aug 90 07:51:54 GMT References: <342@tygra.ddmi.com> Organization: The Programmers' Pit Stop, Ann Arbor MI Lines: 24 cat@tygra.ddmi.com (CAT-TALK Maint. Account) writes: > know if there is a way to enable/disable automatic rmgroups and > newgroups. I guess I'm too lazy to look through all the source code > and it didn't seem to be in the obvious places (NEWSBIN/ctl/rmgroup > and newgroup scripts). The C News sources/binaries aren't on this machine, so I can't check. It's probably something to do with the rmgroup and newgroup scripts, but I'd (you'd) have to look around. > I'm also getting problems with people running postnews (a Bourne Shell > Script) from csh. For some reason, csh doesn't see the "# !/bin/sh" > in the file and tries to execute the script itself, which fails with > a "variable syntax" error (Bourne Shell and csh use different variable > syntax). This seems to occur intermittantly in Xenix. I don't think Xenix understands the "#!/bin/sh" syntax. To be safe, replace all "#!/bin/sh" occurances with ": use /bin/sh", which works just fine. -- Marc Unangst | mju@mudos.ann-arbor.mi.us | Angular momentum makes the world go 'round. ...!umich!leebai!mudos!mju |