🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #84686

Re: slrn - random signature file config

#84686
From: A. L. Meyers
Date: Sun, 23 Sep 2001 13:55
33 lines
2338 bytes
lgb@non.existent.invalid (Chiefy):
>  22 Sep 2001 19:24 UTC, A. L.  Meyers typed:
> > Hi! What must I put into .slrnrc to get slrn to execute a random
> > signature file named ~/.sig and put the signature into my
> > message to post?
>  
>  Not sure if this is what you're after, but we have a 'fortune' file with
>  signatures contained within. It's then just a matter of calling 'fortune
>  sigs' from within SLRN using 'post_editor_command'
>  
>  set post_editor_command "/usr/games/fortune sigs > ~/.sig; nano -c +%d %s -tmp"
>  
>  Set 'set signature' as appropriate in .slrnrc. You can also cat lines
>  together if you have a line that doesn't change, an email address for
>  example.
>  
>  Regards.
Thanks, Chiefy! You are on the right path. My .sig file is a
shell script which generates the signature. I use vim as editor
under slrn. Putting

set post_editor_command "~/.sig > ~/.signa; nano -c +%d %s -tmp"
set signature ~/.signa

does generate a correct .signa file but does not allow vim to
start corrrecty. Instead, vim does not load, the signature does
not appear and slrn asks me if I want to send an empty message.

What fine tuning do you suggest? (BTW tin has the desired
functionality right "out of the box".)

Lucien
Technical Details
Message-ID: <slrn9qrppq.10n.a.l.meyers@nomad.consult-meyers.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-ge.switch.ch!news-zh.switch.ch!news.dplanet.ch!not-for-mail
References: <slrn9qpoo2.19o.a.l.meyers@nomad.consult-meyers.com> <slrn9qrnfv.cj.lgb@aztec.eclipse>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9qrppq.10n.a.l.meyers@nomad.consult-meyers.com>
Subject: Re: slrn - random signature file config
Date: Sun, 23 Sep 2001 13:55:06 +0000
From: a.l.meyers@consult-meyers.com (A. L. Meyers)
References: <slrn9qpoo2.19o.a.l.meyers@nomad.consult-meyers.com> <slrn9qrnfv.cj.lgb@aztec.eclipse>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-ge.switch.ch!news-zh.switch.ch!news.dplanet.ch!not-for-mail
Newsgroups: news.software.readers
Organization: Meyers Consulting
Lines: 32
Reply-To: a.l.meyers@consult-meyers.com
NNTP-Posting-Host: dialup-53-59.dplanet.ch
X-Trace: duba04h09-0.dplanet.ch 1001253306 4081 212.35.53.59 (23 Sep 2001 13:55:06 GMT)
X-Complaints-To: usenet@dplanet.ch
NNTP-Posting-Date: 23 Sep 2001 13:55:06 GMT
User-Agent: slrn/0.9.7.1 (Linux)