🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #46528

Re: slrn - several signatures possible?

#46528
From: Heikki Kantola
Date: Mon, 15 Feb 1999 00:00
38 lines
2009 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> informed
news.software.readers with the following:
>Udo Burghardt wrote:
>> I would like to have different (but static) signatures for different
>> newsgroups. I am *not* familiar with slang... What is the easiest way to do
>> this?
[...]
>(2) If these newsgroups are on different servers, you could put this in your
>    slrnrc:
>
>      set signature .sig2
>      #ifdef SIG1
>      set signature .sig1
>      #endif
>
>    and run slrn for server 1 as "slrn -DSIG1", slrn for server 2 as "slrn".
>    Make sure the signatures are in files called ".sig1" and ".sig2", of
>    course.

Actually if setting variable based on news server, I would suggest to
use NNTPSERVER enviroment variable as critea on preprocessor directives
like this:

 #if$NNTPSERVER news.foo.bar
 set signature .foo
 #else
 set signature .signature
 #endif

That would save the effort to set those defines on command line.
 
-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Technical Details
Message-ID: <slrn7cgcok.3vd.hezu@tuuri.ling.helsinki.fi>
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: <slrn7canpj.kr4.Udo@k6.udo.burghardt.com> <slrn7ccer0.qtj.bluemoon@ux6.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7cgcok.3vd.hezu@tuuri.ling.helsinki.fi>
Subject: Re: slrn - several signatures possible?
Date: Mon, 15 Feb 1999 00:00:00 +0000
From: hezu@iki.fi (Heikki Kantola)
References: <slrn7canpj.kr4.Udo@k6.udo.burghardt.com> <slrn7ccer0.qtj.bluemoon@ux6.cso.uiuc.edu>
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: 444596113
Content-Transfer-Encoding: 8bit
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-Version: 1.0
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers