🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by D. Stussy Thu, 05 Feb 2009 23:36
"dead.article" and inews
#80097
Author: D. Stussy
Date: Thu, 05 Feb 2009 23:36
6 lines
1261 bytes
I think it would be useful if inews inserted an "rnews" batch command
before each article it appends to a user's "~/dead.article" file.
Otherwise, I don't see any way of easily splitting the file's contents for
attempted resubmission.

Re: "dead.article" and inews
#80100
Author: Russ Allbery
Date: Fri, 06 Feb 2009 00:08
15 lines
1637 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:

> I think it would be useful if inews inserted an "rnews" batch command
> before each article it appends to a user's "~/dead.article" file.
> Otherwise, I don't see any way of easily splitting the file's contents
> for attempted resubmission.

Yeah, that's a good idea.  It will be a bit complicated, though, since
inews doesn't know how long the article it's about to write is.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: "dead.article" and inews
#80101
Author: D. Stussy
Date: Fri, 06 Feb 2009 20:52
17 lines
1963 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87wsc41l7h.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > I think it would be useful if inews inserted an "rnews" batch command
> > before each article it appends to a user's "~/dead.article" file.
> > Otherwise, I don't see any way of easily splitting the file's contents
> > for attempted resubmission.
>
> Yeah, that's a good idea.  It will be a bit complicated, though, since
> inews doesn't know how long the article it's about to write is.

Then we can "reserve" the space like is done in the active file.  If inews
will never write an article to "~/dead.article" larger than the maximum
article size, then we have an upper limit on the amount of space that need
be reserved.  Otherwise, we can pad with 10 digits (for a 32-bit size).

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