🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259820

Re: [slrn] How to set followup directory?

#259820
From: Mike Yetto
Date: Wed, 25 Nov 2015 14:31
51 lines
2806 bytes
While walking through the streets of Soho in the rain
Adam Funk <a24061@ducksburg.com> wrote...
> On 2015-11-25, George Jones wrote:

>> Hi, how can I tell slrn to store followups in a specific directory instead
>> of littering my home directory with various postings?

> If you want slrn to concatenate all your "outbound" posts
> (thread-starters as well as FUs) into one file (this is the default &
> what most people use, AIUI), put this in '~/.slrnrc':


> #v+
> set save_posts   "News/sent/sent.news"
> set save_replies "News/sent/sent.mail"
> #v-


> I have a weird customized set-up because I like "one message = one
> file" for greppability, using the following in '~/.slrn/macros.sl',
> which .slrnrc loads.  It randomly sets a sig file from the contents of
> a bigger file and produces datestamped filenames, e.g.,
> '20151125-130101.news'.

I use a different method. I have everything sent to
news/posts_and_replies assigned to an account as an MBOX file in
claws-mail. This keeps a history of my posts where it can be
readily accessed. I do the same with kept posts and the following
macro in news/redefine_hooks.sl.

#v+
% This file redefines hooks to personal preferences.
%

define make_save_filename_hook () {
	return "kept_posts";
	}

#v-

The following line is added to .slrnrc.

#v+
interpret "news/redefine_hooks.sl";
#v-

Mike "presupposes a capable MUA" Yetto
-- 
"It ain`t what you don`t know that gets you into trouble. It`s what you
know for sure that just ain`t so."
 - Attributed to Mark Twain
Technical Details
Message-ID: <slrn20151125091642.877.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <n347jb$tld$1@speranza.aioe.org> <i6ogicxj0q.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20151125091642.877.twooffive@may.eternal-september.org>
Subject: Re: [slrn] How to set followup directory?
Date: Wed, 25 Nov 2015 09:31:20 -0500
From: Mike Yetto <unet.lighthouse@xoxy.net>
References: <n347jb$tld$1@speranza.aioe.org> <i6ogicxj0q.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Just put it in that pile, I'll get to it.
Lines: 51
Injection-Info: may.eternal-september.org; posting-host="af51b1d1c6fba26dff493e22e69897ba";
 logging-data="21734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XIcWILVasKoHSpFEw6C7fAPlJfP/NHoI="
User-Agent: slrn/pre1.0.3-7/co (no scalding tea, just Leafnode2)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes (except Ray)
Cancel-Lock: sha1:VG5zPHJ3xE11FkAKLmaxiXdV4aM=
 sha1:wB5wDBCXegfDxG22lTH+jxw8OME=
X-Received-Body-CRC: 1658300428
X-Received-Bytes: 2807