🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Joerg Napp Mon, 05 Aug 1991 13:19
How to get a Lines: line
#1948
Author: Joerg Napp
Date: Mon, 05 Aug 1991 13:19
15 lines
860 bytes
Is there an easy way to get a Lines: line
in the header?
I often forget to set it by hand and nn
shows ?? instead of the number of lines
in selection mode.

Thanks in advance,

Joerg

-- 
Joerg Napp, Paderborn,  Germany
e-mail: napp@uni-paderborn.de                      DG8AT

'and on the Eighth day, the Lord made a backup copy....'
Re: How to get a Lines: line
#1944
Author: Jan B. Andersen
Date: Mon, 05 Aug 1991 21:15
31 lines
1593 bytes
napp@uni-paderborn.de (Joerg Napp) writes:

>Is there an easy way to get a Lines: line
>in the header?
It's not really a nn-related problem. The Lines: header was commented out
recently in the C-news package I belive. I'll just have to check which script
I changed. Please wait...
OK I'm back. It's in /usr/lib/newsbin/inject/inews. Here's the relevant
part of the script:

lines="`                        # sop to msb, just uncomment to use
(sed 1d $inbody;        	# take out the first (blank) line
if test -r $HOME/.signature; then
        echo '-- '
        sed 4q $HOME/.signature
fi) | wc -l `"
echo Lines: $lines              # Put back in by JBA/910704

>I often forget to set it by hand and nn
>shows ?? instead of the number of lines
>in selection mode.

>Thanks in advance,

>Joerg

>-- 
>Joerg Napp, Paderborn,  Germany
>e-mail: napp@uni-paderborn.de                      DG8AT

>'and on the Eighth day, the Lord made a backup copy....'
Re: How to get a Lines: line
#1958
Author: Joerg Napp
Date: Wed, 07 Aug 1991 17:15
17 lines
1002 bytes
In <1991Aug5.131954.24235@uni-paderborn.de> I wrote:

>Is there an easy way to get a Lines: line
>in the header?

I got many answers and I know now how to fix it.

Thanks again, 

Joerg


-- 
Joerg Napp, Paderborn,  Germany
e-mail: napp@uni-paderborn.de                      DG8AT

'and on the Eighth day, the Lord made a backup copy....'
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