[news.software.b] C News compatibility issue

lear@turbo.bio.net (Eliot) (03/20/91)

I support a news reader that requires an entry in the sys file as
such:

artfile:all/all:H:afinsert "%s"

Regrettably, C News doesn't implement the H flag, which passes the
relevant history line to afinsert.  This in itself wouldn't be fatal,
because newshist will generate the history line, and I can run it on a
wrapper to afinsert.  Is there an easy way to get the message id to
the wrapper?  I wish to avoid snooping around in the article in order
to get the message id so that I can call newshist, which would finally
give me the article location(s).  Better yet, can I have my H flag
back?
-- 
Eliot Lear
[lear@turbo.bio.net]

henry@zoo.toronto.edu (Henry Spencer) (03/21/91)

In article <Mar.20.00.10.26.1991.22120@turbo.bio.net> lear@turbo.bio.net (Eliot) writes:
>... Is there an easy way to get the message id to
>the wrapper?

If you don't mind going through the batcher, there are several flags that
will get the message ID into the batch file.  Particularly if your sys
entry is really "all/all" as you depicted it, having a program process
a whole batch file full of articles is also probably a lot faster than
running the program once per article.

I can't immediately think of anything otherwise, although the fine points
of this stuff are Geoff's department.
-- 
"[Some people] positively *wish* to     | Henry Spencer @ U of Toronto Zoology
believe ill of the modern world."-R.Peto|  henry@zoo.toronto.edu  utzoo!henry

lear@turbo.bio.net (Eliot) (03/21/91)

Nevermind.  Was hacking too late.  I've actually reimplemented the
H flag for performance reasons (too many context switches makes Johny
a dull boy...)

-- 
Eliot Lear
[lear@turbo.bio.net]