🚀 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 Sat, 06 Jul 1996 00:00
Tilde patch for slrn0.8.8.3
#23792
Author: Felix von Leitner
Date: Sat, 06 Jul 1996 00:00
70 lines
2602 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Hi folks,

this patch is for slrn0.8.8.3 and it will add a tilde ("~") after the
last line in the pager.  You can actually configure the color for the
tilde.  This is the way less and vi (plus clones) handle showing the
last page of a file and I depend on this heavily.

To set the color add a line like the following to your .slrnrc:

  color tilde lightgray black

Felix [slrn rules!]

- --- 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

iQCVAwUBMd74qR/Da1Yoy+f1AQH5nAP9HZtx4qYNaT1xZlK2yeOmOiPlYQ922s3N
HY3WKG+kJ25rQka2f1OdVsoKiPfo4htC5AFvB8KSvRsbbrEPQGmaiujL2CZRWeL7
7Gll0ZoxMPJ6ftZaJEJsXOP2ING5XMtripLPo808mZVFcmK+gpWZNzmm44DXsGb8
cvl+put/pBg=
=WOSi
-----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