Article View: news.software.readers
Article #23792Tilde patch for slrn0.8.8.3
From: Felix von Leitner
Date: Sat, 06 Jul 1996 00:00
Date: Sat, 06 Jul 1996 00:00
70 lines
2602 bytes
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-----
Technical Details
Message-ID:
<slrn4ttu5a.2h5.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-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn4ttu5a.2h5.leitner@xorn.prz.tu-berlin.de> Subject: Tilde patch for slrn0.8.8.3 Date: Sat, 06 Jul 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: 164059674 Organization: Miscatonic University Reply-to: leitner@prz.tu-berlin.de Newsgroups: news.software.readers