🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
75 messages
75 total messages Page 2 of 2 Started by Blinky the Shark Fri, 21 Sep 2007 22:37
Page 2 of 2 • 75 total messages
Re: [tin] filter file location
#206931
Author: Blinky the Shark
Date: Wed, 03 Oct 2007 02:27
102 lines
6300 bytes
Blinky the Shark wrote:
> Blinky the Shark wrote:
>> Matt wrote:
>>> On 3 Oct 2007 00:06:35 GMT, Blinky the Shark <no.spam@box.invalid>
>>> wrote:
>>>
>>>> Thanks for the info and for the compliment; you're welcome; enjoy.
>>>> :)
>>>
>>> I had a good laugh when browsing UIP's website. My favourite is the
>>> "other Stuff" page. At last we can put a picture on Google Gropers
>>> :-)
>> 
>> Yeah, I've had fun with that stuff -- like the rest of the UIP site,
>> that Stuff was on my old UIP page, which was, indeed, one page at
>> blinkynet.net until last month.  Other than breaking it apart into
>> logical pages and columns for the new site when it outgrew blinkynet,
>> and obviously totally reformatting it, the only thing significan't
>> I've really added are the filters themselves.
>> 
>>>> Hey, Matt, tell me somehting, willya?
>>>
>>> Sure.
>>>
>>>> I just installed tin so I could work with someone whose GG filter
>>>> doesn't seem to work.  I'm curious about something.  After seeing
>>>> about 2,000 errors it's thrown about my /etc/lib/news/active file
>>>> being missing, about it being corrrupted, about it not containing
>>>> any newsgroups and/or about it not being accessible, what the heck
>>>> does one look like?  Can't find anything online about this, and
>>>> while tin's working, I'm just curious.  If it's just a list, would
>>>> you paste one representative line from it for me?
>>>
>>> Ah. That "welcome" message when the first time you're trying tin is
>>> a
>> 
>> Remember, now...I've seen that "welcome message" about 2,000 times so
>> far.  And it's far from being welcome *here*, any more.  :)
>> 
>>> memorable moment.  Actually, /usr/lib/news/active is where an
>>> NNRP/NNTP server holds and keeps track of available newsgroups
>>> through it.  For historical reason, it's tin's default reading mode.
>> 
>> I was getting that impression.  While it's storing messages in
>> /var/spool/news or wherever.
>> 
>>> To avoid that sweet and warm message, you have to ask tin to read
>>> news remotely from a NNTP server by using `rtin` (which is just a
>>> symlink to `tin -r`) if you have either "/etc/nntpserver" or
>>> $NNTPSERVER set.  Otherwise go with `tin -g news.something.com` (be
>>> sure that tin is compiled with "+NNTP_ABLE", you can check that with
>>> `tin -V`)
>> 
>> I've done all of that.  I've settled on tin -g in my shell script
>> that is run from a shortcut.  Yes, I'm +NNTP_ABLE.  I have no problem
>> getting groups or posts from the external server.
>> 
>>> As for /usr/lib/news/active's format, it's pretty simple and is
>>> maintained by the NNRP/NNTP server (eg. ctlinnd(5) with INN)
>> 
>> Only server I have here is leafnode, which doesn't know
>> /usr/lib/news/active from squat.
>> 
>>> INN bundles a man page describing the active file. You can read it
>>> there:
>>><http://www.eyrie.org/~eagle/software/inn/docs-2.4/active.html>
>>>
>>> Just a hint that you may find useful if you're not familiar with
>>> tin.  To speed up things, be sure to cache NNTP headers
>>> (cache_overview_files=ON on $HOME/.tin/tinrc) and after subscribing
>>> to some newsgroups start tin with `tin -Q`.
>> 
>> AHAH!  Is not having done this the reason that whenever I log onto
>> the server, tin and said server go chugga-chugga for four minutes
>> before I get the list of the only three groups I've subscribed to?
>> 
>> <making that change and on *first* poll of server seeing the
>> four-minute chugga-chugga, and hoping that after this one I won't...>
>> 
>> <returns>
>> 
>> Nope.  Even on second news run after changing that setting, it still
>> does a few minutes (literally) of grinding with the server when I
>> access the server, before getting the list of my three little
>> newsgroups with only about 20 new messages total.  Now what?  I can't
>> believe that it has to do that every time.  Heeeeelp!   :)
> 
> Wait.  You said to use with the g flag, not the r flag.  Let me try
> this that way and see if I can avoid The Big Grind...brb.

Nope.  With either the r or g flags, it still takes two minutes (I
finally timed it) of watching "Reading groups from active file..."
before I see my list of three subscribed groups.  Slrn gets there (with
a much longer list of subscribed groups) in about five seconds; same
server, same connection.  And no, slrn is not looking at a local spool;
its going to the external server just like tin is.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206946
Author: Matt
Date: Wed, 03 Oct 2007 11:25
50 lines
3890 bytes
On 3 Oct 2007 02:02:37 GMT,
Blinky the Shark <no.spam@box.invalid> wrote:

