Article View: news.software.readers
Article #195535Re: [slrn]How to...?
From: Adam Funk
Date: Tue, 13 Feb 2007 20:03
Date: Tue, 13 Feb 2007 20:03
54 lines
2395 bytes
2395 bytes
On 2007-02-13, Chris Game wrote:
> How to display saved posts or sent posts in slrn? I can't see an
> option for that in the help screens.
As far as I know (but I'd be interested if this is wrong) slrn itself
has no built-in facility for doing that. You have to use an external
editor or pager to look at them.
By the way, I didn't like the way slrn catenated all my sent posts
into one file, so I put this in my ~/.slrnrc
interpret ".slrn/macros.sl"
and the following in the file it refers to:
define post_hook ()
{
variable tm = localtime (_time ());
set_string_variable ("save_posts",
sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec));
}
define followup_hook ()
{
variable tm = localtime (_time ());
set_string_variable ("save_posts",
sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec));
}
define post_file_hook ()
{
variable tm = localtime (_time ());
set_string_variable ("save_posts",
sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec));
}
so that each post gets saved in one file named after its timestamp.
(Of course if you send two in the same second they'd be catenated into
one file!)
Technical Details
Message-ID:
<66i9a4-fn6.ln1@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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnet33lg.a2u.chrisgame@URANUS.example.net>Show Full Headers
Complete Article Headers
Message-ID: <66i9a4-fn6.ln1@news.ducksburg.com> Subject: Re: [slrn]How to...? Date: Tue, 13 Feb 2007 20:03:50 +0000 From: Adam Funk <a24061@yahoo.com> References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 54 X-Trace: individual.net /RwjrCg7Sh7CR+4eJ3f5owGxUsT5zWhoCAdbukXQO46+2Gr7Xw X-Orig-Path: news.ducksburg.com!news User-Agent: slrn/0.9.8.1pl1 (Debian)