🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22198

Re: SLRN: observations and questions ...

#22198
From: Olly Betts
Date: Wed, 29 May 1996 00:00
31 lines
1779 bytes
In article <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>, Conrad C. Nobili wrote:
>It would be nice to have some indicator of the number of lines below the
>bottom of a message screen.

Here's a patch I did a while ago.  It isn't exactly what you're asking for
-- what it does is to display "(All)" instead of "(Top)" if the whole
message is visible, so "(All)" or "(Bot)" now means you're at the bottom of
the message (and the group list, since that uses this code too).  This would
probably be the place to patch in a "number of lines to go" count.

The patch is for an older version, but applies cleanly to 0.8.8.2.

--- misc.c~	Wed May  8 10:53:09 1996
+++ misc.c	Thu May  9 12:14:17 1996
@@ -161,7 +161,7 @@
    SLsmg_printf ("-- %d/%d", n, nmax);
    if (n == 1)
      {
-	SLsmg_printf (" (Top)");
+	SLsmg_write_string ( (n + width > nmax) ? "  (All)" : "  (Top)" );
      }
    else if (n + width > nmax) SLsmg_write_string("  (Bot)");
    else SLsmg_printf("  (%d%%)", ((n + width - 1) * 100) / nmax);

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


Technical Details
Message-ID: <4oh4m1$n22@sunforest.mantis.co.uk>
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: <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <4oh4m1$n22@sunforest.mantis.co.uk>
Subject: Re: SLRN: observations and questions ...
Date: Wed, 29 May 1996 00:00:00 +0000
From: olly@mantis.co.uk (Olly Betts)
References: <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>
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: 157316134
Content-type: text/plain; charset=iso-8859-1
Organization: Mantis Consultants Ltd, Cambridge. UK.
Mime-version: 1.0
Newsgroups: news.software.readers