Article View: news.software.readers
Article #23232Patch to slrn0.8.8.2 that displays a ~ after the last line of an article
From: Felix von Leitner
Date: Fri, 21 Jun 1996 00:00
Date: Fri, 21 Jun 1996 00:00
76 lines
2881 bytes
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-----
Technical Details
Message-ID:
<slrn4sk0ir.hh.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: <slrn4sk0ir.hh.leitner@xorn.prz.tu-berlin.de> Subject: Patch to slrn0.8.8.2 that displays a ~ after the last line of an article Date: Fri, 21 Jun 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: 161302706 Organization: Miscatonic University Reply-to: leitner@prz.tu-berlin.de Newsgroups: news.software.readers