🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by John Red-Horse Tue, 11 Jan 1994 15:43
Selection based on Message-ID in trn?
#7277
Author: John Red-Horse
Date: Tue, 11 Jan 1994 15:43
19 lines
1205 bytes
A previous post that I made regarding cross/re-posts brought up a good
question:  How does one make a selection in trn based on the message's
message-id.  I tried the following from the pager/article reading
mode:

  /id/Hmessage-id:m+

Then, I tried

 /id/h:m+

The former did nothing while the latter case would select messages
referencing the message with ``id''.  Apparently, the ``References''
header was being matched.

Any suggestions?

thanks,
john
Re: Selection based on Message-ID in trn?
#7274
Author: Wayne Davison
Date: Tue, 11 Jan 1994 20:43
44 lines
2141 bytes
According to John Red-Horse <jrredho@sandia.gov>:
> How does one make a selection in trn based on the message's
> message-id.

I assume you aren't talking about a repeat selection via the memorized
commands, because the easiest way to do that is to use the 'T' command
on the article you wish to select (T. to select this article and its
replies, or T+ (which is the default if you type T<space>) to select
this article and all other articles in its thread).

In other words, I assume you have a message id you snagged from somewhere,
and you'd like to track it down.  Hmmm... Maybe there should be a command
added for that since a check of the internal message-id hash would be
really quick.  However, your search method should work just fine:

>   /id/Hmessage-id:m+

and be nearly as fast, since all the message-id headers are cached.

I just tried out the following command, and it worked as expected:

   /<1994Jan6.025952.3447@martha.utcc.utk.edu>/Hmessage-id:m+

Perhaps you mis-typed the id?  Or maybe you don't have a recent version
of trn?  3.4.1 is the latest (see ftp.uu.net:news/readers/trn).

> Then, I tried
> 
>  /id/h:m+
> 
> [..] Apparently, the ``References'' header was being matched.

True, this was matching the whole header.  You could do:

   /^Message-ID:.*<id>/h:m+

and have it match the same articles as:

   /<id>/Hmessage-id:m+

just not as quickly.
-- 
Wayne Davison
davison@borland.com
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