*BSD News Article 31998


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!library.ucla.edu!news.mic.ucla.edu!ux1.lmu.edu!cwis.unomaha.edu!burgessd
From: burgessd@cwis.unomaha.edu (Dave Burgess)
Newsgroups: comp.os.386bsd.questions
Subject: Re: ash 1.1R and trn's Pnews
Date: Thu, 23 Jun 1994 15:31:02 GMT
Organization: Dave's house in Omaha
Lines: 30
Message-ID: <burgessd.3.008D646E@cwis.unomaha.edu>
References: <1994Jun13.040754.17764@kosman.uucp> <2u5hnf$svv@pdq.coe.montana.edu> <2u6uet$q1d@iaehv.iaehv.nl> <2u7p5p$6h3@pdq.coe.montana.edu> <2u9a2j$4pv@iaehv.iaehv.nl>
NNTP-Posting-Host: 143.250.10.73
X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]

In article <2u9a2j$4pv@iaehv.iaehv.nl> devet@iaehv.iaehv.nl (Arjan de Vet) writes:
>From: devet@iaehv.iaehv.nl (Arjan de Vet)
>Subject: ash 1.1R and trn's Pnews
>Date: 22 Jun 1994 14:16:19 +0200

>In article <2u7p5p$6h3@pdq.coe.montana.edu>,
>Nate Williams <nate@bsd.coe.montana.edu> wrote:

>>Well speaking as the most prolific poster to the *bsd lists (based on
>>a quick survey done earlier), I can safely say that ash under FreeBSD
>>works fine with trn's Pnews. :-)

>Ash from 1.1R still lets Pnews think that *all* groups are moderated
>groups, exactly the bug I was referring too. This is with Pnews from the
>original trn 3.5 distribution (don't tell me you've patched Pnews to work
>around this bug. That's cheating! :-).

The problem  with trn's Pnews is not an 'ash' problem, it is an 'awk' problem. 
The comment lines at the beginning of the moderators file are translated to 
blank lines, which causes the shell script to not make the connection.  If 
these blank lines are removed from the variable (I don't know which variable 
it is) then the moderation part of the program works just fine.

Now, if multi line variables are not 'correct' then moderator posting will 
never work, since the first thing that the variable will have in it is a null 
field.  Personally, I would rather see awk fixed.

P.S.  This is all working without a net.  In Pnews, it is the part marked with 
'This is hacked to work with <somebody's> awk'