🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57618

Re: slrn - help with macros

#57618
From: Thomas Schultz
Date: Tue, 01 Feb 2000 00:00
21 lines
1466 bytes
On 01 February 2000 at 16:59 GMT, Pete Young <pete@alien.bt.co.uk> wrote:

> In my old .slrnrc I had a line
> hostname "alien.bt.co.uk" 
> (to prevent individual machine names escaping)
> which means it cant be set in a macro with set_string_variable() and
> hence will always appear in a From: line.

Since version 0.9.5.5, you can treat "hostname" like any other string
variable. This includes the possibility to set it via
set_string_variable().

> Is there any way around this if I want the From: line to appear
> differently depending on which group I'm posting in?

You also might want to look at make_from_string_hook, which (if
defined) will be called to generate `From' header lines.
-- 
Thomas Schultz <tststs@gmx.de>

Technical Details
Message-ID: <slrn89edug.di.tststs@starflower.tststs.ddns.org>
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!not-for-mail
References: <8773ee$q8c$1@pheidippides.axion.bt.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn89edug.di.tststs@starflower.tststs.ddns.org>
Subject: Re: slrn - help with macros
Date: Tue, 01 Feb 2000 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <8773ee$q8c$1@pheidippides.axion.bt.co.uk>
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!not-for-mail
X-Deja-AN: 580471629
X-Server-Date: 1 Feb 2000 19:48:46 GMT
X-Complaints-To: abuse@cityweb.de
Organization: Pinguin online.
User-Agent: slrn/0.9.6.2+ (Linux)
NNTP-Posting-Date: 1 Feb 2000 19:50:52 GMT
Newsgroups: news.software.readers