Article View: news.software.readers
Article #111323Re: [slrn] Saving routines
From: Emmanuele Bassi
Date: Fri, 11 Oct 2002 15:32
Date: Fri, 11 Oct 2002 15:32
36 lines
2308 bytes
2308 bytes
* Johan Svedberg <winkle@acc.umu.se> [2002-10-11 09:31]:
> So, does anyone know if it's possible to save posts etc. with the name
> of the group as filename? To be able to use the escapes (%n in this
> case), like in mutt, could maybe be an idea?
I have a patch that does that, here:
http://digilander.iol.it/ebassi/slrn/slrn_file_format.diff
that uses escapes like:
%Y, %m, %d,
%H, %M, %s, %T just as strftime(3) does
%n current group
%s current subject
%u username
%h hostname
This escapes applies for saving articles (variable "save_file_format")
saving followups/replies ("save_followups" and "save_replies") and for
postponed files ("postpone_file_format"). The patch does not break
any existing configuration, since it falls back to the default
behaviour if no escapes are found.
+++
I'm still working on more escapes, though...
Bye,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ http://www.radiance.ods.org/~zefram ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
Technical Details
Message-ID:
<slrnaqdrtp.3v0.zefram@wolverine.lohacker.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.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailReferences:
<slrnaqc6km.i17.winkle@acc.umu.se> <slrnaqc89n.1ig.xaonon@rpi.edu> <slrnaqd6ir.jii.winkle@acc.umu.se>Show Full Headers
Complete Article Headers
Message-ID: <slrnaqdrtp.3v0.zefram@wolverine.lohacker.net>
Subject: Re: [slrn] Saving routines
Date: Fri, 11 Oct 2002 15:32:25 GMT
From: Emmanuele Bassi <zefram@ibrs.dns2go.org>
References: <slrnaqc6km.i17.winkle@acc.umu.se> <slrnaqc89n.1ig.xaonon@rpi.edu> <slrnaqd6ir.jii.winkle@acc.umu.se>
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!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
Lines: 35
Reply-To: Emmanuele Bassi <emmanuele.bassi@iol.it>
X-Face: &2.Q,Qgj{KA*q4G%p`*s`1f!hjGTi-9~Ju,L^d#P49tt}?jS(h@;s/K/]gc?bi-9=>%E\6#?o&[Kmng:@W+8W4y6dCuyl?L>k3i7D
X-Editor: Vim-601 http://www.vim.org/
User-Agent: slrn/0.9.7.4pl1-eb2 (Linux)
NNTP-Posting-Host: 151.29.199.171
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1034350345 151.29.199.171 (Fri, 11 Oct 2002 17:32:25 MET DST)
NNTP-Posting-Date: Fri, 11 Oct 2002 17:32:25 MET DST
Organization: [Infostrada]