🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #127298

Re: slrn - Will it show uptime like Mutt?

#127298
From: Martin Brunzel
Date: Sun, 29 Jun 2003 10:18
34 lines
2569 bytes
* surtin schrieb:
> On Sun, 29 Jun 2003 00:33:05 GMT, Crashdamage wrote:
>> OK, I'd already done that and yeah it works, but it trashes my 
>>
>> "X-Newsreader SLRN 0.9.7.4 (Linux)"
>>
>> header line when I use it. 
> 
> The code erases all of the other custom headers you would've had and replaces
> them with X-Uptime. I tried to use the macro and it killed my X-Face... anyone
> know a work around?

| uptime = sprintf("X-Uptime: %s",uptime);
| set_string_variable ("followup_custom_headers", uptime);
    
Example for X-Newsreader:

| uptime = sprintf("X-Newsreader: SLRN 0.9.7.4 (Linux)\nX-Uptime: %s",uptime);
| set_string_variable ("followup_custom_headers", uptime);

Maybe you're interested in /usr/doc/slrn/manual.txt, 4.2.30.
(There are more *_custom_headers!)

The way for \n-ing multiple headers is demonstrated in the
sample-slrnrc.

Since followup_custom_headers is a variable, it is quite
obvious to me, why setting it twice does not work: The second
attempt will just overwrite the first. Maybe you're more
successful when invoking "followup_custom_headers()" twice, I
have not tested this yet.

Martin
Technical Details
Message-ID: <2demdb.tk.ln@mis.configured-host.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!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!mis.configured-host.de!not-for-mail
References: <5b5d4e99f7010bc79d6f175b05231f5a@free.teranews.com> <slrnbfrlo2.aia.mark_usenet@bubble.markhill.me.uk> <2c8b5b5781cd49e472818395d8a46aa5@free.teranews.com> <k0j1t-m62.ln1@news.gates_of_hell.INVALID> <0f3aae932af5b69aaae9ca9cab521c94@free.teranews.com> <slrnbfspse.325.surtin@who.ate.a.boat.that.floats.org>

Show Full Headers
Complete Article Headers
Message-ID: <2demdb.tk.ln@mis.configured-host.de>
Subject: Re: slrn - Will it show uptime like Mutt?
Date: Sun, 29 Jun 2003 12:18:10 +0200
From: Martin Brunzel <catchit@textbrowser.net>
References: <5b5d4e99f7010bc79d6f175b05231f5a@free.teranews.com> <slrnbfrlo2.aia.mark_usenet@bubble.markhill.me.uk> <2c8b5b5781cd49e472818395d8a46aa5@free.teranews.com> <k0j1t-m62.ln1@news.gates_of_hell.INVALID> <0f3aae932af5b69aaae9ca9cab521c94@free.teranews.com> <slrnbfspse.325.surtin@who.ate.a.boat.that.floats.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!mis.configured-host.de!not-for-mail
Newsgroups: news.software.readers
Organization: ...
Lines: 33
NNTP-Posting-Host: pd9eba0cf.dip0.t-ipconnect.de
X-Trace: online.de 1056882287 9418 217.235.160.207 (29 Jun 2003 10:24:47 GMT)
X-Complaints-To: abuse@einsundeins.com
NNTP-Posting-Date: Sun, 29 Jun 2003 10:24:47 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)