Article View: news.software.nn
Article #2194Re: Double .sigs THE ANSWER
From: Peter J. Ebbelink
Date: Thu, 24 Oct 1991 08:13
Date: Thu, 24 Oct 1991 08:13
79 lines
3805 bytes
3805 bytes
In <fineberg.688063113@wugate.wustl.edu> fineberg@wugate.wustl.edu (Charlie Fineberg) writes:
>Well I just looked at the latest copy of the FAQ list and it didn't
>cover this. But many of my postings are getting double signatures.
>I'm not able to locate the reason with minimal effort so I'm asking
>this robust body: what am I doing wrong?
>I make a posting (like this one) without manually including a
>signature. I then exit the editing session and hit return to post it.
>When it asks for my signature, I also hit return (default is y) and let
>it go. I then get two signatures on the article.
I post rather than reply by mail, because I see this problem a lot!
NOW READ THIS:
Your article gets blown onto the net ("injected into the newsstream")
by a program called "inews". inews is a shell script which has some
code in it to append the contents of a ~/.signature file to your
article. Is it is enabled it does so without asking. nn can be
configured to ask wether you would like your signature appended.
Evidentially you News Administrator found it important to, always,
include the .signature on outgoing articles.
Solutions:
1) Always answer No to the "append signature" question
2) Contact your News Administrator and ask him if (s)he knows
about inews including the signature. Perhaps there is a
good reason for it.
3) unset append-signature-post
4) Let your News Administrator rebuild nn and use ~.nn/signature
instead of ~/.signature
5) Mail this to your News Administrator ;-}
At our site, I've rebuilt inews to include a company signature, so you
do get two signatures: One the user can control and edit, one only the
News Administrator can control. Works great!
-----(fragment of inews: around line 181)-------
# post with new headers and .signature
(anne.jones <$inhdrs # bash headers
lines="` # sop to msb, just uncomment to use
(sed 1d $inbody; # take out the first (blank) line
if test -r $HOME/.signature; then
:
# echo '-- ' <=== THIS SHOULD BE ...
# sed 4q $HOME/.signature <=== COMMENTED OUT !!
fi) | wc -l `"
echo Lines: $lines
# strip invisible chars from body, a la B news. bells and escapes are
right ou
t.
case "$trversion" in
v7) tr -d '\1-\7\13\15-\37' ;;
v6) tr -d '[\1-\7]\13[\15-\37]' ;;
esac <$inbody
if test -r $NEWSCTL/Signature; then <=== THESE 3 LINES ARE NEW
sed 4q $NEWSCTL/Signature # A word from our sponsor
fi) >$censart
# to post or to mail? that is the question; whether 'tis nobler in the mind
------------------------------------------------
This should help :-)
Peter
--
-------------------------------------------------------------------------------
email address: pe@dasc.nl Data Sciences BV
Real name: Peter J. Ebbelink P.O.Box 226699, 1100 DD Amsterdam
Function: System Manager IVS Voice: 31 20-6520652
Disclaimer: These are my own opinions. My boss denies my very existence.
-------------------------------------------------------------------------------
#include <stddisclaimer.h> This might not be the view of my employer.
Technical Details
Message-ID:
<1991Oct24.081310.2026@dasc.nl>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!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!dascnl!peReferences:
<fineberg.688063113@wugate.wustl.edu>Show Full Headers
Complete Article Headers
Message-ID: <1991Oct24.081310.2026@dasc.nl> Subject: Re: Double .sigs THE ANSWER Date: Thu, 24 Oct 1991 08:13:10 +0000 From: pe@dasc.nl (Peter J. Ebbelink) References: <fineberg.688063113@wugate.wustl.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!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!dascnl!pe Newsgroups: news.software.nn Organization: None Lines: 78