🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8030

Re: signature other than ~/.signature?

#8030
From: Sven Guckes
Date: Mon, 30 Sep 1996 00:00
49 lines
2445 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz):
> Is it somehow possible to make nn use a different signature file than
> ~/.signature?  The problem is that inews is automatically including that
> file. So if you have any non-ASCII characters in your signature nn does not
> get to know about them and chooses the wrong encoding for the article's body
> if they are the only non-ASCII characters.

Good point!

Suggestion:
	Let NN include the signature into the edit buffer.
	(All programs which append a sig should do this, btw).

Workaround:
	Append the signature of your choice using "agrep",
	thus including it in the edit buffer.

Usage:
Put all your signatures into one file.  Start every signature with a "sigdashes
line" (ie "-- " and nothing else) and that each contains a unique word, eg
"nn.sig" for your signature that you append to post for news.software.nn.
Now jump to the end of the file and read in the sig using agrep.
Assuming you are using Vi (or a clone) you can use the "read" command like this:

        :r!agrep -d "^-- $" keyword sig_file

I use this with VIM:

        map ,s :r!agrep -d "^-- $" ~/public_html/sig/SIGS<ESC>b

All I have to give is the keyword, eg "nn.sig". (compare sig below)

Here is my "signature file" as an example:
	http://www.math.fu-berlin.de/~guckes/sig/SIGS 

Sven

-- 
Sven Guckes guckes@math.fu-berlin.de [960820] nn.sig
NN - One of the best newsreaders around!
NN Pages:         http://www.math.fu-berlin.de/~guckes/nn/
NN primer:        http://www.math.fu-berlin.de/~guckes/nn/nn.getting.started
NN FAQ:           http://www.math.fu-berlin.de/~guckes/nn/nn.faq
NN wishlist:      http://www.math.fu-berlin.de/~guckes/nn/nn.wishlist.html
NN sample setup:  http://www.math.fu-berlin.de/~guckes/nn/init


Technical Details
Message-ID: <slrn54vik8.h5c.guckes@somerville.math.fu-berlin.de>
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!not-for-mail
References: <52o0q6$o3q@brachio.zrz.TU-Berlin.DE>

Show Full Headers
Complete Article Headers
Message-ID: <slrn54vik8.h5c.guckes@somerville.math.fu-berlin.de>
Subject: Re: signature other than ~/.signature?
Date: Mon, 30 Sep 1996 00:00:00 +0000
From: guckes@somerville.math.fu-berlin.de (Sven Guckes)
References: <52o0q6$o3q@brachio.zrz.TU-Berlin.DE>
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!not-for-mail
X-Deja-AN: 186221554
Organization: Freie Universitaet Berlin
X-access: 16 17 19
Reply-to: guckes@math.fu-berlin.de
Newsgroups: news.software.nn