🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #43497

Re: WANTED: expect-based interface to ascii mail reader

#43497
From: lvirden
Date: Thu, 01 Oct 1998 00:00
43 lines
2346 bytes
According to Josin Etienne  <josin@dimensional.com>:
:
:
:i am looking for an expect-based batch mail reader 
:
:-> more to the point, it would be an interface to an ascii (text-only)
:   mail reader like trn, rn, or nn.
:
:what i want to do:
:
:    assuming these 3 newsgroups are in my .newsrc:
:        alt.cuisine.french
:        alt.health.food
:        alt.science.progress
:    
:    i wish to find all unread articles that have in their title:
:         "strawberry twinkies"
:
:    and save them.
:
:    *without user interaction* <-                       

1. I don't know of anything like you describe

2. However, I am uncertain that what you describe is really what you
have to build.  Instead, I would assume that all you need is an NNTP client
extension for Tcl that would allow you to interact with an NNTP server
using a newsrc file.  Then you could just retrieve the article headerss
yourself, do the regsub against the subject, and if it matched, retrieve
the article.

To go from there, locate one of the relatively few tcl/tk based news
readers I have seen - <URL:http://www.purl.org/NET/Tcl-FAQ/part4> lists
4 I believe - and scavange the actually NNTP procs to do what you want.

-- 
<URL:mailto:lvirden@cas.org> Quote: In heaven, there is no panic,
<*> O- <URL:http://www.purl.org/NET/lvirden/> |     only planning.
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

Technical Details
Message-ID: <6v03le$k22$1@srv38s4u.cas.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.tcl.mbox.zip!not-for-mail
References: <Pine.SUN.3.96.980929190518.27600J-100000@flatland.dimensional.com>

Show Full Headers
Complete Article Headers
Message-ID: <6v03le$k22$1@srv38s4u.cas.org>
Subject: Re: WANTED: expect-based interface to ascii mail reader
Date: Thu, 01 Oct 1998 00:00:00 +0000
From: lvirden@cas.org
References: <Pine.SUN.3.96.980929190518.27600J-100000@flatland.dimensional.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.tcl.mbox.zip!not-for-mail
X-Deja-AN: 396699496
Content-Transfer-Encoding: 7BIT
Content-Type: text/plain; charset=US-ASCII
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-Version: 1.0
Reply-To: lvirden@cas.org
Newsgroups: comp.lang.tcl,comp.mail.misc,news.software.readers
Originator: lwv26@cas.org (Larry W. Virden)