🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #69457

[slrn] thread_size() & single article

#69457
From: cedric
Date: Wed, 20 Dec 2000 18:48
17 lines
1453 bytes
Hello!

I would like to be able to know if the current selected message in slrn
is a single article (eg with no response).

Unfortunately, the slang thread_size() function applies both to a thread
and a subthread. Then testing if thread_size() == 1 cannot help, for it
may indicate a single article or the last article of a (sub)thread.

The function is_thread_collapsed() is also no use as an article is
considered an uncollapsed thread...

Any suggestion?

Thanks,
           Cedric.
Technical Details
Message-ID: <0ruq19.1q3.ln@127.0.0.1>
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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!proxad.net!feeder2.proxad.net!nnrp4.proxad.net.POSTED!cedricduval

Show Full Headers
Complete Article Headers
Message-ID: <0ruq19.1q3.ln@127.0.0.1>
Subject: [slrn] thread_size() & single article
Date: Wed, 20 Dec 2000 18:48:45 GMT
From: cedricduval@free.fr (cedric)
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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!proxad.net!feeder2.proxad.net!nnrp4.proxad.net.POSTED!cedricduval
Newsgroups: news.software.readers
Reply-To: cedricduval@free.fr
User-Agent: slrn/0.9.6.2 (Linux)
Lines: 16
NNTP-Posting-Host: 213.228.50.170
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp4.proxad.net 977338125 213.228.50.170 (Wed, 20 Dec 2000 19:48:45 CET)
NNTP-Posting-Date: Wed, 20 Dec 2000 19:48:45 CET
Organization: Guest of ProXad - France