> Remember, now...I've seen that "welcome message" about 2,000 times so
> far.  And it's far from being welcome *here*, any more.  :)

Yeh there too.
That's sad because most of people don't even go further while getting such 
message.

> I was getting that impression.  While it's storing messages in
> /var/spool/news or wherever.

Indeed.

> Only server I have here is leafnode, which doesn't know
> /usr/lib/news/active from squat.

Leafnode doesn't use nor maintain an active file. It use however a 
groupinfo file which does more or less what an active file do.

> AHAH!  Is not having done this the reason that whenever I log onto the
> server, tin and said server go chugga-chugga for four minutes before I
> get the list of the only three groups I've subscribed to?

Could be.
At least my tin behaves in the same way when not using the "-Q" flag.

> <making that change and on *first* poll of server seeing the four-minute
> chugga-chugga, and hoping that after this one I won't...>

> <returns>

> Nope.  Even on second news run after changing that setting, it still
> does a few minutes (literally) of grinding with the server when I access
> the server, before getting the list of my three little newsgroups with
> only about 20 new messages total.  Now what?  I can't believe that it
> has to do that every time.  Heeeeelp!   :)

Indeed it shouldn't.
It has something to do with the server active file.
Try to delete "$HOME/.tin/newsgroups", start tin without the "-Q" flag.

Check man 5 tin, it describes all files used by tin.

-- 
<Slm> Cecile, je me noie dans l'intense bleu de tes yeux océans.
<Cecile> Waw ! C'est profond ce que tu me dis :)
<Slm> CMBDTC
-- http://bashfr.org/?4598
Re: [tin] filter file location
#206947
Author: Matt
Date: Wed, 03 Oct 2007 11:30
18 lines
2912 bytes
On 3 Oct 2007 02:27:51 GMT,
Blinky the Shark <no.spam@box.invalid> wrote:

> Nope.  With either the r or g flags, it still takes two minutes (I
> finally timed it) of watching "Reading groups from active file..."
> before I see my list of three subscribed groups.  Slrn gets there (with
> a much longer list of subscribed groups) in about five seconds; same
> server, same connection.  And no, slrn is not looking at a local spool;
> its going to the external server just like tin is.

With tin compiled with "--enable-debug" you can check what's happening
with `tin -D 1`.

-- 
Duo dit : tout à l'heure j'ai bidouillé le pc de ma soeur
Duo dit : c'est plus un disque dur qu'elle a
Duo dit : c'est un ranch à chevaux de troie
-- http://bashfr.org/?4618
Re: [tin] filter file location
#206951
Author: Urs Janßen
Date: Wed, 03 Oct 2007 12:15
25 lines
2911 bytes
In <fdup0t$2jsb$1@talisker.lacave.net>, Matt wrote:
> Just a hint that you may find useful if you're not familiar with tin.
> To speed up things, be sure to cache NNTP headers (cache_overview_files=ON 
> on $HOME/.tin/tinrc) and after subscribing to some newsgroups start tin with 
> `tin -Q`.

getart_limit (tinrc or -G cmd-line option) can be used to speed up things
if cache_overview_files is not wanted (e.g. lack of disk space). be aware
that too small positive numbers may leed to article loss and too small
negative numbers may corrupt threading. a good overall value is -1000, this
will read all unread articles and the last 1000 read ones (overview
file caching and getart_limit an be combined, this might be helpfull
if the 'local' cache is on a slow device).

the -Q cmd-line flag is a shortcut for -d -n -q. -n only gives you
extra speed if you _only_ have your subscribed groups in your newsrc,
not the usubscribed ones as well (the strip_newsrc tinrc option controls
this). on a server with a more or less static pool of groups -q
doesn't help, and -d is only usefull if the server holds much groups.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: [tin] filter file location
#206953
Author: Blinky the Shark
Date: Wed, 03 Oct 2007 18:10
91 lines
5747 bytes
Matt wrote:
> On 3 Oct 2007 02:02:37 GMT, Blinky the Shark <no.spam@box.invalid>
> wrote:
> 
>> Remember, now...I've seen that "welcome message" about 2,000 times so
>> far.  And it's far from being welcome *here*, any more.  :)
> 
> Yeh there too.  That's sad because most of people don't even go
> further while getting such message.

Whuh?
 
>> I was getting that impression.  While it's storing messages in
>> /var/spool/news or wherever.
> 
> Indeed.
> 
>> Only server I have here is leafnode, which doesn't know
>> /usr/lib/news/active from squat.
> 
> Leafnode doesn't use nor maintain an active file. It use however a
> groupinfo file which does more or less what an active file do.

