🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #67460

Re: slrn custom headers

#67460
From: Thomas Schultz
Date: Tue, 07 Nov 2000 00:00
17 lines
1489 bytes
On 07 November 2000, Neuromancer <ApuNahasapeemapetilon@Kwik-E-Mart.com> wrote:

> I was wondering if there is a way to insert the output of a shell
> script or command into a header.  For instance a header that shows my
> current linux uptime or something like that.

You need to use a macro to do this - the s-lang function popen()
allows you to run a program and read its output. You can then use it
to set the "custom_headers" / "reply_custom_headers" /
"followup_custom_headers" config variables as you like.
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2000-10-22] Matthias Friedrich joins the team
 -> [2000-09-27] Initial release of the slrn reference manual
 -> [2000-09-18] slrn 0.9.6.3 is out

Technical Details
Message-ID: <slrn90gaoh.18b.tststs@starflower.tststs.ddns.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!not-for-mail
References: <slrn90fkrv.6a0.ApuNahasapeemapetilon@HAL-9000.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn90gaoh.18b.tststs@starflower.tststs.ddns.org>
Subject: Re: slrn custom headers
Date: Tue, 07 Nov 2000 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn90fkrv.6a0.ApuNahasapeemapetilon@HAL-9000.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!not-for-mail
X-Deja-AN: 690838259
X-Server-Date: 7 Nov 2000 16:20:28 GMT
X-Complaints-To: abuse@cityweb.de
Organization: Pinguin online.
User-Agent: slrn/0.9.6.3pl2 (Linux)
NNTP-Posting-Date: 7 Nov 2000 16:25:58 GMT
Newsgroups: news.software.readers