🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10050

small problem with sigs and patch

#10050
From: Felicia Neff
Date: Mon, 08 Jul 2002 15:09
31 lines
1832 bytes
I am running nn-6.6.4 on NetBSD.  It seems that nn will only post a
signature if APPEND_SIGNATURE is defined and query-signature is on.  nn
used to append the signature without asking if APPEND_SIGNATURE was
defined and query-signature was off.  Below is a little patch that makes
it do that again.  -- Felicia

--- aux.c.orig  Tue Jun 25 01:37:31 2002
+++ aux.c       Mon Jul  8 11:03:35 2002
@@ -593,7 +593,8 @@
        }
     }

-    if (append_sig && query_signature) {
+    if (append_sig){
+      if (query_signature) {
        prompt_line = Lines - 1;
        prompt("Append .signature? (y) ");
        switch (get_c()) {
@@ -606,6 +607,9 @@
            default:
                append_sig = 0;
        }
+      }
+      else
+        append_signature();
     }
     if (!strcmp("post", prog) || !strcmp("follow", prog))
        if (novice) {


Technical Details
Message-ID: <Pine.NEB.4.44.0207081106350.29692-100000@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.algx.net!allegiance!panix!panix2.panix.com!fn

Show Full Headers
Complete Article Headers
Message-ID: <Pine.NEB.4.44.0207081106350.29692-100000@panix2.panix.com>
Subject: small problem with sigs and patch
Date: Mon, 8 Jul 2002 11:09:59 -0400
From: Felicia Neff <fn@panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.algx.net!allegiance!panix!panix2.panix.com!fn
Newsgroups: news.software.nn
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 30
NNTP-Posting-Host: panix2.panix.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: reader2.panix.com 1026141021 15542 166.84.1.2 (8 Jul 2002 15:10:21 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Mon, 8 Jul 2002 15:10:21 +0000 (UTC)