🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #78603

Re: REPOST: Re: Google Newsgroup Archives Back to 1995

#78603
From: Russ Allbery
Date: Tue, 15 May 2001 06:05
29 lines
2604 bytes
In news.admin.misc, ras2 <removethis@gmx.net> writes:

> They get padded with an extra period when you use slrnpull (when the
> articles are placed in the out.going dir). I assume slrn, when used as
> an online reader, does something similar when posting (and then the
> extra period must get removed by the server; it's not there when you
> look at the posted article, at least).

This is part of the NNTP protocol.  From RFC 977:

   Text is sent only after a numeric status response line has been sent
   that indicates that text will follow.  Text is sent as a series of
   successive lines of textual matter, each terminated with CR-LF pair.
   A single line containing only a period (.) is sent to indicate the
   end of the text (i.e., the server will send a CR-LF pair at the end
   of the last line of text, a period, and another CR-LF pair).

   If the text contained a period as the first character of the text
   line in the original, that first period is doubled.  Therefore, the
   client must examine the first character of each line received, and
   for those beginning with a period, determine either that this is the
   end of the text or whether to collapse the doubled period to a single
   one.

The same method (called "dot-stuffing" usually) is used in SMTP.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <yl66f3405x.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <u7lket0strqamcq88akrt7tpflog9q90au@4ax.com> <87y9rzudei.fsf@gabsi.garbers.org> <slrn9g05ak.18u.removethis@gmx.net> <ylsni767nn.fsf@windlord.stanford.edu> <9dpjpi$car$2@dent.deepthot.org> <slrn9g0mot.3b0.qtmstr@ool-18b88ad6.dyn.optonline.net> <slrn9g1am2.3e2.removethis@gmx.net>

Show Full Headers
Complete Article Headers
Message-ID: <yl66f3405x.fsf@windlord.stanford.edu>
Subject: Re: REPOST: Re: Google Newsgroup Archives Back to 1995
Date: Tue, 15 May 2001 06:05:30 +0000
From: Russ Allbery <rra@stanford.edu>
References: <u7lket0strqamcq88akrt7tpflog9q90au@4ax.com> <87y9rzudei.fsf@gabsi.garbers.org> <slrn9g05ak.18u.removethis@gmx.net> <ylsni767nn.fsf@windlord.stanford.edu> <9dpjpi$car$2@dent.deepthot.org> <slrn9g0mot.3b0.qtmstr@ool-18b88ad6.dyn.optonline.net> <slrn9g1am2.3e2.removethis@gmx.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.admin.misc,news.software.readers
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 989906731 20391 171.64.13.23 (15 May 2001 06:05:31 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)