Opened 15 years ago
#127 new enhancement
inews should insert "rnews" batch commands in dead.article
Reported by: | Julien ÉLIE | Owned by: | eagle |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | utilities | Version: | |
Severity: | wishlist | Keywords: | |
Cc: |
Description
- Stussy reports in news.software.nntp (<news:gmft6l$l6d$1@snarked.org>):
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.
The problem, as Russ Allbery highligths, is that inews doesn't know how long the article it's about to write is. D. Stussy suggests:
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).