Thread View: news.software.readers
5 messages
5 total messages
Started by alord
Fri, 08 Jan 1999 00:00
[slrn] mailing a file in slang?
Author: alord
Date: Fri, 08 Jan 1999 00:00
Date: Fri, 08 Jan 1999 00:00
13 lines
939 bytes
939 bytes
How do I write a slrn macro that just posts a named file? The "post" and "post_postponed" Internal functions do too much (dialogs etc) is there an slrn intrinsic that just posts a file? Or should I send it by piping it to telnet or whatever slrn - NT4.0 Andy L.
Re: [slrn] mailing a file in slang?
Author: John E. Davis
Date: Sat, 09 Jan 1999 00:00
Date: Sat, 09 Jan 1999 00:00
24 lines
1434 bytes
1434 bytes
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
Re: [slrn] mailing a file in slang?
Author: Dawn Owens-Nicholson
Date: Sat, 09 Jan 1999 00:00
Date: Sat, 09 Jan 1999 00:00
25 lines
1679 bytes
1679 bytes
[You tell people to "see.reply.to" and don't provide a Reply-To: header. If you just want to avoid spam, please consider telling your ISP to get an MTA that can filter (http://www.postfix.org/ looks like an easy to install and configure program).] alord@see.reply.to wrote: > How do I write a slrn macro that just posts a named file? I recommend against using Usenet for sharing many files. FTP is far more efficient and easy to set up. There are programs that can post to Usenet splitting and encoding the parts. In my opinion, slrn wasn't designed to serve as a substitute for these programs. > The "post" and "post_postponed" Internal functions do too much (dialogs etc) They are avoidable if you answer them ahead of time, check out set_input_char() and set_input_string() in the macro documentation slrn/doc/README.macros. I doubt slrn was meant to take the place of posting programs. > is there an slrn intrinsic that just posts a file? Looking at the documentation, I don't see it.
Re: [slrn] mailing a file in slang?
Author: Andrew Lord
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
58 lines
2925 bytes
2925 bytes
On 9 Jan 1999 02:06:19 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>[You tell people to "see.reply.to" and don't provide a Reply-To: header. If
> you just want to avoid spam, please consider telling your ISP to get an MTA
> that can filter (http://www.postfix.org/ looks like an easy to install and
> configure program).]
That was an error in my slrn.sl. But if I wanted to avoid spam I would just
mangle my email like everyone else does (outside of nntp related groups).
This is quicker than my having to tell the administrator at work to call
up the company ISP. <running ... ducking>
>
>alord@see.reply.to wrote:
>> How do I write a slrn macro that just posts a named file?
>
>I recommend against using Usenet for sharing many files.
Huh?
> FTP is far more
>efficient and easy to set up. There are programs that can post to Usenet
>splitting and encoding the parts. In my opinion, slrn wasn't designed to
>serve as a substitute for these programs.
I should have used the word "email" rather than "post". I think you have
wrongly asserted my
intention. I dont mean I want to get slrn to post large files for sharing.
I could be in the middle of writing a macro that manipulated an
article as a text file and simply wanted to know how to post it?
Whats wrong with that?
But actually I want to get slrn to email replies via an anonymous remailer.
>
>> The "post" and "post_postponed" Internal functions do too much (dialogs etc)
>
>They are avoidable if you answer them ahead of time, check out
>set_input_char() and set_input_string() in the macro documentation
>slrn/doc/README.macros.
**Thankyou for the information. I'll have a look to see if it helps me out.**
>I doubt slrn was meant to take the place of posting
>programs.
I dont want a "posting" program, whatever that is.
>
>> is there an slrn intrinsic that just posts a file?
>
>Looking at the documentation, I don't see it.
--
Andy Lord mailto:lordy@bigfoot.com
http://members.tripod.com/~alord/psion/
Re: [slrn] mailing a file in slang?
Author: Andrew Lord
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
34 lines
1817 bytes
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/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads