Article View: news.software.nn
Article #2047Re: Deluxe Sigs in NN
From: Mike Gleason
Date: Sat, 31 Aug 1991 20:59
Date: Sat, 31 Aug 1991 20:59
31 lines
2353 bytes
2353 bytes
rawdon@cs.tulane.edu (Michael Rawdon) writes: >In <28BFD864.10903@ics.uci.edu> tittle@alexandre-dumas.ics.uci.edu (Cindy Tittle Moore) writes: >[An exceprt from her script:] >>@ quotenum = $quotenum % 20 + 1 # where 20 is the total # of files you have >I'd like to see a randomizing function where you don't have to make some >modification to the function whenever you add a new signature to the database. >I.e., you just stick a new sig in and the program does everything else for >you. Having to go make modifications to other files seems (and actually >is, IMHO) awkward. Here's an interim idea which I or someone else could try. I _think_ nn provides a variable to set the path of inews. Perhaps one could write a C program to preprocess the article before pumping output to inews. Like you could wait look for a Newsgroups: line and then look for the appopriate sig to use (and randomize), copy the sig to ~/.signature, then pipe the whole article to inews. It would be a kludge, and I still think nn should have variables like Michael Rawdon suggested, but it could work; plus you could choose a new sig each time you post an article. I am using a little hack similar to Cindy Tittle's, where the sig is picked one time before running nn. -- ______________________________________________________________________________ mike gleason mgleason@cse.unl.edu NCEMRSoft, baby! -- ______________________________________________________________________________ mike gleason mgleason@cse.unl.edu NCEMRSoft, baby!
Technical Details
Message-ID:
<1991Aug31.205950.19920@unlinfo.unl.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!wupost!unlinfo.unl.edu!newsReferences:
<1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.edu> <28BFD864.10903@ics.uci.edu> <8968@cs.tulane.edu>Show Full Headers
Complete Article Headers
Message-ID: <1991Aug31.205950.19920@unlinfo.unl.edu> Subject: Re: Deluxe Sigs in NN Date: Sat, 31 Aug 1991 20:59:50 +0000 From: mgleason@cse.unl.edu (Mike Gleason) References: <1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.edu> <28BFD864.10903@ics.uci.edu> <8968@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!wupost!unlinfo.unl.edu!news Newsgroups: news.software.nn Sender: news@unlinfo.unl.edu Organization: NCEMRSoft Lines: 31 Nntp-Posting-Host: cse.unl.edu