So I don't get how the active file is different than the conventional
newsrc file. in terms of use and structure?  That's why I asked you for
a sample line or two for information.  From what I read, it seemed like
tin was looking for either a newsrc-esque file named active with all
grouops or a shorter one with similar structure but *only* the
subscribed-to groups.  That's why, to figure out what was happening, if
nothing else, *I* created the active file (yes, in the correct place)
that were copies *copies* of the .newsrc and the .oldnewsrc.  It didn't
make any difference.  Frustrating!  I knew the information - both the
full groups list for the server and the short list of subscribed groups
and read-article numbers were *present*, and that after tin got done
with the Two-Minute Boogie with the server they eventually got read, but
enough with the TMB, already!  :)
 
>> AHAH!  Is not having done this the reason that whenever I log onto
>> the server, tin and said server go chugga-chugga for four minutes
>> before I get the list of the only three groups I've subscribed to?
> 
> Could be.  At least my tin behaves in the same way when not using the
> "-Q" flag.

Okay, I just plugged the Q flag into my bash script.  Bingo!  No
Two-Minute Boogie with the server.  I did a few sessions that way and
things seem to be working fine without it...with one major exception.  I
can't toggle from the subscribed-groups list to the full groups list:
tin isn't seeing the full list, and says there aren't any unsubscribed
groups on the server.  I can see that that's a direct result of not
doing the TMB with the server at the top of every session.  .newsrc only
has the subscribed groups, and wherever tin would've put the full list
from doing the TMB doesn't seem to be retained from the last TMB.

So it looks at this point like a needed workaround to be able to
subscribe to a different group would be to run tin without the Q switch,
to force generation somewhere of the full list; that means having to
bail from a normal (Q) session and reconnect just to add a group.  How
clumsy.  But it beats having to do the Boogie *every* time when it
doesn't appear that the Boogie is needed *except* in the case where I
might want to add a group, which isn't an everyday thing.

But we *are* gaining on it.  :)
 
>> <making that change and on *first* poll of server seeing the
>> four-minute chugga-chugga, and hoping that after this one I won't...>
> 
>> <returns>
> 
>> Nope.  Even on second news run after changing that setting, it still
>> does a few minutes (literally) of grinding with the server when I
>> access the server, before getting the list of my three little
>> newsgroups with only about 20 new messages total.  Now what?  I can't
>> believe that it has to do that every time.  Heeeeelp!   :)
> 
> Indeed it shouldn't.  It has something to do with the server active
> file.  Try to delete "$HOME/.tin/newsgroups", start tin without the
> "-Q" flag.

Went there, did that, got the tee shirt more than once, early on, before
I asked for help here.
 
> Check man 5 tin, it describes all files used by tin.

I did that the first day.  Before I asked for help here.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206957
Author: Blinky the Shark
Date: Wed, 03 Oct 2007 18:17
20 lines
2763 bytes
Matt wrote:
> On 3 Oct 2007 02:27:51 GMT,
> Blinky the Shark <no.spam@box.invalid> wrote:
>
>> Nope.  With either the r or g flags, it still takes two minutes (I
>> finally timed it) of watching "Reading groups from active file..."
>> before I see my list of three subscribed groups.  Slrn gets there (with
>> a much longer list of subscribed groups) in about five seconds; same
>> server, same connection.  And no, slrn is not looking at a local spool;
>> its going to the external server just like tin is.
>
> With tin compiled with "--enable-debug" you can check what's happening
> with `tin -D 1`.

Thanks.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206958
Author: Blinky the Shark
Date: Wed, 03 Oct 2007 18:24
46 lines
4001 bytes
Urs Janßen wrote:
> In <fdup0t$2jsb$1@talisker.lacave.net>, Matt wrote:
>> Just a hint that you may find useful if you're not familiar with tin.
>> To speed up things, be sure to cache NNTP headers (cache_overview_files=ON 
>> on $HOME/.tin/tinrc) and after subscribing to some newsgroups start tin with 
>> `tin -Q`.
>
> getart_limit (tinrc or -G cmd-line option) can be used to speed up things

Dutiful documentation reader that I am, I had tried various low settings
for that, and it didn't make any difference with this issue.

> if cache_overview_files is not wanted (e.g. lack of disk space). be aware
> that too small positive numbers may leed to article loss and too small
> negative numbers may corrupt threading. a good overall value is -1000, this
> will read all unread articles and the last 1000 read ones (overview
> file caching and getart_limit an be combined, this might be helpfull
> if the 'local' cache is on a slow device).
>
> the -Q cmd-line flag is a shortcut for -d -n -q. -n only gives you
> extra speed if you _only_ have your subscribed groups in your newsrc,

