Article View: news.software.readers
Article #20397Re: GNKSA: slrn 0.8.7.1
From: John E. Davis
Date: Thu, 04 Apr 1996 00:00
Date: Thu, 04 Apr 1996 00:00
59 lines
2851 bytes
2851 bytes
On 4 Apr 1996 04:33:02 GMT, J.B. Nicholson-Owens <jbn@mystery-train.cu-online.com>
wrote:
: Although slrn 0.8.7.1 does not pass the requirements for the Good
: Net-Keeping Seal of Approval, it comes very close. Practically speaking, it
: passes; any "NO" items on this list should not adversely affect anyone's use.
: Checking for an empty subject line after the post has been edited and
: displaying the Reply-To: header by default are not done, however the former
[...]
: (1) "article toggle_headers" ('t' by default) will show additional
: headers, however Reply-To: is not shown by default.
The next release will show the reply-to header if it exists. The patch to
slrn/src/art.c follows below.
[...]
: (3) Slrn requires a subject when initially prompting for a subject, but
: slrn will send a post with an empty subject to the news server. The
: user must provide some subject initially, but slrn will post
: subject-less posts if the user deletes the subject while editing the
: post.
For me, this is not a big deal. slrn will not spawn an editor to create a
post unless the user provides a subject. Should slrn refuse to post the
message if the user deletes the subject while editing the post? What about
the case where a user creates a subject that consists of a single `.', e.g.,
Subject: .
Here is the reply-to patch:
@@ -243,16 +253,21 @@
hide_header = 0;
switch (ch)
{
+ case 'r': /* references, etc... */
+ if (slrn_case_strncmp ((unsigned char *)l->buf,
+ (unsigned char *) "Reply-To:", 9))
+ hide_header = 1;
+ break;
case 'n': /* nntp */
if (ch1 == 'e') break;
/* drop */
- case 'x':
+ case 'i': /* In-Reply-To */
+ case 'x': /* user defined */
case 'a': /* approved */
case 'p': /* path */
case 'l': /* lines */
case 'm': /* msgid, mime */
case 'c': /* content */
- case 'r': /* references, etc... */
case 't': /* To */
hide_header = 1;
break;
--John
Technical Details
Message-ID:
<slrn4m74dd.imn.davis@wiwaxia.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4m6gct.2ak.jbn@mystery-train.cu-online.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn4m74dd.imn.davis@wiwaxia.mit.edu> Subject: Re: GNKSA: slrn 0.8.7.1 Date: Thu, 04 Apr 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn4m6gct.2ak.jbn@mystery-train.cu-online.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 145752588 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers