🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #120824

Re: [slrn] save_posts

#120824
From: Jens Wahnes
Date: Wed, 26 Feb 2003 10:54
27 lines
1908 bytes
Mike Vanecek wrote:

> Do not have that option. Once the save_posts option is configured in
> slrnrc, everything one posts goes to that one file. 

You could of course use a macro to set the value of save_posts so that
it will be different each time you write an article.

For instance, you could use the following piece of code in a macro to
write saved articles to individual files which carry the newsgroup name
and date in their filenames:

#v+
set_string_variable("save_posts", "News/My_Posts."+current_newsgroup()+"."+string(_time()));
#v-

You'd probably need to call that function in post_hook, followup_hook,
and supersede_hook.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht
Technical Details
Message-ID: <slrnb5p77b.fp.nsr@message-id.wahnes-world.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!newsfeed.arcor-online.net!news.belwue.de!wahnes-world.de!not-for-mail
References: <t64ti-ei2.ln1@news.invalid.99computer> <slrnb5nrjf.30b.no.spam@dora.blinkynet.net> <2efui-s95.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb5p77b.fp.nsr@message-id.wahnes-world.de>
Subject: Re: [slrn] save_posts
Date: Wed, 26 Feb 2003 10:54:35 +0000
From: Jens Wahnes <jewa@gmx.net>
References: <t64ti-ei2.ln1@news.invalid.99computer> <slrnb5nrjf.30b.no.spam@dora.blinkynet.net> <2efui-s95.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!newsfeed.arcor-online.net!news.belwue.de!wahnes-world.de!not-for-mail
Newsgroups: news.software.readers
Organization: Wahnes World
Lines: 26
NNTP-Posting-Host: talkline04.rhrk.uni-kl.de
X-Trace: news.BelWue.DE 1046257588 9314 131.246.65.4 (26 Feb 2003 11:06:28 GMT)
X-Complaints-To: news@news.belwue.de
NNTP-Posting-Date: Wed, 26 Feb 2003 11:06:28 +0000 (UTC)
Cancel-Lock: sha1:R2KKQrK/RKb+pExijk0tz1TNddQ=
User-Agent: slrn/0.9.7.4pl1 (Linux)