🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62967

Re: slrn - few questions

#62967
From: J.B. Nicholson-Owens
Date: Mon, 03 Jul 2000 00:00
22 lines
1751 bytes
Goran wrote:
>    I have tried adding a few calls to set_input_chars() before the call
>    to decode but it doesn't work. Any ideas ?

You need to anticipate all the questions slrn might ask.  If I recall
correctly, it'll ask different questions depending on whether there are any
articles numerically tagged and whether the current article is at a
collapsed thread.  In my opinion, the decode and save intrinsics are aimed
at interactive use only; they're kind of a pain to use programmatically (but
it can be done if you look at the slrnfun.txt docs on responding to multiple
questions).  It might be more future-proof and straightforward if you opened
an append+create handle to your output file, looped over each of the
numerically tagged articles saving the article as you went.

> 2. slrn has subject_search_forward and subject_search_backward functions
>    but using them is somewhat awkward IMHO. Is there anything like
>    subject_search_forward_next or something similar ?

I don't know what you expect "subject_search_forward_next" or something
similar to do.

Technical Details
Message-ID: <slrn8m0nsd.7h.jbn@forestfield.org>
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: <slrn8m0k2g.j5r.goran@europa1.hermes.si>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8m0nsd.7h.jbn@forestfield.org>
Subject: Re: slrn - few questions
Date: Mon, 03 Jul 2000 00:00:00 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn8m0k2g.j5r.goran@europa1.hermes.si>
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: 641758052
X-Trace: fu-berlin.de 962617232 1168493 208.216.67.173 (16 [35848])
Organization: Forest Field
User-Agent: slrn/0.9.6.2 (Unix)
Newsgroups: news.software.readers