Which is the case here, and indeed the Q start resolved my issue.  (At
the expense of having no unsubscribed groups listed so that I can
subscribe to them.  It appears that I can work around that limitation if
I want to subscribe to another group by running tin once without the Q
flag to generate a full groups list, and for subsequent sessions
returning to the quick start.

> not the usubscribed ones as well (the strip_newsrc tinrc option controls
> this). on a server with a more or less static pool of groups -q
> doesn't help, and -d is only usefull if the server holds much groups.

Ahah.  Sounds like disabling strip_newsrc would give me a full list, so
I wouldn't need the workaround I just mentioned.

<clickety>

Except that I already have strip_newsrc=OFF by default, and it's been
that way all along; I know I've not changed that setting.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206960
Author: Matt
Date: Wed, 03 Oct 2007 22:15
32 lines
3401 bytes
On 3 Oct 2007 18:10:49 GMT,
Blinky the Shark <no.spam@box.invalid> wrote:

>> Yeh there too.  That's sad because most of people don't even go
>> further while getting such message.

> Whuh?

Some of people whos asked me how to use tin left it after getting that 
message (maybe they thought that tin was too complex to use).

> So I don't get how the active file is different than the conventional
> newsrc file. in terms of use and structure?  That's why I asked you for
> a sample line or two for information.

Actually they serve the same purpose; newsrc for a newsreader and active for 
the server side.

What's different however is the posting method written on the active file 
whereas newsrc only holds subscribed newsgroups and article count.

>> Check man 5 tin, it describes all files used by tin.

> I did that the first day.  Before I asked for help here.

Sorry Blinky, I'm accustomed to tell people to read man pages as they 
usually don't read documentation by themselves. My bad ;)

-- 
<whats_my_name_> tu connais nirvana et eromeydene ?
<GPK[oqp]> Iron Maiden peut-être ?
-- http://bashfr.org/?213
Re: [tin] filter file location
#206963
Author: Matt
Date: Wed, 03 Oct 2007 22:16
24 lines
3242 bytes
On Wed, 3 Oct 2007 12:15:41 +0000 (UTC),
Urs Janßen <urs@buil.tin.org> wrote:

> getart_limit (tinrc or -G cmd-line option) can be used to speed up things
> if cache_overview_files is not wanted (e.g. lack of disk space). be aware
> that too small positive numbers may leed to article loss and too small
> negative numbers may corrupt threading. a good overall value is -1000, this
> will read all unread articles and the last 1000 read ones (overview
> file caching and getart_limit an be combined, this might be helpfull
> if the 'local' cache is on a slow device).

> the -Q cmd-line flag is a shortcut for -d -n -q. -n only gives you
> extra speed if you _only_ have your subscribed groups in your newsrc,
> not the usubscribed ones as well (the strip_newsrc tinrc option controls
> this). on a server with a more or less static pool of groups -q
> doesn't help, and -d is only usefull if the server holds much groups.

Thanks Urs to remind us that (haven't changed something on my .tinrc for 
ages) =) 

-- 
Kik@ : t'es lunatique ?
Tom : Ca dépend des jours
-- http://bashfr.org/?5221
Re: [tin] filter file location
#206964
Author: Blinky the Shark
Date: Thu, 04 Oct 2007 00:08
45 lines
3721 bytes
Matt wrote:
> On 3 Oct 2007 18:10:49 GMT, Blinky the Shark <no.spam@box.invalid>
> wrote:
>
>>> Yeh there too.  That's sad because most of people don't even go
>>> further while getting such message.
>
>> Whuh?
>
> Some of people whos asked me how to use tin left it after getting that
> message (maybe they thought that tin was too complex to use).
>
>> So I don't get how the active file is different than the conventional
>> newsrc file. in terms of use and structure?  That's why I asked you
>> for a sample line or two for information.
>
> Actually they serve the same purpose; newsrc for a newsreader and
> active for the server side.

Third Request: WHAT DOES A TYPICAL LINE LOOK LIKE in the active file?
Is it some kind of national security issue that this not be known
outside certain circles?  Sorry for the sarcasm; I'm getting tired of
asking the same simple question, directly and specifically.

> What's different however is the posting method written on the active
> file whereas newsrc only holds subscribed newsgroups and article
> count.

So you're saying that there's no way AT ALL for me to have a local copy
(on my HD) of the server's full list of groups, like with every other
news client I have (and I have eight of them), so that:

  It can use that when I wish to subscribe to a new group without
  me having to quit tin; do a non-Q pass at the server to get the
  full list for subscribing; subscribe; and on subsequent instances
  run tin again in Q mode for "normal" (no need to subscribe to a
  new group) mode.

Correct?


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206965
Author: Blinky the Shark
Date: Thu, 04 Oct 2007 00:12
32 lines
3431 bytes
Matt wrote:
> On Wed, 3 Oct 2007 12:15:41 +0000 (UTC),
> Urs Janßen <urs@buil.tin.org> wrote:
>
>> getart_limit (tinrc or -G cmd-line option) can be used to speed up things
>> if cache_overview_files is not wanted (e.g. lack of disk space). be aware
>> that too small positive numbers may leed to article loss and too small
>> negative numbers may corrupt threading. a good overall value is -1000, this
>> will read all unread articles and the last 1000 read ones (overview
>> file caching and getart_limit an be combined, this might be helpfull
>> if the 'local' cache is on a slow device).
>
>> the -Q cmd-line flag is a shortcut for -d -n -q. -n only gives you
>> extra speed if you _only_ have your subscribed groups in your newsrc,
>> not the usubscribed ones as well (the strip_newsrc tinrc option controls
>> this). on a server with a more or less static pool of groups -q
>> doesn't help, and -d is only usefull if the server holds much groups.
>
> Thanks Urs to remind us that (haven't changed something on my .tinrc for 
> ages) =) 

