Thread View: news.software.readers
1 messages
1 total messages
Started by Curtis [Jewell] Whalen
Mon, 29 Jun 1998 00:00
Suggestion for SLRN 0.9.5.2a or 3...
Author: 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.
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