🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8097

Re: Elm with trn?

#8097
From: Robert Nicholson
Date: Wed, 16 Mar 1994 10:18
68 lines
3310 bytes
king@wildebeest.cig.mot.com wrote in news.software.readers,comp.mail.elm
>A *BETTER* solution, if your goal is simply to get your sent letter
>appended to "=sent" is to set the following variable:
>
>	MAILRECORD="~/Mail/sent"
>
>This is documented in the Rnmail man page.  To get news articles you
>post saved, try setting...
>
>	AUTHORCOPY="~/Mail/sent"
>
>...as documented in the Pnews man page.
>
>(I've assumed that you have elm configured to look in ~/Mail for your
>folders, and that Rnmail and Pnews will properly expand the tilde.  If
>this doesn't work, make sure ~/Mail is the proper directory, and try to
>give the complete path like "AUTHORCOPY=/home/robert/Mail/sent".)

Just wanted to note that this is by far the most sophisiticated
solution I've seen.  It's also very simple.

However, the only drawback being is that you lose Elm aliasing because
you are no longer using Elm.

As my original intentions were mostly for archiving purposes this seems 
to suit the task nicely.

The beauty of this is that you are not using mail and consequently you
do not get the usual extra envelope with it's own Subject header.
Note: when using elm for a new post, it's impossible to have the Posts
Subject content in the _envelopes_ header. This means that you always
have the same subject for each post.  This is very limiting and
defeats the purpose somewhat.

By not using elm there is another draw back and that is that you are
saving directly to a mailbox and consequently you lose any mail
filtering that you set up to organise your posts into their respective
mailboxes.

For me, the simplicity of the solution out weighs the lack of
functionality.

In an ideal world I'd like to be able to use elm but so far I cannot
find a way to do this such that it properly archives new posts.
(Without going to extraordinary lengths. ie. hacking the Subject's
contents out of .rnhead) and doing something like

NEWSPOSTER="usr/local/bin/post %h %S"

# $1 = %h
# $2 = %S

sleep 2 # wait for contents of ~/.rnhead to be written

if [ $# -eq 1 ] ; then
	s=`grep Subject: ~/.rnhead | sed 's/Subject: \(.*\)/\1/'`
	elm -i $1 -s "$s" usenetnews
else
	elm -i $1 -s "$2" usenetnews
fi

Strangely enough, when I tried this Elm hung on start up.
-- 
   "You know what's wrong with you?"              (Audrey Hepburn, Cary Grant)
       "No, what?"
   "Nothing"                                      (Charade, 1963)
                (ASCII for text only messages)
Technical Details
Message-ID: <2m6mdo$2ds@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!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!pipex!demon!steffi.demon.co.uk!steffi.demon.co.uk!not-for-mail
References: <2m48b0$10r@steffi.demon.co.uk> <2m50id$em8@delphinium.cig.mot.com>

Show Full Headers
Complete Article Headers
Message-ID: <2m6mdo$2ds@steffi.demon.co.uk>
Subject: Re: Elm with trn?
Date: Wed, 16 Mar 1994 10:18:32 +0000
From: robert@steffi.demon.co.uk (Robert Nicholson)
References: <2m48b0$10r@steffi.demon.co.uk> <2m50id$em8@delphinium.cig.mot.com>
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!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!pipex!demon!steffi.demon.co.uk!steffi.demon.co.uk!not-for-mail
Newsgroups: news.software.readers,comp.mail.elm
Organization: me organised, that's a joke.
Lines: 67
NNTP-Posting-Host: steffi.demon.co.uk