Article View: news.software.readers
Article #34722Re: Pre-post hook in slrn?
From: asf... Lloyd Zusman
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
36 lines
2063 bytes
2063 bytes
On 30 Jun 1997 03:10:27 GMT, John E. Davis <da...@space.mit.edu> wrote:
> On 29 Jun 1997 14:44:41 GMT, Lloyd Zusman <asf...@asfast.com>
> wrote:
> >Will there be a way from within 'post_filter_hook' to tell slrn not to
> >post the article? One method I can think of would be to use the
> >return value from 'post_filter_hook' to control this. Or perhaps the
> >'error' routine could be used ... ???
>
> Currently, slrn has an intrinsic function called `set_input_string'
> that may be used to provide a response for prompts requesting multiple
> character input (See README.macros). However, this does not work when
> slrn prompts for a single character such as `Y' or `N' from a yes/no
> prompt. For that reason, slrn 0.9.4.2 will provide the intrinsic
> function `set_input_chars' that may be used for such prompts.
>
> After slrn calls the filter hook, it will prompt for a single
> character requestion whether or not to post, postpone, etc... You can
> provide the answer from the hook by calling
>
> set_input_chars ("n");
>
> before returning from the hook.
Yep ... that'll do it. Thanks ... I'm really looking forward to
0.9.4.2 now!
How much longer before it comes out?
--
Lloyd Zusman
l...@asfast.com
Technical Details
Message-ID:
<slrn5recpv.i7r.asfast@ljz.asfast.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mailReferences:
<slrn5r0s5r.ocr.asfast@ljz.asfast.net> <slrn5r1abk.bv5.lahvak+n@math.mps.ohio-state.edu> <slrn5rbunf.3rb.davis@mygir.davis.net> <slrn5rct13.j1.asfast@ljz.asfast.net> <slrn5rddnf.40l.davis@mygir.davis.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn5recpv.i7r.asfast@ljz.asfast.net> Subject: Re: Pre-post hook in slrn? Date: Mon, 30 Jun 1997 00:00:00 +0000 From: asf...@asfast.com (Lloyd Zusman) References: <slrn5r0s5r.ocr.asfast@ljz.asfast.net> <slrn5r1abk.bv5.lahvak+n@math.mps.ohio-state.edu> <slrn5rbunf.3rb.davis@mygir.davis.net> <slrn5rct13.j1.asfast@ljz.asfast.net> <slrn5rddnf.40l.davis@mygir.davis.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail X-Deja-AN: 253543716 X-Newsgroup: news.software.readers Organization: As Fast Reply-To: l...@asfast.com (Lloyd Zusman) Newsgroups: news.software.readers,alt.lang.s-lang