🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62947

slrn - few questions

#62947
From: Goran
Date: Mon, 03 Jul 2000 00:00
48 lines
2070 bytes
Hi all,

I'm very happy with slrn but have a few things I can't sort out so I was
wondering if anyone else managed it.

1. Following README.macros I was able to get rid of input prompt when
   decoding articles. However I was not able to get rid of the remaining
   questions (Save to file ... and Decode file ...). There's a hint in
   the above mentioned file :

   For functions that prompt for a single character, such as

   -----------
   Do you really want to quit? [Y]es No

   a similar intrinsic function, set_input_chars, may be used to
   provide the answer.
   -----------

   This works perfectly for say quit command, but I can't get decode command
   to work this way. Here's how I did it :

   define my_decode()
   {
        set_input_string("/home/gorank/News/to_be_decoded");
        call("decode");
   }
   definekey("my_decode", ":", "article");

   I have tried adding a few calls to set_input_chars() before the call
   to decode but it doesn't work. Any ideas ?

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 ?

Thank you in advance.

Regards,
Goran

--

Writing about music is like dancing about architecture.
    -- Frank Zappa

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <slrn8m0k2g.j5r.goran@europa1.hermes.si>
Subject: slrn - few questions
Date: Mon, 03 Jul 2000 00:00:00 +0000
From: goran@orange.net (Goran)
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: 641744195
X-Complaints-To: abuse@siol.net
X-Trace: news.siol.net 962613150 193.77.6.2 (Mon, 03 Jul 2000 10:32:30 MET DST)
Organization: Slovenija OnLine - SiOL
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: gk@orange.net
NNTP-Posting-Date: Mon, 03 Jul 2000 10:32:30 MET DST
Newsgroups: news.software.readers