I don't get a full list anywhere, even with strip_newsrc OFF.  And yes,
I'm talking about after I pull news with tin in non-Q mode so that it
*gets* the full list and makes it available *temporarily*; i.e. until
tin is quit.  It still won't *leave* it anywhere locally for
further use.  Why does not-stripping strip?


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#206975
Author: Urs Janßen
Date: Thu, 04 Oct 2007 07:47
7 lines
2216 bytes
In <slrnfg8bvf.qi1.no.spam@thurston.blinkynet.net>, Blinky the Shark wrote:
> tin is quit.  It still won't *leave* it anywhere locally for
> further use.  Why does not-stripping strip?

it doesn't but it does not automatically add unsubscribed groups to
an newsrc. without strip_newsrc it remembers the the groups you once
were subscribed to but later unsubscribe.
Re: [tin] filter file location
#206976
Author: Urs Janßen
Date: Thu, 04 Oct 2007 08:20
45 lines
3731 bytes
Blinky the Shark wrote:
> Third Request: WHAT DOES A TYPICAL LINE LOOK LIKE in the active file?

tin.test 0000000005 0000000006 y

<http://www.tin.org/bin/man.cgi?section=5&topic=active>

but that won't help you much, if tin is not compiled nntp only or
nopt started in nntp mode (-r or -g serv.er) it assumes a
traditional spool local newsserver (inn, cnews, ...). when not using
nntp it has to parse the servers "state" files like the active and
the newsgroups file. most ppl. do not have a (real) local newsserver
(and even if they do, they want to use nntp to access it) so a
nntp-only tin is what they want -> configure with --enable-nntp-only.

> So you're saying that there's no way AT ALL for me to have a local copy
> (on my HD) of the server's full list of groups, like with every other

tin usualy caches the servers newsgroups file (which may differ form
the real list (that would be the active file) of groups on the server)
in

${TIN_HOMEDIR:-"$HOME"}/.tin/$NNTPSERVER${NNTPPORT:+":$NNTPPORT"}/newsgroups

(that expands to ~/.tin/news.example.com/newsgroups)


>   It can use that when I wish to subscribe to a new group without
>   me having to quit tin; do a non-Q pass at the server to get the
>   full list for subscribing; subscribe; and on subsequent instances
>   run tin again in Q mode for "normal" (no need to subscribe to a
>   new group) mode.

you can't subscribe to groups not present in your newsrc when using
-n (which is part of -Q). background is that tin doesn't use
"LIST ACTIVE" when using -n (to avoid to read the group status of
very group on the server as this usualy takes a while on big
servers) -> tin does not know what groups are present on the
server.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: [tin] filter file location
#206979
Author: Matt
Date: Thu, 04 Oct 2007 11:20
39 lines
3977 bytes
On 4 Oct 2007 00:08:21 GMT,
Blinky the Shark <no.spam@box.invalid> wrote:

> Third Request: WHAT DOES A TYPICAL LINE LOOK LIKE in the active file?
> Is it some kind of national security issue that this not be known
> outside certain circles?  Sorry for the sarcasm; I'm getting tired of
> asking the same simple question, directly and specifically.

Dude why don't you _read_ the link i've posted earlier and i repost below:
<http://www.eyrie.org/~eagle/software/inn/docs-2.4/active.html>

It describes how an active file looks like!

> So you're saying that there's no way AT ALL for me to have a local copy
> (on my HD) of the server's full list of groups, like with every other
> news client I have (and I have eight of them), so that:

>  It can use that when I wish to subscribe to a new group without
>  me having to quit tin; do a non-Q pass at the server to get the
>  full list for subscribing; subscribe; and on subsequent instances
>  run tin again in Q mode for "normal" (no need to subscribe to a
>  new group) mode.

> Correct?

YES.
What's wrong with (quoting from man 1 tin):

-n	Only load groups from the ${TIN_LIBDIR-NEWSLIB-DIR}"/"${TIN_
	ACTIVEFILE-active} file that are subscribed to in the user's
	${TIN_HOMEDIR-"$HOME"}/.newsrc. This allows a noticeable
	speedup when connecting via a slow line, but tin can not tell
	which groups are moderated. See also ''-l''.

