Article View: news.software.readers
Article #26311Re: Slrn 0.9.0.0 & slang questions
From: Olly Betts
Date: Tue, 24 Sep 1996 00:00
Date: Tue, 24 Sep 1996 00:00
54 lines
3144 bytes
3144 bytes
In article <slrn54df7f.8eq.mears@hpindft.cup.hp.com>, David Mears wrote: >Olly Betts <olly@mantis.co.uk> wrote: > >> However, here's a patch I wrote some time ago which adds a new function >> (bound by default to Ctrl-A) to pull in from the server all headers not >> currently in this collection. > >> You can "hide" read headers using 'x' (which expunges read headers) and >> with this patch, you can "reveal" read headers using '^A'. > >Once the previously read headers have been pulled in from the server the >first time, do they have to be pulled in later, or will they be remembered? They have to be pulled in again. It's not ideal, but it's more efficient than having to exit the group and re-enter with "Esc 1 Space" which will re-fetch all the unread headers as well as the read ones. Internally, slrn can "hide" headers, which is used for collapsing the thread tree. However, trying to reuse the flag looked like a recipe for problems (e.g. searches should search collapsed trees, but probably not hidden read headers). It should be possible to add expunged headers to a separate list instead of free-ing them, and to merge this with the normal header list, and then run through to find any gaps as at present. It's not totally trivial though. >I've wanted the ability to do this for awhile, to be able to match the >equivalent functionality from tin, but it wouldn't be very nice if it >caused a major server hit more than just the once. I don't think it's that major a server hit -- the patch just sends requests for the overview information for the any gaps in the server numbers in its list of which headers it has. On a reasonably configured server, the overview information is stored in a separate file, so it's probably about the same hit as reading an article of a few hundred lines. Admittedly I've only tried it with the local spool backend on a server with a 4 day expire. >Another question: does your ^A command prompt about how many to read >if more than the limit in the .slrnrc file? Nope. That could probably be done by reading backwards through the headers. Anyway, thanks for the comments. I'll have a look at making the two enhancements when I have a bit of spare time. Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Technical Details
Message-ID:
<slrn54f8m2.glb.olly@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-mailReferences:
<51j11v$r4s@oravannahka.Helsinki.FI> <slrn53qfd2.cu.davis@aluche.mit.edu> <51oa9b$psr@aken.eed.ericsson.se> <slrn54aifg.glb.olly@mantis.co.uk> <slrn54df7f.8eq.mears@hpindft.cup.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn54f8m2.glb.olly@mantis.co.uk> Subject: Re: Slrn 0.9.0.0 & slang questions Date: Tue, 24 Sep 1996 00:00:00 +0000 From: olly@mantis.co.uk (Olly Betts) References: <51j11v$r4s@oravannahka.Helsinki.FI> <slrn53qfd2.cu.davis@aluche.mit.edu> <51oa9b$psr@aken.eed.ericsson.se> <slrn54aifg.glb.olly@mantis.co.uk> <slrn54df7f.8eq.mears@hpindft.cup.hp.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: 185002342 Content-type: text/plain; charset=iso-8859-1 Organization: Mantis Consultants Ltd, Cambridge. UK. Mime-version: 1.0 Newsgroups: news.software.readers