🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Jim Jagielski Mon, 27 Jan 1992 17:45
Having nn display a header _not_ included in it's internal list
#2396
Author: Jim Jagielski
Date: Mon, 27 Jan 1992 17:45
22 lines
1633 bytes
There's a new header floating around that's inserted by newer versions of
inews: it's the Orginator header line and it's included to display who
_really_ sent a posting (it's easy to fake From:... then again it's just
as easy to fake Originator: :).

Anyway, there seems to be no way to have nn display this header without, as
far as I can tell, some coding to include Originator as a header line
in the source (as well as tracking where the 'news' structure is used|passed
thru-out nn).

Or is there some way of having nn display all headers, that is, all lines of
the form:

Xxxxxxxx: 
-- 
==============================================================================
#include <std/disclaimer.h>

              Jim Jagielski                    NASA/GSFC, Code 711.4
          jim@jagubox.gsfc.nasa.gov               Greenbelt, MD 20771

       "If we took the bones out, it wouldn't be crunchy now would it?"
Re: Having nn display a header _not_ included in it's internal list
#2403
Author: Brian Excarnate
Date: Tue, 28 Jan 1992 08:51
20 lines
1278 bytes
jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
>Or is there some way of having nn display all headers, that is, all lines of
>the form:

>Xxxxxxxx: 

I'd like a few enhancements to the set header-lines config.

1.  Show all lines that aren't recognized as normal
2.  Show all lines that start with X
3.  Somehow show all lines defined as starting with some user-defined string
4.  Don't show any header that has Kibo in it :-)

And allow Outputing (the o command) including the header lines you like to
see.


Brian <-= set header-lines *KRWYnO
-- 
i want to change and i want to be where you want me to be right now
Re: Having nn display a header _not_ included in it's internal list
#2401
Author: Jim Jagielski
Date: Tue, 28 Jan 1992 12:58
27 lines
2011 bytes
jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:

>There's a new header floating around that's inserted by newer versions of
>inews: it's the Orginator header line and it's included to display who
>_really_ sent a posting (it's easy to fake From:... then again it's just
>as easy to fake Originator: :).

>Anyway, there seems to be no way to have nn display this header without, as
>far as I can tell, some coding to include Originator as a header line
>in the source (as well as tracking where the 'news' structure is used|passed
>thru-out nn).

Actually, it was much easier than I thought. You only need to edit 3 files
(news.h, news.c and more.c) to add another header. For example, to add the
"Originator" header line, I editted news.h to modify the header_def structure,
then edit more.c (to have 'J' be the flag to see "Originator") and finally
edit news.c to check for it... total lines added: about 6.

Very easy...
-- 
==============================================================================
#include <std/disclaimer.h>

              Jim Jagielski                    NASA/GSFC, Code 711.4
          jim@jagubox.gsfc.nasa.gov               Greenbelt, MD 20771

       "If we took the bones out, it wouldn't be crunchy now would it?"
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