🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #80776

Re: [slrn] how to get the current newsgroup name into a variable

#80776
From: Stephen Patterson
Date: Sun, 24 Jun 2001 12:37
25 lines
1822 bytes
On 23 Jun 2001 18:27:46 GMT, Thomas Schultz wrote:
> * Stephen Patterson [2001-06-23 14:17] :
> 
>> I use a2ps to print news postings. There's a parameter I can set when
>> invoking a2ps (--left-header=) to print some user defined text in the
>> page header. Is there any way I can get hold of the name of the
>> current newsgroup into a variable which can then be passed into a2ps?
> 
> You might want to use something like this (untested):
> 
> #v+
> public define pipe_to_a2ps ()
> {
>   variable command = "a2ps --left-header=" + current_newsgroup ();
>   pipe_article (command);
> }
> #v-
This goes in the ,slrnrc, right?

-- 
Grudnuk demand sustenance!
Stephen Patterson	s.patterson@SPAMOFFfreeuk.com (Remove SPAMOFF to reply)
http://home.freeuk.net/s.patterson/

Technical Details
Message-ID: <slrn9jbnjf.f0.spam@localhost.localdomain>
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!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!dispose.news.demon.net!demon!newspeer.clara.net!news.clara.net!nnrp3.clara.net.POSTED!not-for-mail
References: <slrn9j991u.14u.spam@localhost.localdomain> <slrn9j9nt2.q4e.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9jbnjf.f0.spam@localhost.localdomain>
Subject: Re: [slrn] how to get the current newsgroup name into a variable
Date: Sun, 24 Jun 2001 12:37:37 GMT
From: spam@freeuk.com (Stephen Patterson)
References: <slrn9j991u.14u.spam@localhost.localdomain> <slrn9j9nt2.q4e.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!dispose.news.demon.net!demon!newspeer.clara.net!news.clara.net!nnrp3.clara.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: see the .sig
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 24
NNTP-Posting-Host: 212.126.150.248
X-Complaints-To: abuse@freeuk.net
X-Trace: nnrp3.clara.net 993386257 212.126.150.248 (Sun, 24 Jun 2001 13:37:37 BST)
NNTP-Posting-Date: Sun, 24 Jun 2001 13:37:37 BST