Thread View: news.software.readers
10 messages
10 total messages
Started by Marshall G. Flax
Sat, 06 Aug 1994 17:52
"trn -p" for multiple usernames.
Author: Marshall G. Flax
Date: Sat, 06 Aug 1994 17:52
Date: Sat, 06 Aug 1994 17:52
8 lines
1042 bytes
1042 bytes
If I only post as mgflax@panix.com, then the "-p" command-line option works wonders at selecting my posts. But suppose I also post as mgflax@phoenix.princeton.edu or anXXXXXX@anon.penet.fi. How can I tell trn to have the -p option apply to those posts two? Marshall "I only post under my own name but I know others who don't" Flax -- [Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
Re: "trn -p" for multiple usernames.
Author: Denis McKeon
Date: Sun, 07 Aug 1994 13:08
Date: Sun, 07 Aug 1994 13:08
33 lines
2151 bytes
2151 bytes
In <320ilp$fio@panix2.panix.com>, Marshall G. Flax <mgflax@panix.com> wrote:
>If I only post as mgflax@panix.com, then the "-p" command-line option
>works wonders at selecting my posts. But suppose I also post as
>mgflax@phoenix.princeton.edu or anXXXXXX@anon.penet.fi. How can I tell
>trn to have the -p option apply to those posts two?
>
>Marshall "I only post under my own name but I know others who don't" Flax
>--
>[Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
In your global command (kill) file, put:
/mgflax@panix.com/f:+
/mgflax@phoenix.princeton.edu/f:+
/anXXXXXX@anon.penet.fi/f:+
or appropriate variations of those.
If you only post to a few groups, but scan many, you might put the above
lines in only the groups you post to, to save the overhead of scanning
every group for your posts.
For a related trick, if you save your outgoing posts, and you want to
scan only newsgroups you have posted to recently, try a variation of
this kludge:
#!/bin/csh
mush -F! ~/News/pick.posts -f ~/mbox > /dev/null
if ( $1 == "" ) then
set num=10
else
set num=$1
endif
trn ` egrep -e '^Newsgroups: ' ~/News/posted | tail -${num}r | \
sed -e 's/^Newsgroups: //' -e 's/,/ /' | sort -u `
Re: "trn -p" for multiple usernames.
Author: Marshall G. Flax
Date: Sun, 07 Aug 1994 23:26
Date: Sun, 07 Aug 1994 23:26
16 lines
1282 bytes
1282 bytes
In article <323bgs$8rr@lynx.unm.edu>, Denis McKeon <galway@chtm.eece.unm.edu> wrote: > >In your global command (kill) file, put: > /mgflax@panix.com/f:+ > /mgflax@phoenix.princeton.edu/f:+ > /anXXXXXX@anon.penet.fi/f:+ >or appropriate variations of those. Thanks for the suggestions. Unfortunately, the "-p" command-line option does something slighty different -- it also includes follow-ups to read articles by the current user -- at least I belive it does! marshall -- [Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
Re: "trn -p" for multiple usernames.
Author: Wayne Davison
Date: Sun, 07 Aug 1994 23:53
Date: Sun, 07 Aug 1994 23:53
17 lines
1486 bytes
1486 bytes
According to Marshall G. Flax <mgflax@panix.com>: > But suppose I also post as > mgflax@phoenix.princeton.edu or anXXXXXX@anon.penet.fi. How can I tell > trn to have the -p option apply to those posts [too]? Put "/mgflax@phoenix.princeton.edu\|anXXXXXX@anon.penet.fi/Hfrom:T." into your global kill file, which is essentially what -p does for your default login name (though -p is slightly more optimized than that for thread file users who don't have the full login@domain name stored in the thread file). The T. command selects the article and all its replies. Use T+ to select the whole thread to which you reply. As for the -pp option introduced in trn 3.5 (select the parent article of your reply and all its replies) I can't think of any way to do that via the global kill file, off hand. -- Wayne Davison davison@borland.com
Re: "trn -p" for multiple usernames.
Author: Marshall G. Flax
Date: Mon, 08 Aug 1994 02:09
Date: Mon, 08 Aug 1994 02:09
9 lines
1073 bytes
1073 bytes
In article <Cu6vpG.8w7@borland.com>, Wayne Davison <davison@borland.com> wrote: >Put "/mgflax@phoenix.princeton.edu\|anXXXXXX@anon.penet.fi/Hfrom:T." >into your global kill file, which is essentially what -p does for your Thanks! That's exactly what I'm looking for! marshall -- [Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
Re: "trn -p" for multiple usernames.
Author: Steven King, Software Archaeolog...
Date: Mon, 08 Aug 1994 15:01
Date: Mon, 08 Aug 1994 15:01
43 lines
2884 bytes
2884 bytes
mgflax@panix.com (Marshall G. Flax) publicly declared:
>If I only post as mgflax@panix.com, then the "-p" command-line option
>works wonders at selecting my posts. But suppose I also post as
>mgflax@phoenix.princeton.edu or anXXXXXX@anon.penet.fi. How can I tell
>trn to have the -p option apply to those posts two?
You can't. The -p flag is only a shorthand way for trn to select posts
based on your current email address.
What you need to do instead is to create a memorized command ("KILL")
file which contains selection commands for your alternate address. This
works for any address -- Anonymous servers, alternate accounts you have
at other sites, or even friends you just want to keep tabs on. Use "^K"
to create a KILL file for a specific group, or to create a global KILL
file which will be run on all groups. In the file put...
/anXXXXXX@anon.penet.fi/Hfrom:+
This tells trn to select all posts that have that address in the From:
line. If you want to simulate the -p option and have trn select the
entire sub-thread, try...
/anXXXXXX@anon.penet.fi/Hfrom:T,
Trn also has a "f" modifier. You might be tempted to try this same
trick with "/anXXXXXX@anon.penet.fi/f:+". That looks like it'll do the
same thing, but the "f" modifier only looks at the name in the overview
file. Only the fullname ("John H. Smith") is kept in the overview file,
not the userid. The "f" flag won't tend to match if you try to use it
to select userids. (Wayne, would you correct me if I'm wrong about
this?)
You can use this same trick to select (or junk!) all users at a
particular site. The first example selects all anonymous posts, the
second junks them all. Many people swear by the second form!
/@anon.penet.fi/Hfrom:+
/@anon.penet.fi/Hfrom:j
--
----------------------------------------------<Steven King, king@cig.mot.com>--
Cogito ergo spud. I think, therefore I yam. (Unknown)
I yam wot I yam and dat's all wot I yam. (Popeye)
Re: "trn -p" for multiple usernames.
Author: Wayne Davison
Date: Thu, 11 Aug 1994 20:16
Date: Thu, 11 Aug 1994 20:16
15 lines
1426 bytes
1426 bytes
According to Steven King, Software Archaeologist <king@wildebeest.cig.mot.com>: > Trn also has a "f" modifier. You might be tempted to try this same > trick with "/anXXXXXX@anon.penet.fi/f:+". That looks like it'll do the > same thing, but the "f" modifier only looks at the name in the overview > file. Not quite. For overview file users the "f" modifer is identical to "Hfrom". The only difference is for thread file users because thread files only have the real name in them -- "f" does not force the From lines to be updated if they are still truncated (as they are only when using thread files). Using Hfrom guarantees that the whole From line will be matched since it will grab the real From line if it needs to. -- Wayne Davison davison@borland.com
Re: "trn -p" for multiple usernames.
Author: Marshall G. Flax
Date: Fri, 12 Aug 1994 01:00
Date: Fri, 12 Aug 1994 01:00
14 lines
1305 bytes
1305 bytes
In article <Cu6vpG.8w7@borland.com>, Wayne Davison <davison@borland.com> wrote:
>Put "/mgflax@phoenix.princeton.edu\|anXXXXXX@anon.penet.fi/Hfrom:T."
>into your global kill file,
The above works wonderfully, except that after scanning for my threads
upon entering a newsgroup, it says "Hit any key to continue" before going
to the thread selection menu. Is there a way to bypass this pause?
Thanks for everyone's help.
marshall
--
mgflax@panix.com
[Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
Re: "trn -p" for multiple usernames.
Author: Marshall G. Flax
Date: Fri, 12 Aug 1994 13:54
Date: Fri, 12 Aug 1994 13:54
12 lines
1348 bytes
1348 bytes
In article <32ehis$j1q@panix2.panix.com>,
Marshall G. Flax <mgflax@panix.com> wrote:
>The above works wonderfully, except that after scanning for my threads
>upon entering a newsgroup, it says "Hit any key to continue" before going
>to the thread selection menu. Is there a way to bypass this pause?
Several kind readers have emailed me with the answer "-f". Thanks to all!
marshall
--
mgflax@panix.com
[Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
Re: "trn -p" for multiple usernames.
Author: Steven King, Software Archaeolog...
Date: Mon, 15 Aug 1994 14:30
Date: Mon, 15 Aug 1994 14:30
18 lines
1860 bytes
1860 bytes
davison@borland.com (Wayne Davison) publicly declared:
>Not quite. For overview file users the "f" modifer is identical to
>"Hfrom". The only difference is for thread file users because thread
>files only have the real name in them -- "f" does not force the From
>lines to be updated if they are still truncated (as they are only when
>using thread files). Using Hfrom guarantees that the whole From line
>will be matched since it will grab the real From line if it needs to.
Ah, that's it. I use thread files on my home system and overview files
at work. I knew there was a difference but I'd forgotten which way it
went. Thanks for the info!
--
----------------------------------------------<Steven King, king@cig.mot.com>--
Only Irish coffee provides in a single glass all four essential food groups:
alcohol, caffeine, sugar, and fat.
(Alex Levine)
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