🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Blinky the Shark Tue, 25 Feb 2003 22:30
Re: [slrn] save_posts
#120803
Author: Blinky the Shark
Date: Tue, 25 Feb 2003 22:30
15 lines
1530 bytes
Mike Vanecek wrote:

> One can set an option to save posts in a file (e.g., News/save_posts).
> However, the result is a single file with the posts appended to the end.
> Does anyway exist for posts to be saved as individual files? It would be
> nice to be able to read and delete the previous posts as individual
> messages rather than one big file.

Change the filename to something meaningful and unused, before saving.

-- 
Blinky
Bork Browser (this is real): http://snurl.com/borkbork
Screenshot Royalties: http://snurl.com/royalties
Re: [slrn] save_posts
#120824
Author: 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
Re: [slrn] save_posts
#120846
Author: Jens Wahnes
Date: Wed, 26 Feb 2003 19:55
16 lines
1536 bytes
Mike Vanecek wrote:

> That looks neat. Can we expect to see a macro with your name on it in
> the slrn macro list anytime soon <grin>?

No.  I figured you'd be able to put it together the way you want it
yourself.


Jens

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

        - Bertolt Brecht
Re: [slrn] save_posts
#120855
Author: Blinky the Shark
Date: Wed, 26 Feb 2003 21:50
27 lines
1987 bytes
Mike Vanecek wrote:

> On 25 Feb 2003 22:30:09 GMT, Blinky the Shark wrote:
>> Mike Vanecek wrote:

>>> One can set an option to save posts in a file (e.g., News/save_posts).
>>> However, the result is a single file with the posts appended to the end.
>>> Does anyway exist for posts to be saved as individual files? It would be
>>> nice to be able to read and delete the previous posts as individual
>>> messages rather than one big file.

>> Change the filename to something meaningful and unused, before saving.

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

> I think you may have been thinking about the o save a post feature which
> I do save with individual names.

Exactly.  Didn't realize you were asking about the saving of copies of
your own posts on posting.

-- 
Blinky
Bork Browser (this is real): http://snurl.com/borkbork
Screenshot Royalties: http://snurl.com/royalties
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