🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1669

Re: Questions for writing newsreader

#1669
From: Alan Edmonds
Date: Tue, 02 Jun 1992 12:53
36 lines
3026 bytes
In article <1992Jun1.183026.23434@athena.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes:
>In article <lordbah.0zh3@amusing.Bah.Rochester.NY.US>, lordbah@amusing.Bah.Rochester.NY.US (Jeff Van Epps) writes:
>|> Is there consensus on the best way to handle long header lines?  Just
>|> fold at some random space character, or let the line grow as long as
>|> it needs to, or try to preserve any pre-existing folding, or what?
>
>Some headers fields, e.g. Path and Newsgroups, can't be folded.  Well,
>actually, RFC 1036 implies that the Path field can be folded, since it says
>that "Path: teklabs, zehntel, sri-unix@cca!decvax" is a valid path, and that's
>equivalent to "Path: teklabs, zehntel,\n\tsri-unix@cca!decvax", but I don't
>know of any software that actually allows Path lines like that :-).

I had a problem with news articles fed to me from an ANU-News system.
The ANU-News system folded the Path: header into the valid RFC 1036
construct (mach!mach!\n\tmach!user).  However, when I saved this
article in mailbox format using rn, the mbox.saver script could not
correctly generate a From: line.  The resulting from line looks like
From mach!mach! mach!user date etc.  Notice the space character after
the second mach.  This causes problems for Elm trying to read the 
mail folder later.

I prefer unfolded headers.  Most of the headers that do get folded are
ones you rarely look at on the tube.  References, Path, are mostly used by
news reader software, not usually news readers (humans).

Are you unfolding the headers and saving them that way to disk?  Are
the reformatted articles being transmitted to another system?

If you are not transmitting them, do whatever you want :-) If they are 
being reformatted for saving into folders or whatever, do what you want.
When you fold the headers, do you know how wide a display line is?
-- 
Alan Edmonds                                        Texas Instruments, Inc.
My opinions are only my own.                        M/S 8513
Work phone: (214)575-6427                           6620 Chase Oaks Blvd.
Email: alan@ernest.UUCP or alan@ernest.dseg.ti.com  Plano, Texas  75023
Technical Details
Message-ID: <1992Jun02.125334.25870@ernest.dseg.ti.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!stl!bnrgate!nrcnet0!cunews!torn.onet.on.ca!watserv1!watmath!att!emory!sol.ctr.columbia.edu!usc!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!ernest!alan
References: <lordbah.0zh3@amusing.Bah.Rochester.NY.US> <1992Jun1.183026.23434@athena.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1992Jun02.125334.25870@ernest.dseg.ti.com>
Subject: Re: Questions for writing newsreader
Date: Tue, 02 Jun 1992 12:53:34 +0000
From: alan@ernest.dseg.ti.com (Alan Edmonds)
References: <lordbah.0zh3@amusing.Bah.Rochester.NY.US> <1992Jun1.183026.23434@athena.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!uknet!stl!bnrgate!nrcnet0!cunews!torn.onet.on.ca!watserv1!watmath!att!emory!sol.ctr.columbia.edu!usc!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!ernest!alan
Newsgroups: news.software.readers
Summary: rn problem with foled Path: header
Organization: Texas Instruments, Inc. - Plano, Tx
Lines: 36