🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Dan Hartung Wed, 09 Dec 1992 22:07
Various Filtering via TRN -- possible? how?
#2709
Author: Dan Hartung
Date: Wed, 09 Dec 1992 22:07
25 lines
1766 bytes
Well, okay, it's my own fault.  I didn't carefully peruse the
Followupto line, and I got my article crossposted to misc.test.

Being a computer person, I naturally think that manual intervention
of the kind the perpetrator of this practical joke suggested (like
I should expect this kind of behavior as normal on the net) is
beneath me.  Make the machine do it!  

So is there a way to make TRN smart enough to eliminate misc.test
from my Newgroups line?  Or some other behavior which would have
equivalent results, e.g. my not getting a zillion "Your test
received here" responses.

I would also like a quick way of determining which threads I've
already replied to.  I've tried putting various expressions in
my kill file but I don't seem to be doing it right.  What I've
tried is basically a variation on "/h:myname@mysite/m" but that
doesn't seem to give me what I want.


-- 
The Presidential Towers complex here   | Dan Hartung               |  Ask me
in Chicago is bounded by four streets: | dhartung@chinet.chi.il.us |  about
Jefferson, Adams, Monroe  .....        | Birch Grove Software      | Rotaract!
        and Clinton!
Re: Various Filtering via TRN -- possible? how?
#2716
Author: Larry W. Virden
Date: Thu, 10 Dec 1992 11:36
36 lines
2248 bytes
In article <Bz0Irx.2L6@chinet.chi.il.us> dhartung@chinet.chi.il.us (Dan Hartung) writes:
:So is there a way to make TRN smart enough to eliminate misc.test
:from my Newgroups line?  Or some other behavior which would have

What I have is a mod to Pnews which takes all the groups on my Newsgroups
line and prints out their /usr/lib/news/newsgroups entries.  That way I
get a visual reminder that there are more than one, that it is a post not
a email, and I can decide if all the groups are still relevant.

I forget if I changed the way that trn / posting works to automatically
change Followup to be a single newsgroup...

:I would also like a quick way of determining which threads I've
:already replied to.  I've tried putting various expressions in
:my kill file but I don't seem to be doing it right.  What I've
:tried is basically a variation on "/h:myname@mysite/m" but that
:doesn't seem to give me what I want.

I would love to have an automatic way to do this - something I could
put into Pnews so that I always got a check.  

Try the KILL pattern:

/myname@mysite/h:+

and see if that doesn't help.  Or perhaps even better, use:

/myname@mysite/a:+

and you will pick up folk who are replying to your msgs also!

The plus will automatically select the threads for you as well!
-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
Re: Various Filtering via TRN -- possible? how?
#2717
Author: Sridhar Venkataraman
Date: Thu, 10 Dec 1992 15:21
41 lines
1961 bytes
dhartung@chinet.chi.il.us writes:

)Well, okay, it's my own fault.  I didn't carefully peruse the
)Followupto line, and I got my article crossposted to misc.test.

[...]

)So is there a way to make TRN smart enough to eliminate misc.test
)from my Newgroups line?  Or some other behavior which would have
)equivalent results, e.g. my not getting a zillion "Your test
)received here" responses.

There is. Sorry about not offering a polished one but it should give
you something to think about. This should go into the file defined by
the env. var. RNINIT.

-ENEWSHEADER="\
From: sridhar@asuvax.eas.asu.edu (%N)
Subject: Re: %S
References: %R
Distribution: %D
Organization: %o
Newsgroups: %(%F=.*misc.test.*?:%F)

"

Here is a similar one for the '=' command which is in the init files
of countless number of people using rn/trn. Just to give an idea what
regular expressions can do. Anybody remembers who the original author
is?

-ESUBJLINE="\
%(%(%[from]=(\\(.*[^ ].*\\))$?\
%1:%[from])               =^\\(...............\\)?%1) \
(%(    %[lines]=\\(....\\)$?%1)) \
%(%[subject]=^\\(...................................................\\)?\
%1:%[subject])"

Sridhar.
--
Sridhar Venkataraman			sridhar@asuvax.eas.asu.edu
Re: Various Filtering via TRN -- possible? how?
#2720
Author: Tim Pierce
Date: Thu, 10 Dec 1992 16:21
24 lines
1685 bytes
In article <Bz0Irx.2L6@chinet.chi.il.us> dhartung@chinet.chi.il.us (Dan Hartung) writes:

