🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4761

Re: .signature Stuff Resolved

#4761
From: John Red-Horse
Date: Mon, 06 Sep 1993 15:50
57 lines
3153 bytes
Sven Guckes <guckes@inf.fu-berlin.de> writes:

>Was *was* your question?

Sven,
My original question regarded how nn (and, as it turns out, inews)
deals with one's .signature file.  Specifically, I didn't want my
.signature to be appended for certain groups, or group hierarchies
such as say ``alt''.  I would turn on the query-signature variable and
at the prompt I would answer ``n''.  And yet I still got my default
.signature appended.  I had looked in the man page and in the FAQ and
had found nothing obvious that addressed my specific question.  
However, further digging did show me the problem: inews was appending
my .signature independent of action in nn.  (This was answered in the
``double signature'' FAQ, but again this was not my original
question.)

Further digging gave me the following idea: why not have a default
.signature for all of nn and the possibility of overriding it with (1)
a group specific, or (2) a hierarchy specific one.  So, I moved
~/.signature to ~/.nn/.signature and created different .sig's for
~/.nn/rec, ~/.nn/rec.outdoors.fishing.  Given the existence of these
files, my new aux script, and the accompanying init file settings, do
the following: 

(1) If I'm reading say comp.sys.hp, I get prompted to append
~/.nn/.signature.

(2) If I'm reading say rec.rugby, I get prompted to append
~/.nn/rec/.signature; and finally,

(3) If I'm reading rec.outdoors.fishing, I get prompted to append
~/.nn/rec.outdoors.fishing/.signature.

To finalize this whole scenario, in my default mail reader (rmail in
gnu emacs) I created a string in the variable ``mail-signature'' that
contained my former default .signature information.

>And why does it make changes to the code necessary?
>I don't see why you have to make changes to the code
>when your question regards only *how* something was coded.

I threw the question out onto the forum and I got no replies.  If you
can tell me a way that I could've gotten things to work out
differently, I'd be glad to hear it!  BTW, I changed no actual source
code---only the aux script and some variable settings in my init file.

>Please give a more detailed description of the problem and the answer.

See above.

Thanks for your interest,
john
-- 
John Red-Horse                         jrredho@sandia.gov
Structural Dynamics & Vibration Control 
Sandia National Laboratories                (505)845-9190
Technical Details
Message-ID: <jrredho.747329022@universe>
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!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!digex.com!universe!jrredho
References: <jrredho.746907746@universe> <0L1GB6HG@math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <jrredho.747329022@universe>
Subject: Re: .signature Stuff Resolved
Date: Mon, 06 Sep 1993 15:50:02 +0000
From: jrredho@universe.digex.net (John Red-Horse)
References: <jrredho.746907746@universe> <0L1GB6HG@math.fu-berlin.de>
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!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!digex.com!universe!jrredho
Newsgroups: news.software.nn
Organization: Sandia National Laboratories
Lines: 58
Reply-To: jrredho@sandia.gov
NNTP-Posting-Host: universe.digex.net