🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Rich Holland Thu, 23 Jun 1994 02:26
appending sigs. :-(
#6015
Author: Rich Holland
Date: Thu, 23 Jun 1994 02:26
28 lines
2089 bytes
NN is behaving very oddly, from what I can tell.  Here's a couple lines from
my ~/.nn/init file:

	set append-signature-mail /home/holland/.signature
	set append-signature-post /home/holland/.signature

and the file is world-readable:
-rw-r--r--   1 holland  users        268 Feb 11 14:06 /home/holland/.signature

My thoughts are that the two lines above should force NN to automatically
append that file to *all* mail and posts, without confirmation, correct?

However, it is ONLY appended to posts and followups, and NOT e-mail ('r')!
The only way I can get it to append to e-mail is by commenting out the
'set append-signature-mail' line, and letting it ask me if I want to
append my .signature.  Why is this?  Am I completely missing something here,
or am I just being brain-dead?  Is there some other way to specify what I
want to do, or do I have to hack the sources?  I've poked around a bit, and
it looks like I'd just have to hack the AUX script a bit, but I didn't want
to mess with it before asking.  :-)

This is with version 6.5.0.b3, using NOV, by the way.

--
Rich Holland               | Internet: holland@godiva.ne.ksu.edu
723 Allison Ave, #8        | Bitnet  : holland@ksuvm
Manhattan, KS  66502-3273  | WWW     : http://godiva.ne.ksu.edu/~holland
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Re: appending sigs. :-(
#6016
Author: Trip Martin
Date: Thu, 23 Jun 1994 03:22
30 lines
2270 bytes
holland@godiva (Rich Holland) writes:

>NN is behaving very oddly, from what I can tell.  Here's a couple lines from
>my ~/.nn/init file:

>	set append-signature-mail /home/holland/.signature
>	set append-signature-post /home/holland/.signature

>and the file is world-readable:
>-rw-r--r--   1 holland  users        268 Feb 11 14:06 /home/holland/.signature

>My thoughts are that the two lines above should force NN to automatically
>append that file to *all* mail and posts, without confirmation, correct?

>However, it is ONLY appended to posts and followups, and NOT e-mail ('r')!
>The only way I can get it to append to e-mail is by commenting out the
>'set append-signature-mail' line, and letting it ask me if I want to
>append my .signature.  Why is this?  Am I completely missing something here,
>or am I just being brain-dead?  Is there some other way to specify what I
>want to do, or do I have to hack the sources?  I've poked around a bit, and
>it looks like I'd just have to hack the AUX script a bit, but I didn't want
>to mess with it before asking.  :-)

According to the man page, both variables are booleans, not strings.
Did you try setting append-signature-mail to true?  Of course, that
still doesn't explain why they behave differently when set to the 
same value.
-- 
Trip Martin        ** Friends don't let friends eat meat
night@acm.rpi.edu  **
Re: appending sigs. :-(
#6018
Author: Zot
Date: Thu, 23 Jun 1994 15:34
26 lines
1627 bytes
night@hermes.acm.rpi.edu (Trip Martin) writes:

>holland@godiva (Rich Holland) writes:

>>	set append-signature-mail /home/holland/.signature
>>	set append-signature-post /home/holland/.signature

!According to the man page, both variables are booleans, not strings.
!Did you try setting append-signature-mail to true?  Of course, that
!still doesn't explain why they behave differently when set to the 
!same value.

Nailed it on the head, good job!

You want to set append-signature-mail 1 in order to get the .sig on mail
You probably want set append-signature-post 0 beacause Inews adds it as well

(Which is how Bharat posted his twice).

On crl I get a double sig warning when I set post to true.

nn must have assume that '/home/holland/.signature' was 0

-- 
Later, ZOT                                            zot@crl.com
Don't you feel more like you do now than you did when you came in?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads