🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #3465

Using Elm and trn to maintain articles

#3465
From: Robert David Nicholson
Date: Tue, 02 Mar 1993 14:17
34 lines
1766 bytes
Earlier I asked how to use trn to save articles to mailboxes.

Well to might delight trn already allows you to save to mailboxes
using the s command.  However some things are necessary.

For this to work, you should have the following environment variables
set (typically in .login)

setenv TRNINIT "-x6ls -e +m -S -XX -N -a -M" (-M is important here)

setenv MBOXSAVER '%X/mbox.saver %A %P %c %a %B %C %b "From %t %`date`"'

(Can anybody tell me why the default is %T -----------------^ 

Place this in your .rnmac file

S       %(%m=[ap]?s ~/Mail/%C^m:S) 
                              ^
	----------------------|
       | 

NOTE: ^M is inserted by control-v then
control-m in vi.

Note: I save messages to their mailbox which is located in ~/Mail. All
mailboxes are named as their newsgroup name in dot format.

Does anybody know if Elm has extensive searching abilities?  Can I
search strings within a mailbox in elm?  If so then this is a very 
nice setup to maintain my archived articles.

It works for me. Hope it works for you, mail me if you have problems.

Technical Details
Message-ID: <1mvqae$2bd@steffi.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.elm.mbox.zip!sparky!uunet!pipex!demon!steffi.demon.co.uk!steffi.demon.co.uk!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1mvqae$2bd@steffi.demon.co.uk>
Subject: Using Elm and trn to maintain articles
Date: Tue, 02 Mar 1993 14:17:50 +0000
From: robert@steffi.demon.co.uk (Robert David Nicholson)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.elm.mbox.zip!sparky!uunet!pipex!demon!steffi.demon.co.uk!steffi.demon.co.uk!not-for-mail
Newsgroups: news.software.readers,comp.mail.elm
Organization: me organized? That's a joke!
Lines: 33
Distribution: world
NNTP-Posting-Host: steffi.demon.co.uk