Article View: news.software.readers
Article #24099Re: slrn sort-by-score patches
From: Reality is a point of view
Date: Sat, 13 Jul 1996 00:00
Date: Sat, 13 Jul 1996 00:00
36 lines
1739 bytes
1739 bytes
+---- olly@mantis.co.uk wrote (13 Jul 1996 13:12:14 GMT):
| Here's some patches to allow display of articles by score value.
Excellent!
| #define SORT_BY_THREADS 1
| +# define SORT_BY_SCORE 4
| int Slrn_Sorting_Mode = 3;
I jumped in with both feet via
int Slrn_Sorting_Mode = 5; // (SORT_BY_THREADS | SORT_BY_SCORE)
and it is GREAT!
| + if (Slrn_Sorting_Mode & SORT_BY_SCORE)
| + {
| + SLsmg_printf ("%c %5d ",
| + ((flags & HEADER_READ) ? 'D': '-'),
| + ((h->child != NULL) && (h->child->flags & HEADER_HIDDEN))
| + ? h->thread_score : h->score);
| + }
+----
After being frightened by articles that had 9999 lines I
switched to h->lines for the %5d. This is just what I was
hoping for, THANKS!
--
Gary Johnson "There's no union called the AFL-CIA is there?"
gjohnson@season.com <a href="http://www.efm.org">Walk The Talk</a>
CAMPAIGN '96: Juck 'em if they can't fake a toke.
Technical Details
Message-ID:
<slrn4ufqr1.cb.gjohnson@dream.season.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-mailReferences:
<slrn44ubl6u.d10.jollie@worf.netins.net> <slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere> <slrn4ud54j.8e.gjohnson@dream.season.com> <4s87be$23h@sunforest.mantis.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrn4ufqr1.cb.gjohnson@dream.season.com> Subject: Re: slrn sort-by-score patches Date: Sat, 13 Jul 1996 00:00:00 +0000 From: gjohnson@dream.season.com (Reality is a point of view) References: <slrn44ubl6u.d10.jollie@worf.netins.net> <slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere> <slrn4ud54j.8e.gjohnson@dream.season.com> <4s87be$23h@sunforest.mantis.co.uk> 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: 168219411 Organization: season.com [205.179.33.0] Newsgroups: news.software.readers