🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Ron Newman Fri, 07 Oct 1994 04:07
How can I retrieve an article by Message-ID?
#11773
Author: Ron Newman
Date: Fri, 07 Oct 1994 04:07
9 lines
956 bytes
What command do I give to "trn" or "rn" to read an article
given just a Message-ID?

I know that I can telnet to the NNTP socket and issue an
"article" command, but I want to do this within the
news reader.
-- 
Ron Newman		 		MIT Media Laboratory
rnewman@media.mit.edu
Re: How can I retrieve an article by Message-ID?
#11796
Author: Bill Marcum
Date: Sat, 08 Oct 1994 05:06
12 lines
1114 bytes
In article <1994Oct7.040710.20926@news.media.mit.edu>,
Ron Newman <rnewman@media.mit.edu> wrote:
>What command do I give to "trn" or "rn" to read an article
>given just a Message-ID?
>
/ID: the message-id/h
or if you've already marked it read, use hr or ?ID: the message-id?hr
The "h" option searches all the header lines.

-- 
Bill Marcum  bmarcum@iglou.com
Disclaimer:  Opinions expressed are bla bla bla, yackety smackety.
Re: How can I retrieve an article by Message-ID?
#11791
Author: Wayne Davison
Date: Sat, 08 Oct 1994 10:47
34 lines
2034 bytes
According to Ron Newman <rnewman@media.mit.edu>:
> What command do I give to "trn" or "rn" to read an article
> given just a Message-ID?

Given a modern trn, you could use /<insert.id.here>/rHmessage-id:
to go to a specific message-id within the current group (it won't
find the id if it is in another group), but only if the article is
ahead of the current article numerically.  If the search fails you
would still have to type '?' <return> to search backward.

Or, you could use '$' to go to the end of the group and then do
the search to cover the whole group in one swell foop.  (I really
need to add an option to the search command to start at the top --
in trn 3.6 you will be able to use /id/trHmessage-id: for this.)

If you don't have a modern trn (version 3.5 is the latest) then
using Bill's form of the search command will work, but it is much
slower.

I'd recommend putting a macro into your .trnmac (or .rnmac) file
to prompt you for the id and automate the process:

*I	$/%"^JMessage id? "/rHmessage-id:^J

Typing *I would output a prompt for the id and use it to go to a
particular article, even if it is already-read (because of the 'r'
modifier).  (This only works while reading articles.)

Here's the slower form of the macro for rn and older trn's:

*I	$/^message-id: *%"^JMessage id? "/rh^J
-- 
Wayne Davison
davison@borland.com
Re: How can I retrieve an article by Message-ID?
#11807
Author: Roman Czyborra
Date: Sun, 09 Oct 1994 14:48
14 lines
1418 bytes
> Given a modern trn, you could use /<insert.id.here>/rHmessage-id:
> to go to a specific message-id within the current group (it won't
> find the id if it is in another group)

And if you have no idea what group the article is in, you can query
your NNTP server:

	$ telnet news 119
	Connected to news.
	article <1994Oct7.040710.20926@news.media.mit.edu>
	Newsgroups: news.software.readers
	...
	quit
	$
Re: How can I retrieve an article by Message-ID?
#11836
Author: lvirden
Date: Mon, 10 Oct 1994 20:35
9 lines
1390 bytes
Seems like there ought to be a way to write a perl script to do this
so that one could just call it with a set of arguments or else read from
stdin to get message ids.
-- 
:s Great net resources sought...
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.mps.ohio-state.edu/cgi-bin/hpp?lvirden_sig.html>
The task of an educator should be to irrigate the desert not clear the forest.
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