🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22212

Alt.fan.warlord and Alt.ascii-art patch for slrn0.8.8.2

#22212
From: Felix von Leitner
Date: Wed, 29 May 1996 00:00
55 lines
2078 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Hi folks,

<a href=mailto:guckes@math.fu-berlin.de>Sven</a> bothered me until I
gave in and made this almost trivial diff to slrn which greatly enhances
the spoiler capabilities of slrn.  What it does is this: When you press
the space bar to uncover the next spoilered section, it puts the first
uncovered line to the head of the screen.  This way you can watch
ascii-art animations and warlorded signatures better ;)

Felix [John: This is a Good Thing, please add it!]


- --- slrn/src/art.c	Fri May 24 17:53:28 1996
+++ slrn/src/art.c.new	Wed May 29 02:02:32 1996
@@ -2360,6 +2360,7 @@
 static void show_spoilers (void)
 {
    Slrn_Article_Line_Type *l = Slrn_Article_Lines;
+   Slrn_Article_Line_Type *l1 = NULL;
    
    do
      {
@@ -2369,6 +2370,7 @@
 	  {
 	     l = l->next;
 	  }
+	l1 = l;
 	/* now un-spoiler until we hit an un-spoiler-ed line */
 	while ((l != NULL) && (l->flags & SPOILER_LINE))
 	  {
@@ -2379,6 +2381,7 @@
    while ((Slrn_Prefix_Arg_Ptr != NULL) && (l != NULL));
    Slrn_Prefix_Arg_Ptr = NULL;
    Slrn_Full_Screen_Update = 1;
+   Current_Line=l1;
 }
 #endif
 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAwUBMauVFR/Da1Yoy+f1AQELXgQAhp9IecChq3MBw/Hay3Ow66I+g3vM2pEH
fTI8FKsDfvBEcfGnM3YdcfqtfA3wQWIqybKVBkdhDAYmfOTHqvgnX4yFa3OnfVuX
qWGOGmySRFfSjQAJ+sICDf70HlQDlIic+0AyP8NvuRaZVJuEetGXZ73D0JTtqHmR
TabRIYwiYmM=
=uCvD
-----END PGP SIGNATURE-----


Technical Details
Message-ID: <slrn4qn58m.cvr.leitner@xorn.prz.tu-berlin.de>
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: <slrn4qn58m.cvr.leitner@xorn.prz.tu-berlin.de>
Subject: Alt.fan.warlord and Alt.ascii-art patch for slrn0.8.8.2
Date: Wed, 29 May 1996 00:00:00 +0000
From: leitner@xorn.prz.tu-berlin.de (Felix von Leitner)
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: 157240816
Organization: PRZ/TU-Berlin
Reply-to: leitner@prz.tu-berlin.de
Newsgroups: news.software.readers