🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #58840

Re: slrn question

#58840
From: Thore Tams
Date: Thu, 02 Mar 2000 00:00
38 lines
1641 bytes
Jason Williams <willija8@eng028.cs.man.ac.uk> schrieb:
> Within slrn, is there some way of either:
> 
> (a) Specifying a signature file to use dependant on either the news server or 
> the group being posted to, or

In a certain newsgroup (dnq) I rotate my signatures, in other
newsgroups I don't use a signature (.news-sig is empty).

#v+
define change_dnq_sig()
{
	system("/usr/bin/fortune /usr/local/share/sigs/dnq >~/.dnq-sig");
}

define followup_hook() {
	variable sig = ".news-sig";

	if (0 == strcmp (current_newsgroup (), "de.newusers.questions")) {
		sig = ".dnq-sig";
		change_dnq_sig();
	}
	
	set_string_variable ("signature", sig);
}
#v-

Define post_hook() like followup_hook().  Modify to your needs, put it
in a file, and make sure your add 'interpret "filename"' to your
.slrnrc.

> (b) Specifying an .slrnrc file at startup

slrn -i .other-slrnrc

Thore

Technical Details
Message-ID: <89ltp0$413$1@kruemel.dyndns.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: <slrn8bsmmt.3cl.willija8@eng028.cs.man.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <89ltp0$413$1@kruemel.dyndns.org>
Subject: Re: slrn question
Date: Thu, 02 Mar 2000 00:00:00 +0000
From: t.tams@gmx.de (Thore Tams)
References: <slrn8bsmmt.3cl.willija8@eng028.cs.man.ac.uk>
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: 592250471
X-Complaints-To: news-abuse@nikoma.de
X-Trace: news.nikoma.de 952010021 36831 213.54.15.85 (2 Mar 2000 15:13:41 GMT)
Organization: noitazinagrO
User-Agent: slrn/0.9.6.2+ (Linux)
NNTP-Posting-Date: 2 Mar 2000 15:13:41 GMT
Newsgroups: news.software.readers