🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230565

Re: [slrn] signature selection dependent on hierarchy, howto?

#230565
From: wannes
Date: Sun, 22 Feb 2009 15:29
53 lines
3085 bytes
houghi schreef:
> wannes wrote:
>>> No URL, but I have the script. Is the h @ h .org mail valid?
>
> Yes, it is.
>
>> Your google-skills are disappoint me houghi. ;-)
>> http://ftp.slackware.pl/pub/splack/splack-10.1/boot/initrd/var/adm/setup/tmp/slrn-pl-1.4.3-2/macros/identity.sl
>
> Or http://tinyurl.com/bltr9r for thise who prefer their browser links
> not to wrap or go beyond what they can see. ;-)
>
> What did you use as searc?

identity.sl

> Nice to see that folding is done when opening it with gvim. :-D
>
> Now I just need to figure out how to use it. Looks like a lot of
> overkill for just changing the sig per group. :-/

I didn't have any problems whatsoever.

In my ~/.slrnrc there is: 
interpret .news/identity.sl
interpret .news/identities.sl

identity.sl is the file you have
identities.sl is a self-made file: an example

% -*- mode: slang; mode: fold -*-
%
identity->add_new ("pandora", "^pandora");
%  identity->set_from ("id", "username", "hostname");
%  identity->set_real ("id", "realname");
%  identity->set_replyto ("id", "reply-to");
identity->set_signature ("pandora", "/home/wannes/.pandora-sig");
%  identity->set_signoffstring ("id", "signoff_string");
%  identity->set_followupstring ("id", "followup_string");
%  identity->set_replystring ("id", "reply_string");
%  identity->set_customheaders ("id", "custom_headers");
%  identity->set_followupcustomheaders ("id", "followup_custom_headers");
%  identity->set_replycustomheaders ("id", "reply_custom_headers");
%  identity->set_regexp ("id", "regular_expression");
%  identity->set_saveto ("id", "save_to_file");
identity->set_description ("pandora", "Alle pandora-groepen");
%

Even for someone like me with zero-coding-skills this is easy. :)

-- 
wannes
<http://www.briachons.org/>
Technical Details
Message-ID: <slrngq2rq3.b5l.me@wannes.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news.tin.it!news.newsland.it!news4us.nl!not-for-mail
References: <gnpkl9$14io$2@de-l.enfer-du-nord.net> <slrngq1bp7.prc.me@wannes.invalid> <slrngq2gn9.fb4.houghi@pasta.houghi> <slrngq2ihl.323.me@wannes.invalid> <slrngq2jve.4os.me@wannes.invalid> <slrngq2ls8.fb4.houghi@pasta.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <slrngq2rq3.b5l.me@wannes.invalid>
Subject: Re: [slrn] signature selection dependent on hierarchy, howto?
Date: Sun, 22 Feb 2009 15:29:09 +0000
From: wannes <me@nospam.invalid>
References: <gnpkl9$14io$2@de-l.enfer-du-nord.net> <slrngq1bp7.prc.me@wannes.invalid> <slrngq2gn9.fb4.houghi@pasta.houghi> <slrngq2ihl.323.me@wannes.invalid> <slrngq2jve.4os.me@wannes.invalid> <slrngq2ls8.fb4.houghi@pasta.houghi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news.tin.it!news.newsland.it!news4us.nl!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@wannes.cjb.net
X-No-Archive: Yes
User-Agent: slrn/pre0.9.9-111 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: NEWS4US dot NL - http://www.news4us.nl
Lines: 53
X-Contact: info@news4us.nl
X-Complaints-To: abuse@news4us.nl
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.