>Well, okay, it's my own fault.  I didn't carefully peruse the
>Followupto line, and I got my article crossposted to misc.test.
>...
>So is there a way to make TRN smart enough to eliminate misc.test
>from my Newgroups line?  Or some other behavior which would have
>equivalent results, e.g. my not getting a zillion "Your test
>received here" responses.

I would probably copy Pnews to my $HOME/bin directory and add a sed
command to filter misc.test out of the Newsgroups: line.  
sed -e '/^Newsgroups:/s/misc\.test,?//g;s/,$//' seems to work here.
I'm not sure where you'd want to put this in Pnews, though -- I'm not
enough of a trn hacker.

In any case, I'd recommend against doing this at all.  This is the
sort of thing that keeps you on your toes on Usenet, which is always a
useful skill to have.

-- 
____ Tim Pierce                / 
\  / twpierce@unix.amherst.edu /               Rocks say goodbye.
 \/ (BITnet: TWPIERCE@AMHERST) / 
Re: Various Filtering via TRN -- possible? how?
#2726
Author: Per Hedeland
Date: Fri, 11 Dec 1992 08:56
21 lines
1810 bytes
In article <1992Dec10.152141.22728@ennews.eas.asu.edu>, sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman ) writes:
|> Here is a similar one for the '=' command which is in the init files
|> of countless number of people using rn/trn. Just to give an idea what
|> regular expressions can do. Anybody remembers who the original author
|> is?
|> 
|> -ESUBJLINE="\
|> %(%(%[from]=(\\(.*[^ ].*\\))$?\
|> %1:%[from])               =^\\(...............\\)?%1) \
|> (%(    %[lines]=\\(....\\)$?%1)) \
|> %(%[subject]=^\\(...................................................\\)?\
|> %1:%[subject])"

Well, it was original with me when I posted it to the net long ago -
actually the above isn't exactly what I posted, but what is in my
current init file - I believe you got it from me by mail a while back...

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
..uunet!erix.ericsson.se!per
Re: Various Filtering via TRN -- possible? how?
#2730
Author: Sridhar Venkataraman
Date: Fri, 11 Dec 1992 16:48
36 lines
2230 bytes
per@erix.ericsson.se (Per Hedeland) writes in response to my posting:

)Well, it was original with me when I posted it to the net long ago -
)actually the above isn't exactly what I posted, but what is in my
)current init file - I believe you got it from me by mail a while back...

Yes. I do have it but I have mutilated it enough (and use it) and
don't remember what you sent me in the first place!

I have a few questions about trn's behavior (and some 
requests) myself... Hope Wayne is listening..

1. The manual mentions that any init file assignments can be directly
applied in a KILL file prepended by a & or X as appropriate. But the
entries seem to be evaluated on a line-by-line basis rather than a
multi-line processing (when encountering a \ at the end of a line) in
an init file. Is this behavior possible to fix? Ofcourse it works when
concatenating all lines to form a single line. The only problem is
with vi's line-length limitation when a line gets too long.

2. The absence of NNTP-Posting-Host and In-Reply-To in the list of
known headers is annoying when reading at 2400 baud. Is there any
reason not to include them?

3. This is not specific to trn. But has anybody thought of
implementing a "header" mode compared to the "article" mode in a
newsreader whose equivalent in NNTP would be to send "HEAD XXXX" rather
than "ARTICLE XXXX".

Thanx for any replies/fixes.

)--Per Hedeland

Sridhar.
--
Sridhar Venkataraman			sridhar@asuvax.eas.asu.edu
Re: Various Filtering via TRN -- possible? how?
#2745
Author: Dan Hartung
Date: Sat, 12 Dec 1992 06:08
21 lines
1616 bytes
twpierce@unix.amherst.edu (Tim Pierce) writes:
[a couple of useful suggestions to do what I want]
>
>In any case, I'd recommend against doing this at all.  This is the
>sort of thing that keeps you on your toes on Usenet, which is always a
>useful skill to have.

An excellent point.  Hadn't thought about it at all ... ironically, just
a few moments ago I was reading comp.risks about how the design of a
computer system influences behavior.  E.g. cops forced to log parking
tickets might spend less time doing unloggable things like checking
suspicious broken windows.  Here I mihgt unexpectedly increase my
risk of being caught in some kind of news software trap!

Quite the opposite of what I intended ....

-- 
The Presidential Towers complex here   | Dan Hartung               |  Ask me
in Chicago is bounded by four streets: | dhartung@chinet.chi.il.us |  about
Jefferson, Adams, Monroe  .....        | Birch Grove Software      | Rotaract!
        and Clinton!
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