Article View: news.software.nn
Article #4927Re: nnaux line count ?
From: Kristian Koehntopp
Date: Tue, 05 Oct 1993 12:10
Date: Tue, 05 Oct 1993 12:10
40 lines
2548 bytes
2548 bytes
In <simon.749776174@giaeb> simon@giaeb.cc.monash.edu.au (Simon Shields) writes:
>I was wondering if you could help me. I'm looking to modify the nnpost
>procedure to include a 'Lines: `wc -l $TMPFILE`' line in the header.
You are doing the right thing at the wrong place. Please check
my followup on brownwm@aplcenmp.apl.jhu.edu (William G. S.
Brown) in this group. Edit the /bin/inews shell script and look
for the string "uncomment".
>1. What is nnaux ?
nnaux is a shell script that is called by nn for auxiliary
purposes such as posting articles or sending mail. For example
it is used by the :post, followup and reply commands. nn is
using a shell script here to interface with the editor because
shell scripts can easily be hacked and adopted to local
policies (different types of editor incantations, different
.signatures and so on).
>2. How do I change the nnpost procedure to include a linecount in
>posts ?
You don't because this fixes the problem for nn, but not for
other news reading programs. Instead you change the
inews-Program (*).
Kristian
(*) inews stands for inject news and is the only way to new
articles into the news system. All newsreaders (user
agents) are using the inews command line program to
ultimately post the article. inews generates headers such
as path:, message-id: and - if you enabled this feature -
lines:.
--
Kristian Koehntopp, Harmsstrasse 98, 24114 Kiel 1, +49 431 676689
"Die Akkumulation fachspezifischer Termini ist zwar das Privileg
wissenschaftlicher Diktion, wird aber in dieser kompakten Form ad absurdum
gefuehrt..."
Technical Details
Message-ID:
<1993Oct5.121046.15954@black.toppoint.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!tpki.toppoint.de!black.toppoint.de!krisReferences:
<simon.749776174@giaeb>Show Full Headers
Complete Article Headers
Message-ID: <1993Oct5.121046.15954@black.toppoint.de> Subject: Re: nnaux line count ? Date: Tue, 5 Oct 1993 12:10:46 GMT From: kris@black.toppoint.de (Kristian Koehntopp) References: <simon.749776174@giaeb> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!tpki.toppoint.de!black.toppoint.de!kris Newsgroups: news.software.nn X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN. Organization: Toppoint Mailbox e.V. X-Copyright: (C) Copyright 1993 Kristian Koehntopp -- All rights reserved. Reproduktion, auch auszugsweise, ausserhalb elektronischer, nichtkommerzieller Datennetze nur mit ausdruecklichem, schriftlichem Einverstaendnis des Autors. Lines: 40