🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Felix von Leitner Fri, 21 Jun 1996 00:00
Patch to slrn0.8.8.2 that displays a ~ after the last line of an article
#23232
Author: Felix von Leitner
Date: Fri, 21 Jun 1996 00:00
76 lines
2881 bytes
-----BEGIN PGP SIGNED MESSAGE-----

With slrn, there is no easy way to see whether there are a hundred empty
lines or the article actually ends here.  If we have a look at vi or
less, we see the solution to this: print "~" in lines after the
end-of-file.  With slrn this solution gets even better since we can
choose the color.

This is the patch -- if my mind does not wrong me here, someone even
requested this?  Well, if not, *I* request it ;)

Now you can say in your .slrnrc:

  color tilde lightgray black

Felix

PS: This comes so naturally for me that when I started slrn to see
whether it was actually displaying tildes, I didn't see them ;)


- --- slrn/src/art.c.orig	Wed Jun 12 03:12:56 1996
+++ slrn/src/art.c	Fri Jun 21 03:40:53 1996
@@ -6013,6 +6014,8 @@
 	       }
 	     else
 	       {
+		  slrn_set_color (TILDE_COLOR);
+		  SLsmg_write_string("~");
 		  row++;
 	       }
 	     
- --- slrn/src/slrn.h.orig	Fri Jun 21 03:45:12 1996
+++ slrn/src/slrn.h	Fri Jun 21 03:39:08 1996
@@ -39,6 +39,7 @@
 #define MENU_PRESS_COLOR 13
 #define HEADER_NUMBER_COLOR 14
 #define GROUP_DESCR_COLOR 15
+#define TILDE_COLOR	16
 /* Colors below here are inverse video on B+W terminals. */
 #define STATUS_COLOR	20
 #define MENU_COLOR	21
- --- slrn/src/startup.c.orig	Fri Jun 21 03:44:30 1996
+++ slrn/src/startup.c	Fri Jun 21 03:43:55 1996
@@ -405,6 +405,7 @@
      {"header_number", HEADER_NUMBER_COLOR},
      {"high_score", HIGH_SCORE_COLOR},
      {"description", GROUP_DESCR_COLOR},
+     {"tilde", TILDE_COLOR},
      {NULL, -1}
 };
 
@@ -642,6 +643,8 @@
    SLtt_set_mono (MENU_PRESS_COLOR, NULL, 0);
    SLtt_set_color (GROUP_DESCR_COLOR, NULL, "magenta", white);
    SLtt_set_mono (GROUP_DESCR_COLOR, NULL, 0);
+   SLtt_set_color (TILDE_COLOR, NULL, black, white);
+   SLtt_set_mono (TILDE_COLOR, NULL, 0);
    SLtt_set_mono (HIGH_SCORE_COLOR, NULL, SLTT_BOLD_MASK);
    
    

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

iQCVAwUBMcoCTh/Da1Yoy+f1AQHyRwP/cJPu5SiSSj7i6rSuNSy1VLVnKOgeinJw
39jujwGuvSp0gO/665zkHMjtK8qIyIZFNx+lfM2l90mTggiLtPueRAdX1R+U2Mh8
IVY2jHoFS7AZRENvjUTiKTS3Q6AX/AmF0Qs6Td2cce5LyimDoeDZ5f9Tsx+WuqOU
nXDbFqnOoyw=
=EWPa
-----END PGP SIGNATURE-----


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads