Problems with Patch and C News

Marc Unangst mju at mudos.ann-arbor.mi.us
Wed Aug 8 17:51:54 AEST 1990


cat at 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 at mudos.ann-arbor.mi.us  | Angular momentum makes the world go 'round.
...!umich!leebai!mudos!mju |



More information about the Comp.unix.xenix mailing list