-- 
beowulf: je m'emmerdais l'autre coup a la fnac
beowulf: et j'ai vu une très vieille qui lisait un roman 
beowulf: alors je l'ai denoncé au vendeur
-- http://bashfr.org/?4447
Re: [tin] filter file location
#206995
Author: Blinky the Shark
Date: Thu, 04 Oct 2007 18:00
74 lines
4961 bytes
Urs Jan�en wrote:
> Blinky the Shark wrote:
>> Third Request: WHAT DOES A TYPICAL LINE LOOK LIKE in the active file?
>
> tin.test 0000000005 0000000006 y

Thanks.  Early on, I tried manually making one of those, with *excactly*
that format, for three groups.  tin told me either that it didn't contain
any newsgroups or that it was corrupt.

><http://www.tin.org/bin/man.cgi?section=5&topic=active>
>
> but that won't help you much, if tin is not compiled nntp only or

So +NNTP_ABLE, with which my installation is compiled, is not "able"?

> nopt started in nntp mode (-r or -g serv.er) it assumes a

I've started it in -r and -g modes about two hundred times.  Unless I'm
testing something else, I always run it in one of those modes.

> traditional spool local newsserver (inn, cnews, ...). when not using
> nntp it has to parse the servers "state" files like the active and

I always use nntp.

> the newsgroups file. most ppl. do not have a (real) local newsserver

My eight other news clients have never required a local server.  I do
run Hamster and Leafnode to pre-filter for Thunderbird (because TB is
brain-dead WRT filtering), but not because the client itself demands
them.

> (and even if they do, they want to use nntp to access it) so a
> nntp-only tin is what they want -> configure with --enable-nntp-only.

>> So you're saying that there's no way AT ALL for me to have a local
>> copy (on my HD) of the server's full list of groups, like with every
>> other
>
> tin usualy caches the servers newsgroups file (which may differ form
> the real list (that would be the active file) of groups on the server)
> in
>
> ${TIN_HOMEDIR:-"$HOME"}/.tin/$NNTPSERVER${NNTPPORT:+":$NNTPPORT"}/newsgroups
>
> (that expands to ~/.tin/news.example.com/newsgroups)

All I have in that directory are .oldnewsrc and serverrc.  The former
only contains the three newsgroups to which I've subscribed.

>>   It can use that when I wish to subscribe to a new group without me
>>   having to quit tin; do a non-Q pass at the server to get the full
>>   list for subscribing; subscribe; and on subsequent instances run
>>   tin again in Q mode for "normal" (no need to subscribe to a new
>>   group) mode.
>
> you can't subscribe to groups not present in your newsrc when using -n
> (which is part of -Q). background is that tin doesn't use "LIST
> ACTIVE" when using -n (to avoid to read the group status of very group
> on the server as this usualy takes a while on big servers) -> tin does
> not know what groups are present on the server.

Yeah.  And for the three or four days I've been wrestling with tin, 97%
of my time has been spent trying to GET the full groups ("full" means
"including unsubscribed") to be saved.  At all.  Anywhere.  Anywhere
that tin is able to find what it saved.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#207007
Author: Blinky the Shark
Date: Thu, 04 Oct 2007 18:19
67 lines
4993 bytes
Matt wrote:
> On 4 Oct 2007 00:08:21 GMT,
> Blinky the Shark <no.spam@box.invalid> wrote:
>
>> Third Request: WHAT DOES A TYPICAL LINE LOOK LIKE in the active file?
>> Is it some kind of national security issue that this not be known
>> outside certain circles?  Sorry for the sarcasm; I'm getting tired of
>> asking the same simple question, directly and specifically.
>
> Dude why don't you _read_ the link i've posted earlier and i repost below:
><http://www.eyrie.org/~eagle/software/inn/docs-2.4/active.html>
>
> It describes how an active file looks like!

Early on in this struggle, I created a local active file (and yes, I put
it where tin is looking for it) that had just that format, for the three
groups to which I've subecribed.  It would not use it.  It solved
nothing.

>> So you're saying that there's no way AT ALL for me to have a local copy
>> (on my HD) of the server's full list of groups, like with every other
>> news client I have (and I have eight of them), so that:
>
>>  It can use that when I wish to subscribe to a new group without
>>  me having to quit tin; do a non-Q pass at the server to get the
>>  full list for subscribing; subscribe; and on subsequent instances
>>  run tin again in Q mode for "normal" (no need to subscribe to a
>>  new group) mode.
>
>> Correct?
>
> YES.

Okay.

> What's wrong with (quoting from man 1 tin):
>
> -n	Only load groups from the ${TIN_LIBDIR-NEWSLIB-DIR}"/"${TIN_
> 	ACTIVEFILE-active} file that are subscribed to in the user's
> 	${TIN_HOMEDIR-"$HOME"}/.newsrc. This allows a noticeable
> 	speedup when connecting via a slow line, but tin can not tell
> 	which groups are moderated. See also ''-l''.

I've read man.  I've used the information in man.  I've use the flags in
man.  I can run tin without having it check the remote server's entire
list.  But I can't get it to save ALL of the groups in a local list so
that I can subscribe to them without having to quit tin and rerun it
just for the sake of getting that list temporarily.

