🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2046

Re: Deluxe Sigs in NN

#2046
From: J.B. Nicholson
Date: Sat, 31 Aug 1991 20:38
30 lines
2039 bytes
>>>Here's another message Kim can clip 'n' save for later.  I'd like to have
>>>different signatures for different groups.  It would be nice if I could
>>>specify a signature file along with the name of the save file in the 'init.'

Why can't this be done with the "on <groupname>" structure in the init file?
You could say something to the effect of:

on news.software.nn
	set signature ~/.signatures/news.software.nn
end

(the exactness of the syntax might be wrong but you get the jist of it).
This way you can reset anything you want based on the groupname.  You could
even do something like (to be snazzy):

{get the groupname to be in some variable up here}
on <groupname>
	{some way of saying "if ~/.signatures/<groupnamevariable> exists then"}
		set signature ~/.signatures/<groupnamevariable>
	{some way of saying "else set signature ~/.signature"}
	endif
end

That last one could make it so that if you want a special sig for a certain group,
just make the sig with the filename of the group and drop it in the ~/.signatures
subdir, otherwise just use my plain old ~/.signature.  I don't know if IFs like
that can be done in the latest version of nn, but it's an idea.
--
-- Jeff
-- jeffo@uiuc.edu
Technical Details
Message-ID: <1991Aug31.203821.26512@ux1.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jbn35564
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <28BDCAE6.17806@ics.uci.edu> <1991Aug30.125549.22616@csug.rdg.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <1991Aug31.203821.26512@ux1.cso.uiuc.edu>
Subject: Re: Deluxe Sigs in NN
Date: Sat, 31 Aug 1991 20:38:21 +0000
From: jbn35564@uxa.cso.uiuc.edu (J.B. Nicholson)
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <28BDCAE6.17806@ics.uci.edu> <1991Aug30.125549.22616@csug.rdg.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jbn35564
Newsgroups: news.software.nn
Sender: usenet@ux1.cso.uiuc.edu (News)
Reply-To: jeffo@uiuc.edu
Organization: University of Illinois at Urbana
Lines: 30