🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2042

Re: Deluxe Sigs in NN

#2042
From: Cindy Tittle Moore
Date: Sat, 31 Aug 1991 17:56
49 lines
2645 bytes
In <8963@cs.tulane.edu> rawdon@cs.tulane.edu (Michael Rawdon) writes:

>What I'd like to see is two new variables that do the following:

>associated-newsgroup-signatures would allow a user to create files in
>his .nn directory called .signature.[newsgroup]
[...]
>random-signatures would allow the user's .signature file to actually be
>a database of signatures (the db being scanned whenever the user enters
>nn, much the same way that the killfile is compiled, if I understand
>correctly how that works).
[...]

>Actually, now that I think about it, this could be rather complex,
>depending on the approach taken to the implementation.  However, I think
>that this sceme would be incredibly powerful and should provide most, if
>not all, of the capabilities that people seem to want.  What do people
>think?

I think that the randomizing can be left out.  I do that now; what I
have is a shell script (attached, for anyone who might want to make
use of it) that picks out a sig at random.  I have an alias for nn
that calls this script before starting nn up.  This could be easily
expanded to randomize the .signature.[newsgroup] files, too.  This
would reduce the complexity of the proposed changes.  The
.signature.[newsgroup] would be GREAT -- I miss this capability quite
a bit from rn/gnews...

--Cindy

#! /usr/public/tcsh -f  # or use /bin/csh -f if that's your shell
# setquote
nohup
set newsdir = '~/News'
set quotedir = '~/News/quotes'
@ quotenum = `/bin/date '+%S'`
@ quotenum = $quotenum % 20 + 1 # where 20 is the total # of files you have
if ($quotenum < 10) then
  set curquote = quote0$quotenum
else
  set curquote = quote$quotenum
endif
cp $quotedir/$curquote $newsdir/.signature

--
Cindy Tittle Moore

Internet: tittle@ics.uci.edu       | BITNET: cltittle@uci.bitnet
UUCP:     ...!ucbvax!ucivax!tittle | Usnail: PO Box 4188, Irvine CA, 92716
Technical Details
Message-ID: <28BFD864.10903@ics.uci.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!elroy.jpl.nasa.gov!usc!orion.oac.uci.edu!ucivax!tittle
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.edu>

Show Full Headers
Complete Article Headers
Message-ID: <28BFD864.10903@ics.uci.edu>
Subject: Re: Deluxe Sigs in NN
Date: Sat, 31 Aug 1991 17:56:52 +0000
From: tittle@alexandre-dumas.ics.uci.edu (Cindy Tittle Moore)
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.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!elroy.jpl.nasa.gov!usc!orion.oac.uci.edu!ucivax!tittle
Newsgroups: news.software.nn
Organization: UC Irvine Department of ICS
Lines: 49
Nntp-Posting-Host: alexandre-dumas.ics.uci.edu