And I'm tired of the circular help here that just takes me back to where
I already am.  I appreciate the try, but I've wasted enough time with
this.  Perhaps you (the generic "tin users" "you") are only fimiliar
with tin.  I'm a news client junkie and between Linux and Windows, I
have nine installed (and two local servers).  I just dig being fluent in
them (note plural) for its own satisfaction; and I like being able to
assist in this group with more than one.  Not one of the other ones have
to be stopped and restarted just to subscribe to a group.  That is, for
me, unacceptable behavior.

So my client count will shortly be dropping to eight; the ones I was
using before in installed tin.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [tin] filter file location
#207004
Author: Urs Janßen
Date: Thu, 04 Oct 2007 21:09
49 lines
4141 bytes
In <slrnfgaail.7vb.no.spam@thurston.blinkynet.net>, Blinky the Shark wrote:
> > tin.test 0000000005 0000000006 y
> Thanks.  Early on, I tried manually making one of those, with *excactly*
> that format, for three groups.  tin told me either that it didn't contain
> any newsgroups or that it was corrupt.

just having an active file doesn't suffice, you also need the local
newsspol in the right place etc.

> ><http://www.tin.org/bin/man.cgi?section=5&topic=active>
> > but that won't help you much, if tin is not compiled nntp only or
> So +NNTP_ABLE, with which my installation is compiled, is not "able"?

NNTP_ABLE is not NNTP_ONLY (in the later case you don't need -r or -g
to use nntp, in the NNTP_ABLE case tin will _not_ use nntp if not
explicitly told to (-r or -g).

> > nopt started in nntp mode (-r or -g serv.er) it assumes a
> I've started it in -r and -g modes about two hundred times.  Unless I'm
> testing something else, I always run it in one of those modes.

with -r or -g you will never see any complains about a missing local
active file.

> > the newsgroups file. most ppl. do not have a (real) local newsserver
> My eight other news clients have never required a local server.  I do

tin does _not_ require a local server, but it can handle one
_without_ speaking nntp.

> > ${TIN_HOMEDIR:-"$HOME"}/.tin/$NNTPSERVER${NNTPPORT:+":$NNTPPORT"}/newsgroups
> > (that expands to ~/.tin/news.example.com/newsgroups)
> All I have in that directory are .oldnewsrc and serverrc.  The former
> only contains the three newsgroups to which I've subscribed.

then your server does not give a usefull response to LIST NEWSGROUPS

> Yeah.  And for the three or four days I've been wrestling with tin, 97%
> of my time has been spent trying to GET the full groups ("full" means
> "including unsubscribed") to be saved.  At all.  Anywhere.  Anywhere
> that tin is able to find what it saved.

tin does not save a list of all groups

#v+
echo 'MODE READER\nAUTHINFO USER jdoe\nAUTHINFO PASS seCRet\nLIST\nQUIT\n'|\
netcat -i 2 news.example.com 119|awk 'BEGIN {FS=" "}{if(NF==4){print $1}}'|\
sort > grps.example.com
#v-
Re: [tin] filter file location
#207010
Author: Peter J Ross
Date: Thu, 04 Oct 2007 23:39
47 lines
3001 bytes
In news.software.readers on 1 Oct 2007 12:23:10 GMT, Blinky the Shark
<no.spam@box.invalid> wrote:

> Peter Lemken wrote:
>> Blinky the Shark <no.spam@box.invalid> wrote:
>>
>>>> It appears from the resource I linked, below, that you have a choice of
>>>> windmat or regex.  Which are you configured for?  Have you tried
>>
>> WILDMAT is configured in the menu.
>>
>>>> *google*
>>>>
>>>> ?
>>> 
>>> Just found, in that resource: "When you are using wildmat pattern-matching,
>>> patterns in ~/.tin/filter should be delimited with "*"..."
>>
>> The rest of my entries in ~/.tin/filter is indeed configured to have "*"
>> arnound them, which is why I am at loss why it shouldn't work with
>> *googlegroups* as entry for msgid_only.
>>
>> Currently my filter file looks like this:
>>
>> group=*
>> case=0
>> score=kill
>> msgid_only=*googlegroups*
>>
>> and I would have expected it to work just like that, but it doesn't.
>
> I just installed tin

Yay!

> But when I run it without the -r switch to direct
> it, it won't run and throws a 
>
>   Can't open /usr/lib/news/active. Try tin -r to read news via NNTP.

That's because you didn't use the -r switch.

To read a leafnode spool, try "-rg localhost".


-- 
PJR :-)
Re: [tin] filter file location
#207015
Author: Blinky the Shark
Date: Fri, 05 Oct 2007 00:11
60 lines
3391 bytes
Peter J Ross wrote:

