🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37808

Re: Article text in textual response question.

#37808
From: Curt Welch
Date: Thu, 03 Jun 1999 00:00
36 lines
1743 bytes
[also e-mailed to Fred since that's what he asked for...]

"Fred J. LeFevre" <fjfevre@ibm.net> wrote:
> I have a question about how a news server would send text in an article.
>
> Assume an articles' text is:    Here's my text.\n\n\nEnd of text.

> Would the textual responses sent to the client appear as one of the
> three alternatives below?

Yes.

> Alternative 3:
> Here's my text.\r\n
> \r\n
> \r\n
> End of text.\r\n

Yes.

Assuming you are talking about what the article looks like as it's
sent with the NNTP protocol.  Each line ends with a CR LF so
the data stream would look like:

Here's my text.\r\n\r\n\r\nEnd of text.\r\n

Some Unix servers still store text in the Unix format so
on those systems, it would look like a standard Unix text file:

Here's my text.\n\n\nEnd of text.\n

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19990603114957.481$Ql@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <37569e49@news3.us.ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <19990603114957.481$Ql@newsreader.com>
Subject: Re: Article text in textual response question.
Date: Thu, 03 Jun 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <37569e49@news3.us.ibm.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 485299419
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp