🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Simon Shields Mon, 04 Oct 1993 23:09
nnaux line count ?
#4921
Author: Simon Shields
Date: Mon, 04 Oct 1993 23:09
22 lines
1261 bytes

Hi all

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. I
chased the nnpost procedure down to execute(SHELL,args,1) in answer.c
where one of the args[1] == "nnaux", dead end ??

I did some searching and came up with zero. 

So two questions

1.  What is nnaux ?
2.  How do I change the nnpost procedure to include a linecount in
posts ?


Thanks
-- 
Internet: simon@giaeb.cc.monash.edu.au  
Viva Cristo Rey !! Long Live Christ the King.
Re: nnaux line count ?
#4927
Author: Kristian Koehntopp
Date: Tue, 05 Oct 1993 12:10
40 lines
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..."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads