Article View: news.software.readers
Article #61827Re: problem with colours in slrn
From: John E. Davis
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
32 lines
2000 bytes
2000 bytes
On Wed, 24 May 2000 13:36:26 GMT, dickey@herndon4.his.com <dickey@herndon4.his.com>
wrote:
>slrn uses slang, which does not work properly for dtterm and other
>terminals that do not implement back color erase (bce).
The reason that I never noticed this problem with jed and slrn is
because they setup the colors after calling SLsmg_init_smg, whereas
lynx does it the other way around. In other words, jed and slrn work
fine with terminals such as dtterm, but programs such as lynx when
compiled with slang do not. This bug will be corrected in version 1.4.2
(it is a one line patch). Nevertheless, here is a lynx patch that
works around the problem:
#v+
--- LYCurses.c~ Mon Apr 17 06:59:17 2000
+++ LYCurses.c Wed May 24 16:48:11 2000
@@ -759,6 +759,9 @@
SLsmg_Display_Eight_Bit = 191; /* may print ctrl chars otherwise - kw */
scrollok(0,0);
SLsmg_Backspace_Moves = 1;
+#if SLANG_VERSION > 10306
+ SLsmg_touch_screen ();
+#endif
#ifndef VMS
#if defined(REAL_UNIX_SYSTEM) && !defined(__CYGWIN__)
SLtty_set_suspend_state(1);
#v-
--John
Technical Details
Message-ID:
<slrn8iogg5.fmm.davis@aluche.mit.edu>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-mailReferences:
<slrn8iivmv.t11.thomas.stroesslin@mantrasun3.epfl.ch> <slrn8ij2ta.6ram.hezu@tuuri.ling.helsinki.fi> <slrn8ij58a.4ud.ese002@spica.exile.org> <XMsW4.3$Wc2.156@iad-read.news.verio.net> <slrn8illl2.ffh.ese002@spica.exile.org> <uVQW4.51$HD6.1083@iad-read.news.verio.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn8iogg5.fmm.davis@aluche.mit.edu> Subject: Re: problem with colours in slrn Date: Wed, 24 May 2000 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn8iivmv.t11.thomas.stroesslin@mantrasun3.epfl.ch> <slrn8ij2ta.6ram.hezu@tuuri.ling.helsinki.fi> <slrn8ij58a.4ud.ese002@spica.exile.org> <XMsW4.3$Wc2.156@iad-read.news.verio.net> <slrn8illl2.ffh.ese002@spica.exile.org> <uVQW4.51$HD6.1083@iad-read.news.verio.net> 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: 626889356 X-Trace: dreaderd 959201799 10894 18.75.2.45 Organization: Center for Space Research User-Agent: slrn/0.9.6.3 (Linux) Reply-To: davis@space.mit.edu Newsgroups: news.software.readers