Thread View: news.software.readers
5 messages
5 total messages
Started by Robert David Nicholson
Tue, 02 Mar 1993 14:17
Using Elm and trn to maintain articles
Author: Robert David Nicholson
Date: Tue, 02 Mar 1993 14:17
Date: Tue, 02 Mar 1993 14:17
34 lines
1766 bytes
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.
Re: Using Elm and trn to maintain articles
Author: Wayne Davison
Date: Wed, 03 Mar 1993 01:33
Date: Wed, 03 Mar 1993 01:33
19 lines
1285 bytes
1285 bytes
Robert David Nicholson (robert@steffi.demon.co.uk) wrote: > setenv MBOXSAVER '%X/mbox.saver %A %P %c %a %B %C %b "From %t %`date`"' > > (Can anybody tell me why the default is %T -----------------^ It's not anymore. It's actually "X" now because software should be using the "From:" line to display who a message is from, not the "From " line. Using "%t" should be fine also, though. > S %(%m=[ap]?s ~/Mail/%C^m:S) > ^ > NOTE: ^M is inserted by control-v then > control-m in vi. You don't need to go to such lengths. Simply enter a literal '^' followed by a literal 'm' (or 'j') and trn knows what you mean. ..wayne..
Re: Using Elm and trn to maintain articles
Author: Brian Tao
Date: Wed, 03 Mar 1993 15:45
Date: Wed, 03 Mar 1993 15:45
30 lines
1991 bytes
1991 bytes
In article <1mvqae$2bd@steffi.demon.co.uk> robert@steffi.demon.co.uk (Robert David Nicholson) writes:
>
>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)
I don't know what all those switches in TRNINIT and MBOXSAVER mean,
but if you simply type ":s" at the thread selection level, it will
automatically save all selected threads to a file named after the
current newsgroup in your ~/News folder. Then you can just use
"elm -f news.groups" (as an example) to read it.
>S %(%m=[ap]?s ~/Mail/%C^m:S)
Actually, I think you can just type "^m" as a literal (a caret, then
the M). Some systems want a ^J instead of a ^M.
>
>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.
Type // (two slashes) from the index menu prompt. The first slash
will search only through the subjects, the second tells ELM to search
the contents of the entire mailbox and display matching messages.
--
Brian Tao:: 90taobri@chasm.scar.utoronto.ca (University of Toronto)
::::::::::: taob@r-node.hub.org (r-Node BBS, 416-249-5366, FREE!)
Re: Using Elm and trn to maintain articles
Author: Wayne Davison
Date: Wed, 03 Mar 1993 18:23
Date: Wed, 03 Mar 1993 18:23
17 lines
1349 bytes
1349 bytes
robert@steffi.demon.co.uk (Robert David Nicholson) wrote: > I have a problem with this ie. the %f idea. If I used %f it would > produce corrupted mailboxes. [...] using %t, mailbox is fine I'm not sure where you got the "%f" from, since the previous two messages mentioned using "%t" or a static non-name. We're all in agreement that "%t" works well. > PS. Does somebody have a trn macro that allows me to [mail] and post > at the same time? I have an item on my trn 3 todo list that says to add support for putting a "Cc:" header in a news article so that Pnews will both post the article and mail the Cc'd person(s). Enhancing Pnews is next on my agenda. ..wayne..
Using elm as the MUA for replying in [t]rn
Author: Otmar Lendl
Date: Fri, 05 Mar 1993 11:45
Date: Fri, 05 Mar 1993 11:45
19 lines
1571 bytes
1571 bytes
In article <C3BsFE.9A7@borland.com> davison@borland.com (Wayne Davison) writes: >I have an item on my trn 3 todo list that says to add support for putting >a "Cc:" header in a news article so that Pnews will both post the article >and mail the Cc'd person(s). Enhancing Pnews is next on my agenda. > >..wayne.. BTW trn & elm interaction, is there any way to use elm for replying to articles ? This would have the advantage of having a single mail-inteface. Also the customiziation, such as where to save outgoing messages, would be simplified. Is this possible with the currect versions of trn and elm ? /Otmar -- |Otmar Lendl (lendl@cosy.sbg.ac.at) | Student of CS & Math at Salzburg | |Akademiestr. 15 A-5020 Salzburg | University (Austria / Europe) | | Put the scrabble away Arthur, it won't save the human race ! Ford P.|
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