🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #45863

Re: [slrn] mailing a file in slang?

#45863
From: Andrew Lord
Date: Mon, 11 Jan 1999 00:00
34 lines
1817 bytes
On 9 Jan 1999 11:19:10 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On Fri, 08 Jan 1999 17:07:34 GMT, alord@see.reply.to <alord@see.reply.to>
>wrote:
>>How do I write a slrn macro that just posts a named file?
>
>There is no intrinsic macro function that simply posts a file.  You
>can make the `slrn_post_file' function a macro intrinsic by adding the
>code such as:
>
>  static int post_file (char *file)
>  {
>    (void) slrn_post_file (file, NULL, 0);
>  }
>
>and 
>
>  MAKE_INTRINSIC_S("post_file", post_file, SLANG_VOID_TYPE),
>
>to the appropriate places in slrn/src/interp.c.  The slrn_post_file
>function should eventually be broken-up and simplified.  Right now it
>does quite a bit.
>
>--John

Thanks John, but I asked the wrong question ;-( Here is the right one..

How do I write a slrn macro that just emails a named file?

-- 
               Andy Lord  mailto:lordy@bigfoot.com
             http://members.tripod.com/~alord/psion/


Technical Details
Message-ID: <916054561.1775.4.nnrp-01.c2d9f016@news.demon.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
References: <915815254.3572.0.nnrp-06.c2d9f016@news.demon.co.uk> <slrn79dh0k.g1.davis@mygir.davis.net>

Show Full Headers
Complete Article Headers
Message-ID: <916054561.1775.4.nnrp-01.c2d9f016@news.demon.co.uk>
Subject: Re: [slrn] mailing a file in slang?
Date: Mon, 11 Jan 1999 00:00:00 +0000
From: lordy@see.reply.to (Andrew Lord)
References: <915815254.3572.0.nnrp-06.c2d9f016@news.demon.co.uk> <slrn79dh0k.g1.davis@mygir.davis.net>
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: 431204537
X-NNTP-Posting-Host: firewall.tertio.com:194.217.240.22
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 916054561 nnrp-01:1775 NO-IDENT firewall.tertio.com:194.217.240.22
Organization: Haphazard
Reply-To: lordy@bigfoot.com
Newsgroups: news.software.readers