> In news.software.readers on 1 Oct 2007 12:23:10 GMT, Blinky the
> Shark <no.spam@box.invalid> wrote:
> 
>> Peter Lemken wrote:
>>> Blinky the Shark <no.spam@box.invalid> wrote:
>>>
>>>>> It appears from the resource I linked, below, that you have
>>>>> a choice of windmat or regex.  Which are you configured for?
>>>>>  Have you tried 
>>>
>>> WILDMAT is configured in the menu.
>>>
>>>>> *google*
>>>>>
>>>>> ?
>>>> 
>>>> Just found, in that resource: "When you are using wildmat
>>>> pattern-matching, patterns in ~/.tin/filter should be
>>>> delimited with "*"..." 
>>>
>>> The rest of my entries in ~/.tin/filter is indeed configured
>>> to have "*" arnound them, which is why I am at loss why it
>>> shouldn't work with *googlegroups* as entry for msgid_only.
>>>
>>> Currently my filter file looks like this:
>>>
>>> group=*
>>> case=0
>>> score=kill
>>> msgid_only=*googlegroups*
>>>
>>> and I would have expected it to work just like that, but it
>>> doesn't. 
>>
>> I just installed tin
> 
> Yay!

Very old news.

>> But when I run it without the -r switch to direct
>> it, it won't run and throws a 
>>
>>   Can't open /usr/lib/news/active. Try tin -r to read news via
>>   NNTP. 
> 
> That's because you didn't use the -r switch.
> 
> To read a leafnode spool, try "-rg localhost".

in has been removed.


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project moved to this site August 28th:
http://improve-usenet.org
Re: [tin] filter file location
#207018
Author: Urs Janßen
Date: Fri, 05 Oct 2007 00:51
7 lines
2128 bytes
In <slrnfgaudp.t4s.pjr@pjr.gotdns.org>, Peter J Ross wrote:
> >   Can't open /usr/lib/news/active. Try tin -r to read news via NNTP.
> That's because you didn't use the -r switch.
> To read a leafnode spool, try "-rg localhost".

JFTR
-g implies -r
Re: [tin] filter file location
#207044
Author: Frank Slootweg
Date: Fri, 05 Oct 2007 20:25
29 lines
2810 bytes
[Someone may want to quote this response as I am supposedly in Blinky's
killfile.]

Blinky the Shark <no.spam@box.invalid> wrote:
[...]

> I don't get a full list anywhere, even with strip_newsrc OFF.  And yes,
> I'm talking about after I pull news with tin in non-Q mode so that it
> *gets* the full list and makes it available *temporarily*; i.e. until
> tin is quit.  It still won't *leave* it anywhere locally for
> further use.  Why does not-stripping strip?

  tin doesn't 'strip' the complete list, it just doesn't *save* it.

  As you've found out, tin can get/display the whole list and you can
search the list and subscribe to groups. So you have all the
functionality you need for reading/posting.

  Urs gave a non-tin workaround to get the full list.

  Out of interest: *Why* do you want/need the full list and what has
this got to do with the tin killfile (filter file) examples for the UIP?

  BTW, as a very crude workaround you can use "S *" to subscribe to all
groups and then exit. Your .newsrc will then contain "a full list",
albeit in .newsrc format and hence without descriptions. I tried that
and it worked, but it took 'forever' to finish.

  HTH.
Re: [tin] filter file location
#207046
Author: Frank Slootweg
Date: Fri, 05 Oct 2007 20:35
17 lines
2245 bytes
Urs Jan?en <urs@buil.tin.org> wrote:
[...]

> > > ${TIN_HOMEDIR:-"$HOME"}/.tin/$NNTPSERVER${NNTPPORT:+":$NNTPPORT"}/newsgroups
> > > (that expands to ~/.tin/news.example.com/newsgroups)
> > All I have in that directory are .oldnewsrc and serverrc.  The former
> > only contains the three newsgroups to which I've subscribed.
> 
> then your server does not give a usefull response to LIST NEWSGROUPS

  FWIW, I also don't get a newsgroups file, and both my real News server
(news.wanadoo.nl) and my local Hamster *do* respond to LIST NEWSGROUPS,
i.e. they list the newsgroups and most of them have descriptions (some
of them haven't and some of them have "?" as description). Any idea what
could cause this?

[...]
Re: [tin] filter file location
#207052
Author: Urs Janßen
Date: Sat, 06 Oct 2007 13:50
5 lines
1914 bytes
In <4706a006$0$60575$dbd45001@news.wanadoo.nl>, Frank Slootweg wrote:
>   FWIW, I also don't get a newsgroups file, and both my real News server

your tin version is way too old (or too young, that feature war
broken between 1.4.something and 1.7.10).
Re: [tin] filter file location
#207054
Author: Urs Janßen
Date: Sat, 06 Oct 2007 15:38
5 lines
1897 bytes
In <47069dba$0$24098$dbd4d001@news.wanadoo.nl>, Frank Slootweg wrote:
> albeit in .newsrc format and hence without descriptions. I tried that
> and it worked, but it took 'forever' to finish.

to related code is overcomplex - fixed that.
Page 2 of 2 • 75 total messages
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