🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57611

Re: slrn - help with macros

#57611
From: Sylvan Butler
Date: Tue, 01 Feb 2000 00:00
31 lines
2170 bytes
On 1 Feb 2000 16:59:58 GMT, Pete Young <pete@alien.bt.co.uk> wrote:
>I'm trying to write a macro which will let me put a different set of
>headers into postings to internal newsgroups, and I've come up against
>a problem with 'hostname' . 

In slrn 0.9.5.5 hostname became settable.  I use the following:
        set_string_variable ("hostname",host);

I also use the following patch to allow the same re. posting_host:

--- slrn/src/startup.c  Sun May 16 23:27:02 1999
+++ slrn-mine/src/startup.c Mon May 17 13:38:13 1999
@@ -453,6 +453,7 @@
      {"username", &Slrn_User_Info.username},
      {"replyto", &Slrn_User_Info.replyto},
      {"organization", &Slrn_User_Info.org},
+     {"posting_host", &Slrn_User_Info.posting_host},
      {"followup", &Slrn_User_Info.followup_string},   /* obsolete */
      {"followup_string", &Slrn_User_Info.followup_string},
      {"reply_string", &Slrn_User_Info.reply_string},


sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Technical Details
Message-ID: <slrn89erj0.i02.nospam+_no_Zs__0001@hpb13799z.zboi.hpz.com.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.mbox.zip!not-for-mail
References: <8773ee$q8c$1@pheidippides.axion.bt.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn89erj0.i02.nospam+_no_Zs__0001@hpb13799z.zboi.hpz.com.invalid>
Subject: Re: slrn - help with macros
Date: Tue, 01 Feb 2000 00:00:00 +0000
From: nospam+_no_Zs__0001@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler)
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: 580572871
X-Original-NNTP-Posting-Host: hpb13799.boi.hp.com
Mail-Copies-To: never
X-Complaints-To: usenet@news.boi.hp.com
X-Trace: hpbs1500.boi.hp.com 949448977 25721 15.98.137.41 (1 Feb 2000 23:49:37 GMT)
Organization: Hewlett-Packard
User-Agent: slrn/0.9.5.7 (Linux)
NNTP-Posting-Date: 1 Feb 2000 23:49:37 GMT
Newsgroups: news.software.readers