🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #42339

[slrn] How do I post a file from slang?

#42339
From: Daniel Price
Date: Sat, 25 Jul 1998 00:00
18 lines
1247 bytes
Let's say I have an s-lang macro that is supposed to post a pre-prepared
file, that includes proper headers, etc.  How can I do this from s-lang?
Do we need a post_file() command to be added to slrn's builtins for this?

As a way of explaining why this might be useful: One of our users is
adamant about having a cross-posting feature, a la tin.  It seems pretty
easy to do-- grab the article, save it, mess with it a bit, either via
s-lang or a perl script, then post the resultant file.  It's all easy 
but this one bit :)  I suppose I could just pipe it out to inews, but
that seems inelegant.  Any ideas?  Sorry if this has been covered....
Thanks,

        -dp

-- 
Daniel Price -- dp@cs.brown.edu

Technical Details
Message-ID: <6pc2j8$i44@cocoa.brown.edu>
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

Show Full Headers
Complete Article Headers
Message-ID: <6pc2j8$i44@cocoa.brown.edu>
Subject: [slrn] How do I post a file from slang?
Date: Sat, 25 Jul 1998 00:00:00 +0000
From: dp@cs.brown.edu (Daniel Price)
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: 374752351
Organization: Brown University
Reply-To: dp@cs.brown.edu
Newsgroups: news.software.readers