🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2401

Re: Having nn display a header _not_ included in it's internal list

#2401
From: 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?"
Technical Details
Message-ID: <476@jagubox.gsfc.nasa.gov>
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!sparky!uunet!think.com!ames!nsisrv!jagubox!jim
References: <474@jagubox.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <476@jagubox.gsfc.nasa.gov>
Subject: Re: Having nn display a header _not_ included in it's internal list
Date: Tue, 28 Jan 1992 12:58:12 GMT
From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
References: <474@jagubox.gsfc.nasa.gov>
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!sparky!uunet!think.com!ames!nsisrv!jagubox!jim
Newsgroups: news.software.nn
Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
Nntp-Posting-Host: jagubox.gsfc.nasa.gov
Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
Organization: NASA/Goddard Space Flight Center