Thread View: news.software.readers
2 messages
2 total messages
Started by ymrots
Sat, 24 Jun 2000 00:00
SLRN: deleted articles don't stay that way
Author: ymrots
Date: Sat, 24 Jun 2000 00:00
Date: Sat, 24 Jun 2000 00:00
319 lines
8920 bytes
8920 bytes
In my main newsgroup, a group with over 40,000 articles and about 65
scores, every time I restart SLRN, it shows me my scored, deleted articles
again. Some articles don't reappear, but everything with a score, or in a
scored thread, seems to. My average score is about 20, up to 9999. Those
that I *know* always reappear tend to score around 350 (it's hard to tell
what stays deleted in such a large group).
Some cut & paste examples. I start SLRN:
40671 rec.autos.makers.vw.aircooled
The group has 40671 unread articles. I enter it, and after scoring, I
see:
! - 9999 Jimski the One ( 6) 10 new pistons or just rings?
! - 350 Veeduber (202) 7 TULZ - Part One
! - 350 Veeduber (144) 7 TULZ - Part Two
! - 350 Veeduber (159) 21 TULZ - Part Three
! - 350 Veeduber (306) 5 TULZ - Part Four
Num Killed: 0, Num High: 147, Num Low: 0
(format is: flags, score, name, (lines), arts in thread, subject)
I delete those 5 highest scored threads:
! D 9999 Jimski the One ( 6) 10 new pistons or just rings?
! D 350 Veeduber (202) 7 TULZ - Part One
! D 350 Veeduber (144) 7 TULZ - Part Two
! D 350 Veeduber (159) 21 TULZ - Part Three
! D 350 Veeduber (306) 5 TULZ - Part Four
And quit the group with a 'q':
40373 rec.autos.makers.vw.aircooled
The number of unread articles dropped to show my deletes. If I re-enter
the group now, the deleted articles do not show up again. But if I type
'G' to check for new news, or restart SLRN, then:
40671 rec.autos.makers.vw.aircooled
Boom, it lost track of the deleted articles and shows the original number
again. And if I re-enter the group, I once again see:
! - 9999 Jimski the One ( 6) 10 new pistons or just rings?
! - 350 Veeduber (202) 7 TULZ - Part One
! - 350 Veeduber (144) 7 TULZ - Part Two
! - 350 Veeduber (159) 21 TULZ - Part Three
! - 350 Veeduber (306) 5 TULZ - Part Four
Do you know how sick I am of seeing those articles? It wasn't so bad at
first, when I'd only get through 10 threads a day, but now that I've read
about 200 threads, most of which reappear the next time I have to restart,
the first chore of every day is to weed out those I've already read,
hoping I don't miss any new posts to those threads.
I've tried setting min_high_score everywhere from 0 to 9999, it seems to
make no difference. I've tried 'X' before 'q', to make sure .jnewsrc is
written. I've run diff before and after the 'X', and verified that yes,
it *is* writing out the deleted articles as deleted. It just forgets
about them after it starts up.
I'm using:
Slrn Version: 0.9.6.2 (Jun 22 2000 18:38:41)
S-Lang Library Version: 1.3.9
OS: Linux
slrn compile-time options:
+PULL_SUPPORT +NNTP_SUPPORT +SPOOL_SUPPORT +INEWS_SUPPORT +SPOILERS
+MIME +SORT_BY_SCORE +USER_AGENT +TILDE_FEATURE +END_OF_THREAD
+GROUPLENS -MSGID_CACHE +SLANG +GEN_MSGID +CHARACTER_MAP -UUDEVIEW
+FAKE_REFS +DECODE +PIPING +PIPING +DECODE +RNLOCK +EMPHASIZED_TEXT
+VERBATUM_MARKS
Default server object: nntp
Default posting mechanism: nntp
Supported character sets include: isolatin ibm850 NeXT koi8
Default character set: isolatin
in Debian Woody, with Leafnode 1.9.14 as my server.
My .slrnrc is:
----
set hostname "rain.futuresouth.com"
set username "ymrots"
set realname "Stormy Henderson"
set organization "Stormy & Lisa's Castle Company"
set mouse 0
set read_active 0
set quote_string "> "
set reject_long_lines 1
set show_descriptions 1
set group_dsc_start_column 45
set no_backups 0
set beep 2
set show_thread_subject 0
set scroll_by_page 0
set prompt_next_group 1
set query_next_group 1
set query_next_article 0
set confirm_actions 1
set author_display 1
set write_newsrc_flags 1
set cc_followup 0
set use_tilde 1
set save_posts ".mail/posted"
set save_replies ".mail/posted"
set postpone_directory ".mail/postponed"
set failed_posts_file ".mail/deadposts"
set sorting_method 5
set display_score 1
set new_subject_breaks_threads 0
set uncollapse_threads 0
set wrap_flags 7
set query_read_group_cutoff 0
set lines_per_update 100
set use_mime 1
set mime_charset "iso-8859-1"
set use_metamail 1
set metamail_command "metamail"
set use_header_numbers 0
set query_reconnect 0
set spoiler_display_mode 1
set spoiler_char '*'
set show_article 0
visible_headers "From:,Subject:,Date:"
set display_cursor_bar 1
set auto_mark_article_as_read 1
set abort_unmodified_edits 1
set use_tmpdir 1
set emphasized_text_mode 1
set emphasized_text_mask 1
set process_verbatum_marks 1
set hide_signature 1
set hide_pgpsignature 1
set followup_strip_signature 1
scorefile ".slrn.score"
set min_high_score 250
set max_low_score -500
set kill_score -9999
setkey group quit "\e[D"
setkey article delete "^?"
interpret "/usr/share/doc/slrn/examples/macros/util.sl"
interpret "/usr/share/doc/slrn/examples/macros/tin-group.sl"
interpret "/usr/share/doc/slrn/examples/macros/tin-art.sl"
interpret ".slrn.sl"
setkey article art_select_article "\e[C"
setkey article up "\e[A"
setkey article down "\e[B"
setkey article delete "d"
----
My .slrn.sl is:
----
% Toggle display of quoted material or collapse threads.
define handle_t()
{
if(is_article_visible())
{
return call("toggle_quotes");
}
if(is_thread_collapsed())
{
return uncollapse_thread();
}
return collapse_threads();
}
definekey("handle_t", "t", "article");
% Handle page-up/page-down
define handle_pg_up()
{
if(is_article_visible())
{
return call("scroll_up");
}
return call("pageup");
}
definekey("handle_pg_up", "\e[5~", "article");
define handle_pg_dn()
{
if(is_article_visible())
{
return call("scroll_dn");
}
return call("pagedn");
}
definekey("handle_pg_dn", "\e[6~", "article");
% Handle home/end
define handle_home()
{
if(is_article_visible())
{
return call("art_bob");
}
return call("header_bob");
}
definekey("handle_home", "\e[7~", "article");
define handle_end()
{
if(is_article_visible())
{
return call("art_eob");
}
return call("header_eob");
}
definekey("handle_end", "\e[8~", "article");
% Set article window size
set_article_window_size(SCREEN_HEIGHT - 10);
set_header_display_format(0, "%1F %-5S %-14r (%-3l)%t%s");
set_header_display_format(1, "%1F %-5S (%-3l)%t%s");
----
And my .slrn.score is:
[*]
Score: 9999
From: Stormy Henderson
Score: 1000
References: ymrots@rain\.futuresouth\.com> *$
Score: -9999
Subject: Got 6 bucks\?
Score: -25
~Lines: 3
Score: -25
~Subject: \c[a-z]
[comp.os.linux.announce]
Score: -25
Subject: COMMERCIAL
Score: -9999
Subject: LOCAL
[rec.aquaria.freshwater.goldfish]
Score:: -25
Subject: dropsy
Subject: dying
Subject: sick
[rec.autos.makers.vw.aircooled]
Score:: 10
From: Brian M\. Wittling
From: Dave Hall
From: Dave Shuman
From: Don Jiskra
From: Earle Horton
From: Larry <spam@block\.com>
From: SHO'N'PRV
From: Scatman
From: aussiebug
From: cadland@my-deja\.com
From: Chris Roberts
From: Kaferdave
From: rbrthays@aol\.com
From: Paulmac
From: Jade
Score:: 20
From: Jan Andersson
From: Shad Laws
From: GazMP
From: John Willis
From: Luns Tee
Score:: 25
From: John Connolly
From: John Henry
From: Jay Decker
Score:: -10
From: Fleg fleigle@hotmail\.com
From: s2dee@aol\.computer
From: TYPE2MAN
Score:: -25
From: <vwracer@spiritone\.com>
From: olivertype11@aol\.com
Score: 250
From: Veeduber
Score: 100
Subject: TULZ
Score:: -25
Subject: OT:
Subject: OTP:
Subject: off topic
Score:: -25
Subject: Wanted
Score:: -25
Subject: mid engine
Subject: swingaxle
Subject: swing
Score:: -25
Xref: .*:.* .*:.* .*:.* .*:.* .*:.*
Xref: rec.autos.makers.vw.watercooled
Anyone know how to make the deleted articles stay deleted?
Thanks.
--
http://www.futuresouth.com/~stormy/
Re: SLRN: deleted articles don't stay that way
Author: Thomas Schultz
Date: Sun, 25 Jun 2000 00:00
Date: Sun, 25 Jun 2000 00:00
37 lines
2249 bytes
2249 bytes
On 24 June 2000 at 21:33 GMT, <ymrots@rain.futuresouth.com> wrote: [...] > The number of unread articles dropped to show my deletes. If I > re-enter the group now, the deleted articles do not show up again. > But if I type 'G' to check for new news, or restart SLRN, then: > > 40671 rec.autos.makers.vw.aircooled I experienced exactly the same problem when dealing with very large groups. I investigated into it and found out that it was another silly problem with hard-coded limits in C code: Long newsrc lines are correctly written, but when reading them, slrn uses a line buffer of about 16k characters -- any information beyond this point gets lost. In the overwhelming number of cases, this is sufficient, but if you have a large group like this, slrn sometimes indeed "forgets" some articles that have been read. [...] > Anyone know how to make the deleted articles stay deleted? You could solve this problem by implementing a better way of reading the newsrc file in slrn_read_newsrc() (group.c). Make sure to publish the patch :-) Personally, I didn't have the time to do this, so I worked around the problem by setting the hard-coded limit to a higher value and recompiling slrn. In nntpcodes.h, you will find the line #define NNTP_BUFFER_SIZE 0x3FFF Simply set it to a number that suits your needs better (I set it to 0x6FFF and haven't had any problems since then, but seeing the figure above, you might need an even larger number). -- Thomas Schultz <tststs@gmx.de>
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