🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49207

Re: slrn color question

#49207
From: Thorfinn
Date: Thu, 10 Jun 1999 00:00
73 lines
4344 bytes
In news.software.readers, on Wed, 09 Jun 1999 10:21:28 GMT
HugolinoM <hugomart@infonie.fr> wrote:
> And while we are at it :), one more beginner question: 
> Is there anybody who knows how I could distinguish between:
> * articles that I have already read
> * articles that I have not already read

The distinguishing feature between these two is normally that the
first type has "D" for "deleted" before it, which normally happens
when you read the article...

If you set the mark articles as read variable back to 1, and instead
enter article mode from group mode with ESC-1-return then you will see
the entire group, including "deleted" articles.

> * articles which bodies have not been downloaded yet (I use
>   leafnode with "delaybody = 1" to download headers and bodies
>   separately)

Hrm.  That's a bit of a more difficult problem... in that leafnode
hides the fact that the article has no body downloaded for it from the
reader software.  The news server has no way to tell that the body
isn't there without trying to fetch the body...

> This would be very useful when you try to read threads that last for
> days and days and have more than a hundred articles

*nodnod*  You might want to consider just switching to using
slrnpull... if you read more than some really small proportion of
articles in a group, it's usually worthwhile to just pre-fetch them
all blindly on a regular basis, rather than mess with the delays and
post-fetching.

Of course, if you're heavily byte or time charged, then it's
understandable that you want to minimise the online time...

> May be this could be done with a macro that would be ran each time you
> enter a newsgroup. In the list of all the articles, the macro would set
> the foreground color of read articles as black and the foreground color
> of unread articles as blue while all articles without body will have
> their backgroud color set to yellow.

To summarise what I said above... the distinction between "read" and
"unread" is normally provided by having slrn mark articles as
"deleted" when you read them...  and there is no real way (apart from
writing some complex and hairy macros that poke through leafnode's
spool directories, or actually attempting to request every article,
which defeats the point) to find out if leafnode has the body or
not...

> If you have the answer, please try to be not to concise as I just don't
> know much about macros and regular expression...

Hrm.  Well, hopefully I answered some of your questions. :)

> Last but not least: Is it possible to cancel a mistakenly request for
> download ? 

ctrl-g should work to interrupt a transfer... however, if you are
using leafnode, that might not help much, since the request will go to
leafnode, which will queue the fetch request for later anyway...

Later,

   Thorf

-- 
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
Men occasionally stumble over the truth, but most of them pick
themselves up and hurry off as if nothing had happened.
    -- Winston Churchill

Technical Details
Message-ID: <slrn7luik2.iv5.thorfinn@netizen.com.au>
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
References: <slrn7lq66g.2up.eggink@eggink1.rrz.uni-hamburg.de> <slrn7lq6vn.emq.davis@aluche.mit.edu> <slrn7lq9t2.33a.eggink@eggink1.rrz.uni-hamburg.de> <375e2e27.5536395@news.infonie.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7luik2.iv5.thorfinn@netizen.com.au>
Subject: Re: slrn color question
Date: Thu, 10 Jun 1999 00:00:00 +0000
From: thorfinn@netizen.com.au (Thorfinn)
References: <slrn7lq66g.2up.eggink@eggink1.rrz.uni-hamburg.de> <slrn7lq6vn.emq.davis@aluche.mit.edu> <slrn7lq9t2.33a.eggink@eggink1.rrz.uni-hamburg.de> <375e2e27.5536395@news.infonie.fr>
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: 487790338
Cache-Post-Path: centauri.unico.com.au!unknown@venus.dev.unico.com.au
X-Silly-Line: Trust your Technolust!
X-WhoIsNetizen: See http://www.netizen.com.au/ about Netizen.
X-Newsgroup: news.software.readers
X-Complaints-To: abuse@connect.com.au
X-Trace: perki.connect.com.au 928991876 18301 202.21.8.159 (10 Jun 1999 05:17:56 GMT)
Organization: Unico Computer Systems Pty Ltd
X-Cache: nntpcache 2.3.3b4 (see http://www.nntpcache.org/)
User-Agent: slrn/0.9.5.6 (UNIX)
Reply-To: thorfinn@netizen.com.au
NNTP-Posting-Date: 10 Jun 1999 05:17:56 GMT
Newsgroups: news.software.readers
X-Religion: linux slrn mutt vim