Article View: news.software.readers
Article #41798Suggestion for SLRN 0.9.5.2a or 3...
From: Curtis [Jewell] Whalen
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
55 lines
2136 bytes
2136 bytes
One thing that I always like to know when going ESC-1-K (Edit Score File)
after pressing K (Add Score) a few times is why I scored a message the
way I did.
A "Reason for this score prompt" when doing a K would help a lot.
I have many reasons for scoring people or subjects high or low and I'd
like to know which one applies when I edit the score file.
Here's some (admittedly untested) code for adding one. The problem is, I
don't have a C compiler (I run the Win95 version of SLRN), so I don't know
if I did something wrong.
But please add this capability to the next version anyway!
You may wish to add a slrn.rc file option to activate or deactivate this.
The changes below are all in the slrn_edit_score routine of
slrn/src/editscore.c.
int slrn_edit_score (Slrn_Header_Type *h, char *newsgroup)
{
...
char *q, *reason, *ng = newsgroup;
...
while (1)
{
...
}
*reason = NULL;
if (-1 == slrn_read_input ("Reason for this score", NULL, reason, 1, 0))
reason = "\n";
}
...
myclock = time((time_t *) 0);
fprintf (fp, "\n%%Score created by slrn on %s%%Reason: %s\n[%s]\nScore: %d\n",
(char *) ctime(&myclock), reason, ng, score);
...
--
-- Curtis, email: curtis underline whalen plus email at geocities dot com
Change usenet to email if you want your email replies read because of SPAM.
Meet the Carlson Septuplets: http://www.id.net/~kmannist/septs.htm
I believe in The Divine Right of Moderators.
Technical Details
Message-ID:
<6n7c2t$k0p@enews4.newsguy.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-mailShow Full Headers
Complete Article Headers
Message-ID: <6n7c2t$k0p@enews4.newsguy.com> Subject: Suggestion for SLRN 0.9.5.2a or 3... Date: Mon, 29 Jun 1998 00:00:00 +0000 From: curtis_whalen+usenet@geocities.com (Curtis [Jewell] Whalen) 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: 367020999 X-Url-1: (http://jump.to/curtis_whalen) X-Url-2: (http://mission.net/new-york/utica/) Organization: http://extra.newsguy.com Newsgroups: news.software.readers