🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63946

Re: [slrn] function to select article from header window

#63946
From: Arjan Drieman
Date: Sat, 29 Jul 2000 00:00
38 lines
2384 bytes
On Sat, 29 Jul 2000 18:54:50 GMT, Alexander Anderson <cactoss@yahoo.com> wrote:
>On Sat, 29 Jul 2000 18:48:16 GMT, Alexander Anderson <cactoss@yahoo.com> wrote:
>> I was looking for an internal SLRN function to select the article when you
>> are in the header display mode, but the article itself is not showing. This
>> is what Enter key is mapped to, but there does not seem to exist a function
>> to do this operation.
>> I only found "hide_article" (which does the opposite of what I want),
>> "select_group" (which is what i want but for group selection mode).
>
>okay, i got it. this is really done by "hide_article". after experimenting
>with it, it turned out that it's not simply "hide" but toggle b/n hide and
>show. sorry for this post, but slrn internal functions are not documented
>that well..

If the article window is visible but not corresponding to the selected
article, you'll have to call hide_article twice because the first one
will hide the article window ;-)

I'm using art_bob rather than hide_article.  Officially it's to "goto
the beginning of the article" but it does just what I want.

It opens the selected message in the article window, regardless of its
visibility.

Might want something like:

#v+
if (is_article_visible() != 3) call("hide_article")
#v-


Arjan
-- 
begin   LOVE-LETTER-FOR-YOU.TXT.vbs
        I'm a signature virus.  Please copy me to help me spread!
end

Technical Details
Message-ID: <slrn8o6b6n.95.qhpxvr@quack.node0911.a2000.nl>
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: <slrn8o69ov.2515.cactoss@galima.2y.net> <slrn8o6a58.251p.cactoss@galima.2y.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8o6b6n.95.qhpxvr@quack.node0911.a2000.nl>
Subject: Re: [slrn] function to select article from header window
Date: Sat, 29 Jul 2000 00:00:00 +0000
From: qhpxvr@abqr0911.n2000.ay.invalid (Arjan Drieman)
References: <slrn8o69ov.2515.cactoss@galima.2y.net> <slrn8o6a58.251p.cactoss@galima.2y.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: 652228177
X-Complaints-To: abuse@a2000.nl
X-Trace: spectra.a2000.nl 964898010 1429 62.108.9.17 (29 Jul 2000 19:13:30 GMT)
Organization: A2000 Kabeltelevisie en Telecommunicatie
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: duckie@duckie.neep.net
NNTP-Posting-Date: 29 Jul 2000 19:13:30 GMT
Newsgroups: news.software.readers
X-Authors-Homepage: http://duckie.neep.net/